[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy-sysroot: Error compiling qt5.11.2 on windows
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2018-10-22 17:26:02
Message-ID: 0BDD1617-8014-46D1-9F44-02312243BC06 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Just to follow up, this problem didn't arise when I moved my sysroot dir from:

C:\Users\patrick\Desktop\dev\vendor\sysroot-win32

To:

C:\dev\vendor\sysroot-win32

Geeze...

> On Oct 16, 2018, at 9:43 PM, Patrick Stinson <patrickkidd@gmail.com> wrote:
> 
> Looks like this has something to do with a ridiculously low MAX_PATH limitation to \
> the number of chars allowed in a file path which is compiled into cl.exe: 
> https://github.com/fpoussin/Qt5-MSVC-Static/issues/6 \
> <https://github.com/fpoussin/Qt5-MSVC-Static/issues/6> 
> There is a similarly related bug report here:
> 
> https://bugreports.qt.io/browse/QTBUG-66652 \
> <https://bugreports.qt.io/browse/QTBUG-66652> 
> What a bummer...
> 
> > On Oct 16, 2018, at 9:21 PM, Patrick Stinson <patrickkidd@gmail.com \
> > <mailto:patrickkidd@gmail.com>> wrote: 
> > Anyone else get the following compile error using pyqtdeploy-sysroot on Windows \
> > with VS 2015 (14.0) dev console? The error appears to be in the 3rdparty lib \
> > "angle" included in qtbase. 
> > ===============================================
> > 
> > cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings \
> > -Zc:throwingNew -O2 -MD -Oy- -Gy -GS -Gm- -EHsc -w44456 -w44457 -w44458 -W4 \
> > -wd4100 -wd4127 -wd4189 -wd4239 -wd4244 -wd4245 -wd4267 -wd4275 -wd4512 -wd4702 \
> > -wd4996 -wd4480 -DUNICODE -D_UNICODE -DWIN32 -D_WINDOWS -D_UNICODE \
> > -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DWIN32_LEAN_AND_MEAN=1 \
> > -DANGLE_ENABLE_D3D11 -DANGLE_DEFAULT_D3D11=1 -DNDEBUG \
> > -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DLIBGLESV2_EXPORT_H_ -DANGLE_EXPORT= \
> > -DLIBANGLE_IMPLEMENTATION -DLIBGLESV2_IMPLEMENTATION -DGL_APICALL= \
> > -DGL_GLEXT_PROTOTYPES= -DEGLAPI= -DANGLE_ENABLE_D3D9 -DANGLE_SKIP_DXGI_1_2_CHECK \
> > -DANGLE_D3D11_QDTD_AVAILABLE -DDllMain=DllMain_ANGLE -I. -I. -I.. \
> > -IC:/Users/patrick/Desktop/dev/vendor/sysroot-win-32/build/qt-everywhere-src-5.11.2/qtbase/src/angle/src/../include \
> > -I..\..\..\3rdparty\angle\src -I..\..\..\3rdparty\angle\include -I..\..\src \
> > -I..\..\..\3rdparty\angle\src\libANGLE \
> > -IC:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\include \
> > -I..\..\..\..\mkspecs\win32-msvc \
> > -Fo.obj\release\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.11.2\qtbase\src\3rdparty\angle\src\common\Float16ToFloat32.obj \
> > ..\..\..\3rdparty\angle\src\common\Float16ToFloat32.cpp Float16ToFloat32.cpp
> > C:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.11.2\qtbase\src\3rdparty\angle\src\common\Float16ToFloat32.cpp \
> > : fatal error C1083: Cannot open compiler generated file: '': Invalid argument \
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio \
> > 14.0\VC\BIN\cl.EXE"' : return code '0x1' Stop.
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio \
> > 14.0\VC\BIN\nmake.exe"' : return code '0x2' Stop.
> > NMAKE : fatal error U1077: 'cd' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'cd' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'cd' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'cd' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'cd' : return code '0x2'
> > Stop.
> > pyqtdeploy-sysroot: Execution failed: returned exit code 2
> > 
> > ===============================================
> > 
> > Sysroot is as follows:
> > 
> > "qt5": {
> > "macos|win#ssl": "openssl-linked",
> > "macos|win#source": "qt-everywhere-src-5.11.2.tar.xz",
> > "macos|win#configure_options": [
> > "-opensource",
> > "-debug-and-release",
> > "-nomake", "examples",
> > "-nomake", "tests",
> > "-no-sql-mysql",
> > "-no-sql-psql"
> > ],
> > "skip": [
> > "qtactiveqt",
> > "qtcanvas3d",
> > "qtgamepad",
> > "qtremoteobjects",
> > "qtscript",
> > "qtserialbus",
> > "qtserialport",
> > "qtspeech",
> > "qtvirtualkeyboard",
> > "qtwayland",
> > "qtwebglplugin",
> > "qtwebsockets",
> > "qtwebengine",
> > "qtwebchannel",
> > "qtwebview"
> > ]
> > },
> 


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">Just to follow up, this problem didn't arise \
when I moved my sysroot dir from:<div class=""><br class=""></div><div \
class="">C:\Users\patrick\Desktop\dev\vendor\sysroot-win32</div><div class=""><br \
class=""></div><div class="">To:</div><div class=""><br class=""></div><div \
class="">C:\dev\vendor\sysroot-win32</div><div class=""><br class=""></div><div \
class="">Geeze...<br class=""><div><br class=""><blockquote type="cite" class=""><div \
class="">On Oct 16, 2018, at 9:43 PM, Patrick Stinson &lt;<a \
href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><div class=""><meta \
http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class="">Looks like this has something to do with a ridiculously \
low MAX_PATH limitation to the number of chars allowed in a file path which is \
compiled into cl.exe:<div class=""><br class=""></div><div class=""><a \
href="https://github.com/fpoussin/Qt5-MSVC-Static/issues/6" \
class="">https://github.com/fpoussin/Qt5-MSVC-Static/issues/6</a></div><div \
class=""><br class=""></div><div class="">There is a similarly related bug report \
here:</div><div class=""><br class=""></div><div class=""><a \
href="https://bugreports.qt.io/browse/QTBUG-66652" \
class="">https://bugreports.qt.io/browse/QTBUG-66652</a></div><div class=""><br \
class=""></div><div class="">What a bummer...</div><div class=""><div class=""><br \
class=""><blockquote type="cite" class=""><div class="">On Oct 16, 2018, at 9:21 PM, \
Patrick Stinson &lt;<a href="mailto:patrickkidd@gmail.com" \
class="">patrickkidd@gmail.com</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><div class=""><div class="">Anyone else get the \
following compile error using pyqtdeploy-sysroot on Windows with VS 2015 (14.0) dev \
console? The error appears to be in the 3rdparty lib "angle" included in qtbase.<br \
class=""><br class="">===============================================<br class=""><br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cl -c -nologo -Zc:wchar_t -FS \
-Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -MD -Oy- -Gy -GS -Gm- \
-EHsc -w44456 -w44457 -w44458 -W4 -wd4100 -wd4127 -wd4189 -wd4239 -wd4244 -wd4245 \
-wd4267 -wd4275 -wd4512 -wd4702 -wd4996 -wd4480 -DUNICODE -D_UNICODE -DWIN32 \
-D_WINDOWS -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX \
-DWIN32_LEAN_AND_MEAN=1 -DANGLE_ENABLE_D3D11 -DANGLE_DEFAULT_D3D11=1 -DNDEBUG \
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DLIBGLESV2_EXPORT_H_ -DANGLE_EXPORT= \
-DLIBANGLE_IMPLEMENTATION -DLIBGLESV2_IMPLEMENTATION -DGL_APICALL= \
-DGL_GLEXT_PROTOTYPES= -DEGLAPI= -DANGLE_ENABLE_D3D9 -DANGLE_SKIP_DXGI_1_2_CHECK \
-DANGLE_D3D11_QDTD_AVAILABLE -DDllMain=DllMain_ANGLE -I. -I. -I.. \
-IC:/Users/patrick/Desktop/dev/vendor/sysroot-win-32/build/qt-everywhere-src-5.11.2/qtbase/src/angle/src/../include \
-I..\..\..\3rdparty\angle\src -I..\..\..\3rdparty\angle\include -I..\..\src \
-I..\..\..\3rdparty\angle\src\libANGLE \
-IC:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\include \
-I..\..\..\..\mkspecs\win32-msvc \
-Fo.obj\release\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.11.2\qtbase\src\3rdparty\angle\src\common\Float16ToFloat32.obj \
..\..\..\3rdparty\angle\src\common\Float16ToFloat32.cpp<br \
class="">Float16ToFloat32.cpp<br \
class="">C:\Users\patrick\Desktop\dev\vendor\sysroot-win-32\build\qt-everywhere-src-5.11.2\qtbase\src\3rdparty\angle\src\common\Float16ToFloat32.cpp \
: fatal error C1083: Cannot open compiler generated file: '': Invalid argument<br \
class="">NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio \
14.0\VC\BIN\cl.EXE"' : return code '0x1'<br class="">Stop.<br class="">NMAKE : fatal \
error U1077: '"C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : \
return code '0x2'<br class="">Stop.<br class="">NMAKE : fatal error U1077: 'cd' : \
return code '0x2'<br class="">Stop.<br class="">NMAKE : fatal error U1077: 'cd' : \
return code '0x2'<br class="">Stop.<br class="">NMAKE : fatal error U1077: 'cd' : \
return code '0x2'<br class="">Stop.<br class="">NMAKE : fatal error U1077: 'cd' : \
return code '0x2'<br class="">Stop.<br class="">NMAKE : fatal error U1077: 'cd' : \
return code '0x2'<br class="">Stop.<br class="">pyqtdeploy-sysroot: Execution failed: \
returned exit code 2<br class=""><br \
class="">===============================================<br class=""><br \
class="">Sysroot is as follows:<br class=""><br class=""> &nbsp;&nbsp;&nbsp;"qt5": \
{<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"macos|win#ssl": \
"openssl-linked",<br class=""> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"macos|win#source": \
"qt-everywhere-src-5.11.2.tar.xz",<br class=""> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"macos|win#configure_options": [<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"-opensource",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"-debug-and-release",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"-nomake", \
"examples",<br class=""> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"-nomake", \
"tests",<br class=""> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"-no-sql-mysql",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"-no-sql-psql"<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;],<br class=""> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"skip": [<br class=""> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtactiveqt",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtcanvas3d",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtgamepad",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtremoteobjects",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtscript",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtserialbus",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtserialport",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtspeech",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtvirtualkeyboard",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtwayland",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtwebglplugin",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtwebsockets",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtwebengine",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtwebchannel",<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"qtwebview"<br \
class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]<br class=""> \
&nbsp;&nbsp;&nbsp;},</div></div></blockquote></div><br \
class=""></div></div></div></blockquote></div><br class=""></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic