Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15
-
None
-
Windows 10 x64 Enterprise 2004
Visual Studio 2019 x64 16.6.0
-
-
de4ea4ebefa5e779a4878a1e9bb05cf3ead58a9e (qt/qtdeclarative/dev) df63e2f3a5e87b0137ca6be8845e9648d818fbd9 (qt/qtdeclarative/5.15)
Description
My recently checkout vanilla git 5.15 branch is failed at qtdeclarative compilation with the following error :
YarrCanonicalizeUCS2.cpp YarrCanonicalizeUnicode.cpp YarrInterpreter.cpp YarrJIT.cpp YarrPattern.cpp YarrSyntaxChecker.cpp C:\Q\qt-5.15\qtdeclarative\src\3rdparty\masm\yarr\YarrPattern.cpp(41): fatal error C1083: Cannot open include file: 'RegExpJitTables.h': No such file or directory NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\cl.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\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.
While at beginning of configure, it managed to find my python 2.7 amd64
Checking for python...
test config.qtdeclarative_qml.tests.qml-python gave result C:/Python27amd64/python.exe
manually checking out the python is working fine :
C:\Q>where python C:\Python27amd64\python.exe
Base on my search, it's python things problems, but invoking the script which is used to generate the "RegExpJitTables.h" is working fine :
C:\Q\qt-5.15\qtdeclarative\src\3rdparty\masm\yarr>python create_regex_tables static const char _spacesData[65536] = { 0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Probably related ? :
QtQml: created version header QtQml: created master header QtQml: created headers.pri file WARNING: Failure to find: qt5qmld_metatypes.json WARNING: Failure to find: C:/Q/qt-5.15/qtdeclarative/src/3rdparty/masm/assembler/*.h WARNING: Failure to find: C:/Q/qt-5.15/qtdeclarative/src/3rdparty/masm/wtf/*.h WARNING: Failure to find: C:/Q/2019_64/qtdeclarative/src/qml/qt5qmld_metatypes.json WARNING: Failure to find: qt5qml_metatypes.json WARNING: Failure to find: C:/Q/qt-5.15/qtdeclarative/src/3rdparty/masm/assembler/*.h WARNING: Failure to find: C:/Q/qt-5.15/qtdeclarative/src/3rdparty/masm/wtf/*.h WARNING: Failure to find: C:/Q/2019_64/qtdeclarative/src/qml/qt5qml_metatypes.json
My configure line :
CALL %QT_SOURCE%\configure -confirm-license -prefix %QT_DIST% -mp -debug-and-release -icu -shared -system-sqlite -sql-odbc -sql-psql -sql-mysql -system-zlib -system-libjpeg -system-libpng -gif -ico -v -qt-pcre -qt-freetype -nomake tests -opensource -openssl-runtime OPENSSL_LIBS_DEBUG="C:\Users\nameless\Documents\Works\Deps\x64\VS2019\OpenSSL\1.1.1\Shared\Debug\lib\libssl.lib C:\Users\nameless\Documents\Works\Deps\x64\VS2019\OpenSSL\1.1.1\Shared\Debug\lib\libcrypto.lib" OPENSSL_LIBS_RELEASE="C:\Users\nameless\Documents\Works\Deps\x64\VS2019\OpenSSL\1.1.1\Shared\Release\lib\libssl.lib C:\Users\nameless\Documents\Works\Deps\x64\VS2019\OpenSSL\1.1.1\Shared\Release\lib\libcrypto.lib" -platform win32-msvc
reverting the following commit, fixed it for me https://code.qt.io/cgit/qt/qtdeclarative.git/commit/src/3rdparty/masm?h=5.15&id=1c6a70e1880a8fe0f3d8da4932c4f3533693219c .