sharutils failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128146835 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix sharutils at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, sharutils will be orphaned. Before branching of Fedora 43, sharutils will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2072549 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2072550 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2072551 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
From the build log: gcc -DHAVE_CONFIG_H -I. -I.. -I. -Wno-format-contains-nul -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-format-contains-nul -c -o libopts_a-libopts.o `test -f 'libopts.c' || echo './'`libopts.c In file included from autoopts/project.h:30, from libopts.c:2: ./compat/compat.h:188:19: error: cannot use keyword ‘false’ as enumeration constant 188 | typedef enum { false = 0, true = 1 } _Bool; | ^~~~~ ./compat/compat.h:188:19: note: ‘false’ is a keyword with ‘-std=c23’ onwards ./compat/compat.h:188:41: error: expected ‘;’, identifier or ‘(’ before ‘_Bool’ 188 | typedef enum { false = 0, true = 1 } _Bool; | ^~~~~ This is triggered by a move to GCC 15 which defaults to ISO C23 which added false as keyword. Keywords cannot be used in enumeration definitions.
FEDORA-2025-3a8c1bc840 (sharutils-4.15.2-29.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-3a8c1bc840
FEDORA-2025-3a8c1bc840 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3a8c1bc840` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3a8c1bc840 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-3a8c1bc840 (sharutils-4.15.2-29.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.