Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94900

python path containing space breaks build from source

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.5
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      When you build from source a space in the python path breaks the build.

      QtQmlDependsQtQmlDepends C:\Program Files\Python38
      python.exe D:/Qt/5.15.5_x64_shared/qtdeclarative/src/3rdparty/masm/yarr/create_regex_tables > .generated\debug\RegExpJitTables.h'C:\Program' is not recognized as an internal or external command,operable program or batch file. rc /NOLOGO -D_DEBUG -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -D_CRT_SECURE_NO_WARNINGS -DQT_NO_FOREACH -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_NETWORK_LIB -DQT_CORE_LIB -D_WINDLL -fo .obj\debug\Qt5Qmld_resource.res Qt5Qmld_resource.rc call D:\Qt\5.15.5_x64_shared\qtdeclarative\src\qml\qlalr_wrapper.bat --no-debug --qt parser\qqmljs.g cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zi -MDd -utf-8 /wd4530 /wd4577 -MP -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\testcon.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -DQT_AXSERVER_LIB -DQAXSERVER -DQT_AXCONTAINER_LIB -DQT_AXBASE_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I..\..\include -I..\..\include\ActiveQt -ID:\Qt\5.15.5_x64_shared\qtbase\include -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtPrintSupport -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtWidgets -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtGui -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtANGLE -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtCore -I.moc\debug -I.uic -ID:\Qt\5.15.5_x64_shared\qtbase\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\BUILDE~1.NET\AppData\Local\Temp\moc_mainwindow.obj.16432.1156.jommoc_mainwindow.cpp "C:\Program Files\Jom\jom.exe" -f Makefile.Release all'C:\Program' is not recognized as an internal or external command,operable program or batch file. cl -c -Yc -Fp.pch\release\Qt5Qml_pch.pch -Fo.pch\release\Qt5Qml_pch.obj -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -MD -utf-8 /wd4530 /wd4577 -MP -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -D_CRT_SECURE_NO_WARNINGS -DQT_NO_FOREACH -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_WINDLL -I. -Imemory -I. -Icompiler -I. -Ijsruntime -I. -Ijit -I. -Idebugger -Iqmldirparser -I. -Ianimations -I..\3rdparty\masm\jit -I..\3rdparty\masm\assembler -I..\3rdparty\masm\runtime -I..\3rdparty\masm\wtf -I..\3rdparty\masm\stubs -I..\3rdparty\masm\stubs\runtime -I..\3rdparty\masm\stubs\wtf -I..\3rdparty\masm -I..\3rdparty\masm\disassembler -I..\3rdparty\masm\disassembler\udis86 -I..\..\include -I..\..\include\QtQml -I..\..\include\QtQml\5.15.5 -I..\..\include\QtQml\5.15.5\QtQml -Itmp -I.generated\release -I. -I.tracegen\release -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtCore\5.15.5 -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtCore\5.15.5\QtCore -ID:\Qt\5.15.5_x64_shared\qtbase\include -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtNetwork -ID:\Qt\5.15.5_x64_shared\qtbase\include\QtCore -I.moc\release -ID:\Qt\5.15.5_x64_shared\qtbase\mkspecs\win32-msvc -TP ..\..\include\QtQml\QtQmlDependsQtQmlDepends C:\Program Files\Python38
      python.exe D:/Qt/5.15.5_x64_shared/qtdeclarative/src/3rdparty/masm/yarr/create_regex_tables > .generated\release\RegExpJitTables.h rc /NOLOGO -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -D_CRT_SECURE_NO_WARNINGS -DQT_NO_FOREACH -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_WINDLL -fo .obj\release\Qt5Qml_resource.res Qt5Qml_resource.rc call D:\Qt\5.15.5_x64_shared\qtdeclarative\src\qml\qlalr_wrapper.bat --no-debug --qt parser\qqmljs.gjom: D:\Qt\5.15.5_x64_shared\qtdeclarative\src\qml\Makefile.Release [.generated\release\RegExpJitTables.h] Error 1jom: D:\Qt\5.15.5_x64_shared\qtdeclarative\src\qml\Makefile.Debug [.generated\debug\RegExpJitTables.h] Error 1jom: D:\Qt\5.15.5_x64_shared\qtdeclarative\src\qml\Makefile [debug-all] Error 2jom: D:\Qt\5.15.5_x64_shared\qtdeclarative\src\qml\Makefile [release-all] Error 2jom: D:\Qt\5.15.5_x64_shared\qtdeclarative\src\Makefile [sub-qml-make_first-ordered] Error 2jom: D:\Qt\5.15.5_x64_shared\qtdeclarative\Makefile [sub-src-make_first] Error 2jom: D:\Qt\5.15.5_x64_shared\Makefile [module-qtdeclarative-make_first] Error 2
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            mstegehuis E.M. Stegehuis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes