qt failed to build from source in Fedora rawhide/f30 https://koji.fedoraproject.org/koji/taskinfo?taskID=32603145 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild 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: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1533805 [details] build.log file build.log too big, will only attach last 1024 bytes
Created attachment 1533806 [details] root.log file root.log too big, will only attach last 1024 bytes
Created attachment 1533807 [details] state.log
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: https://github.com/qt/qtbase/commit/c35a3f519007af44c3b364b9af86f6a336f6411b 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... https://kojipkgs.fedoraproject.org//work/tasks/6937/33086937/build.log
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.
%changelog * Thu Feb 28 2019 Rex Dieter <rdieter> - 1:4.8.7-46 - backport qforeach.patch from qt5 - -no-javascript-jit on f30 to workaround gcc9 FTBFS for now added temporary -no-javascript-jit workaround until we have something better.
A build was successfull: qt-4.8.7-46.fc30 [1]. Closing the bug. [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1217621