ghostscript failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=127961545 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix ghostscript 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, ghostscript will be orphaned. Before branching of Fedora 43, ghostscript 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 2069247 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2069248 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2069249 [details] state.log
Apparantly, ghostscript was exempt frm the gcc 15 pretesting, or this would have been caught earlier. I Tried fixing this the other day but gave up after a myriad of patches. ghostscript's codebase mixes int and bool in many places, has obsolete compariosn like >= 0 for some bool values which were a problem before (but not an error). I also tried forcing an earlier C standard, but some part of the build process does not seem to pick up the flags. So far so bad.
I'm on the way to try migrating the code - the branch is here https://src.fedoraproject.org/fork/zdohnal/rpms/ghostscript/tree/gcc15-std23 . If I don't finish that this week, I'll merge Yaakov's PR.
The FTBFS blocks flatpaks, workaround PR merged https://src.fedoraproject.org/rpms/ghostscript/c/02f4573 .
In stable for F42 and F43 - https://bodhi.fedoraproject.org/updates/FEDORA-2025-2531a16517 and https://bodhi.fedoraproject.org/updates/FEDORA-2025-03b50c29d0