Bug 2340220 - ghostscript: FTBFS in Fedora rawhide/f42
Summary: ghostscript: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 19:44 UTC by Fedora Release Engineering
Modified: 2025-02-12 07:19 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-12 07:19:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 19:44 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 19:44 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2025-01-22 19:44 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources ghostscript pull-request 36 0 None None None 2025-02-11 14:41:15 UTC

Description Fedora Release Engineering 2025-01-22 19:44:33 UTC
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/

Comment 1 Fedora Release Engineering 2025-01-22 19:44:36 UTC
Created attachment 2069247 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 19:44:37 UTC
Created attachment 2069248 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 19:44:39 UTC
Created attachment 2069249 [details]
state.log

Comment 4 Michael J Gruber 2025-01-22 20:33:34 UTC
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.

Comment 5 Zdenek Dohnal 2025-02-11 15:02:15 UTC
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.

Comment 6 Zdenek Dohnal 2025-02-11 17:21:56 UTC
The FTBFS blocks flatpaks, workaround PR merged https://src.fedoraproject.org/rpms/ghostscript/c/02f4573 .


Note You need to log in before you can comment on or make changes to this bug.