FS#26299 - [mingw32-*] Use Fedora patches and rebuild mingw32-gcc

Attached to Project: Community Packages
Opened by Sven-Hendrik Haase (Svenstaro) - Thursday, 06 October 2011, 14:17 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 06 October 2011, 22:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Issue 1) We should use Fedora's patches for mingw32-gcc, mingw32-gcc-base and mingw32-runtime for gcc46 compatibility and for making sure that the include order for cross-hosted mingw32 is correct. Currently, we run into an issue compiling Qt due to include order problems. This requires patching the listed packages. See here for more info:
a) http://sourceforge.net/tracker/?func=detail&atid=302435&aid=3011968&group_id=2435
b) https://bugreports.qt.nokia.com//browse/QTBUG-7576

Fedora's patches can be found here: http://pkgs.fedoraproject.org/gitweb/?p=mingw32-gcc.git;a=summary and here: http://pkgs.fedoraproject.org/gitweb/?p=mingw32-runtime.git;a=summary

Issue 2) mingw32-gcc doesn't make currently because you forgot to change the "-1" in the URL to ${_uprel}.

I might make the changes myself but I made this bug report to let you know and have this on the record.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 06 October 2011, 22:27 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 06 October 2011, 16:24 GMT
Also I just notied mingw32-runtime 3.20 doesn't actually build using mingw32-gcc 4.6.1. How did you accomplish this?
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 06 October 2011, 16:27 GMT
I put patched mingw32-gcc and mingw32-gcc-base to [community-testing] for now. We need to fix mingw32-runtime 3.20 still. Looks like no other distro packages that yet.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 06 October 2011, 18:48 GMT
I still can't figure out how to properly build mingw32-runtime 3.20.
Comment by Sergej Pupykin (sergej) - Thursday, 06 October 2011, 21:34 GMT
I made quite ugly fix in runtime, but it should work I think. I am putting it to community-testing now.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 06 October 2011, 22:27 GMT
Yay looks fixed and Qt seems to build now. Closing this.

Loading...