Potential failures in the upcoming mass rebuild
There are less than six weeks until the Fedora 42 mass rebuild. While mass rebuilds inevitably result in some breakage, the following issues appear likely to be common causes of FTBFS:
GCC 15
While not yet announced as a change for Fedora 42, each winter mass rebuild is immediately preceded by a new major (prerelease) version of GCC. (I might still be recovering from GCC 14 which coincided with the branching of RHEL 10.) Each major GCC version ends up introducing some strictness which results in compile errors in existing (particularly older) code. Hopefully we’ll be hearing more from the Tools team about what to expect this time, but in the interim there is a WIP list of major changes.
Automake 1.17
Newly introduced in rawhide just yesterday, this is the first major release in more than six years. The upstream release announcement does not indicate any major incompatibilities, but I have already seen one failure in a package which tried to make now-outdated assumption automake version numbers, and there are likely to be more such changes needed.
Setuptools 74
So far, the major incompatible change here is that the long-deprecated setup.py test
is no longer supported, which will break dozens of packages.
The Python SIG has already filed bugs for at least some of these. If you haven’t already,
now is the time to fix your Python packages by calling the tests directly.
CMake 3.31
Unfortunately, the latest cmake has caused some issues in Qt/KDE land by breaking builds involving QML.
Also, there was a regression with the %ctest
macro and the double-hyphen separator before short arguments (e.g. %ctest -- -E foo
) but that should now be fixed.
glibc 2.41
This may not affect that many packages, but the introduction of struct sched_attr
and userspace functions for the sched_getattr
and sched_setattr
syscalls
(upstream commit) has caused conflicts with code which had been
providing their own such wrappers. The “proper” way to handle this is to guard these based on configuration tests, but for those that do not do so,
!__GLIBC_PREREQ(2,41)
will only help once 2.41 is released. In the meantime, workarounds may be necessary
(e.g. here and here).
There will likely be more FTBFS themes to emerge in the coming weeks, but it’s not too early to fix your packages for any of the above, and to check for any other issues rebuilding your package in rawhide, particularly if you haven’t rebuilt in a while.