Bug 2336030

Summary: actor-framework fails to build with GCC 15 ("error: 'value' is not a member of 'caf::detail::tl_is_distinct<List>' [-Wtemplate-body]")
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: actor-frameworkAssignee: Felix Wang <topazus>
Status: CLOSED EOL QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: topazus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-08 16:09:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2333037    

Description Dave Malcolm 2025-01-06 22:46:32 UTC
I'm experimentally rebuilding rawhide with the not-yet-released GCC 15 to see if anything breaks, and to help write the porting guide.  See https://fedoraproject.org/wiki/User:Dmalcolm/gcc-15

My test build with GCC 15 failed:
https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-15-smoketest-3.failed/build/8476063/

whereas my test build with GCC 14 succeeded:
https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-15-smoketest-3.failed.checker/build/8477622/

Looking at the failure logs e.g.
https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-15-smoketest-3.failed/fedora-rawhide-x86_64/08476063-actor-framework/builder-live.log.gz
I see:

build/actor-framework-1.0.1/libcaf_core/caf/abstract_mailbox.cpp
In file included from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/detail/type_traits.hpp:11,
                 from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/detail/append_hex.hpp:8,
                 from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/intrusive_ptr.hpp:7,
                 from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/actor_control_block.hpp:11,
                 from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/mailbox_element.hpp:7,
                 from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/abstract_mailbox.hpp:10,
                 from /builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/abstract_mailbox.cpp:5:
/builddir/build/BUILD/actor-framework-1.0.1-build/actor-framework-1.0.1/libcaf_core/caf/detail/type_list.hpp:354:55: error: ‘value’ is not a member of ‘caf::detail::tl_is_distinct<List>’ [-Wtemplate-body]
  354 |   static constexpr bool value = tl_is_distinct<List>::value;
      |                                                       ^~~~~

I don't yet know if this is a bug in the package, or in GCC 15, but filing here for now.

Reproducible: Always

Comment 1 Dave Malcolm 2025-01-07 20:08:28 UTC
ppalka mentioned to me in chat:

> error looks like correct/true positive to me:
> https://github.com/actor-framework/actor-framework/blob/1.0.1/libcaf_core/caf/detail/type_list.hpp#L354
> unintentional self referential definition of value

Comment 2 Aoife Moloney 2025-02-26 13:21:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 3 Fedora Release Engineering 2026-05-06 12:01:49 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2026-06-08 16:09:01 UTC
Fedora Linux 42 entered end-of-life (EOL) status on 2026-05-27.

Fedora Linux 42 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.