qt failed to build from source in Fedora rawhide/f30
For details on the mass rebuild see:
Please fix qt 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,
qt will be orphaned. Before branching of Fedora 31,
qt will be retired, if it still fails to build.
For more details on the FTBFS policy, please visit:
Created attachment 1533805 [details]
file build.log too big, will only attach last 1024 bytes
Created attachment 1533806 [details]
file root.log too big, will only attach last 1024 bytes
Created attachment 1533807 [details]
Problem is caused by a longstanding gcc bug which qt took advantage of which was finally fixed in gcc 9.
Relevant patch for qt 5:
Which I adapted to qt 4 (but have not committed).
Qt has other build problems though...
it should be fixed in qt-4.8.7-45
I ran into the same errors with some missing headers and a bunch of ...has no member named...
Please also review the pull request for the needed patch from comment 4 before doing another build or Q_FOREACH will remain broken.
Pull request submitted now that pagure is back up.
* Thu Feb 28 2019 Rex Dieter <firstname.lastname@example.org> - 1:4.8.7-46
- backport qforeach.patch from qt5
A build was successfull: qt-4.8.7-46.fc30 .
Closing the bug.