Review Request: cannot compile qt if kderoot path is too long

Wolfgang Rohdewald wolfgang at rohdewald.de
Tue Feb 15 14:31:35 CET 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6483/
-----------------------------------------------------------

(Updated Feb. 15, 2011, 1:31 p.m.)


Review request for kde-windows.


Changes
-------

New patch: Only change qt compilation. If kderoot is long and the useShortPathes is not yet set, set it and log a warning about it.


Summary (updated)
-------

On windows, gcc/g++ only take a maximum of 8192 chars for command line arguments. If they get more they will not complain but strange things will happen like compiler segfaulting or gcc misinterpreting the arguments at around position 8192. I did not report this as a gcc bug, maybe somebody else already is registered wherever that can be done. I was using mingw4.

So emerge.py now first checks - it allows a maximum of 10 chars like in c:\kderoot. This results in command line lengths up to around 7700 (maybe more, this is what I saw).

I was using kderootsvn which makes gcc die when compiling c:\kderootsvn\download\svn-src\qt\src\3rdparty\sqlite\sqlite3.c, the command line having a length of 8214


Diffs (updated)
-----

  /trunk/kdesupport/emerge/portage/libs/qt/qt-4.7.1.20101224.py 1220833 

Diff: http://svn.reviewboard.kde.org/r/6483/diff


Testing (updated)
-------

qt compiles with useShortPathes and a long kderoot


Thanks,

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20110215/e209e072/attachment.htm 


More information about the Kde-windows mailing list