Fedora Account System
Red Hat Associate
Red Hat Customer
swift-lang fails to build with Python 3.15.0b1. In file included from /builddir/build/BUILD/swift-lang-6.3.2-build/cmake/Source/cmFileCommand.cxx:8: /usr/include/c++/16/cmath: In instantiation of ‘_Tp std::__detail::__riemann_zeta_glob(_Tp) [with _Tp = float]’: /usr/include/c++/16/tr1/riemann_zeta.tcc:319:39: required from ‘_Tp std::__detail::__riemann_zeta(_Tp) [with _Tp = float]’ 319 | return __riemann_zeta_glob(__s); | ~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/16/bits/specfun.h:1022:43: required from here 1022 | { return __detail::__riemann_zeta<float>(__s); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/16/tr1/riemann_zeta.tcc:166:42: in ‘constexpr’ expansion of ‘std::log((float)10)’ 166 | * std::log(_Tp(10)) - _Tp(1); | ~~~~~~~~^~~~~~~~~ /usr/include/c++/16/cmath:334:26: internal compiler error: Segmentation fault 334 | { return __builtin_logf(__x); } | ~~~~~~~~~~~~~~^~~~~ https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15-b1/fedora-rawhide-x86_64/10515874-swift-lang/ For all our attempts to build swift-lang with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15-b1/package/swift-lang/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15-b1/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
FEDORA-2026-def6fd60c7 (swift-lang-6.3.2-4.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-def6fd60c7
FEDORA-2026-def6fd60c7 (swift-lang-6.3.2-4.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.