apt failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=127932621 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix apt 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, apt will be orphaned. Before branching of Fedora 43, apt 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 2068276 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2068277 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2068278 [details] state.log
*** Bug 2339505 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 42. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2025-03-19). A week before the mass branching of Fedora 43 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 41 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-43/f-43-key-tasks.html
From build.log: /usr/bin/g++ -DAPT_DOMAIN=\"libapt-pkg6.0\" -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/builddir/build/BUILD/apt-2.9.8-build/apt-2.9.8/redhat-linux-build/include -I/builddir/build/BUILD/apt-2.9.8-build/apt-2.9.8/redhat-linux-build/include/apt-pkg -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/contrib/strutl.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/contrib/strutl.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/contrib/strutl.cc.o -c /builddir/build/BUILD/apt-2.9.8-build/apt-2.9.8/apt-pkg/contrib/strutl.cc /builddir/build/BUILD/apt-2.9.8-build/apt-2.9.8/apt-pkg/contrib/strutl.cc: In function ‘std::string Base64Encode(const std::string&)’: /builddir/build/BUILD/apt-2.9.8-build/apt-2.9.8/apt-pkg/contrib/strutl.cc:597:7: error: ‘uint8_t’ was not declared in this scope 597 | uint8_t Bits[3] = {0,0,0}; | ^~~~~~~ /builddir/build/BUILD/apt-2.9.8-build/apt-2.9.8/apt-pkg/contrib/strutl.cc:52:8: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 51 | #include <apti18n.h> +++ |+#include <cstdint> 52 | /*}}}*/ A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/19471332>. This failure is probably triggered by upgrading GCC from 14 to 15.
FEDORA-2026-f3dc285ebc (apt-3.1.15-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3dc285ebc
FEDORA-2026-f3dc285ebc has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f3dc285ebc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3dc285ebc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-1c47e433df has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-1c47e433df` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1c47e433df See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-1c47e433df (apt-3.1.15-2.fc43 and python-apt-3.1.0-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.