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

Build failure with webengine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.1, 6.3.0 Alpha
    • 6.2.0 Beta4
    • WebEngine
    • None
    • Windows
    • 405007644edc3473bb1eec4cf2c3d15e9431da21 (qt/qtwebengine/dev) 8fed8c0c0a120be6c62df989debe072fc3d7fe3c (qt/qtwebengine/6.2)

    Description

      [22167/24053] ACTION /C:/qtb/bld/qtwebengine/src/core/Debug/AMD64:generate_h_mocs(//build/toolchain/win:x64)
      FAILED: gen/.moc/moc_authentication_dialog_controller.cpp
      C:/Programy/Python2/python.exe C:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/tools/scripts/gn_run_binary.py C:/qtb/bld/qtbase/bin/Debug/moc.exe -DQT_NO_KEYWORDS -DQT_USE_QSTRINGBUILDER "-DQTWEBENGINECORE_VERSION_STR=\"6.2.0\"" "-DQTWEBENGINEPROCESS_NAME=\"QtWebEngineProcessd\"" -DBUILDING_CHROMIUM -DQ_FORWARD_DECLARE_OBJC_CLASS=QT_FORWARD_DECLARE_CLASS -DNOMINMAX -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_DEPRECATED_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WEBENGINECORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -D_WIN64 -DUNICODE -D_UNICODE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_QMLMODELS_LIB -DQT_OPENGL_LIB -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_WINDLL -IC:/qtb/bld/qtbase/include -IC:/qtb/bld/qtbase/include/QtWebEngineCore -IC:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/src/core/api -IC:/qtb/bld/qtwebengine/src/core/api -IC:/qtb/bld/qtbase/include/QtWebEngineCore/6.2.0 -IC:/qtb/bld/qtbase/include/QtWebEngineCore/6.2.0/QtWebEngineCore -IC:/qtb/bld/qtwebengine/src/core/api/WebEngineCore_autogen/include_Debug -IC:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/src/core -IC:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/src/3rdparty/chromium -IC:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/src/3rdparty/chromium/third_party/abseil-cpp -IC:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -IC:/qtb/bld/qtwebengine/src/core/Debug/AMD64/gen -IC:/qtb/bld/qtwebengine/src/core/Debug/AMD64/gen/third_party/perfetto -IC:/qtb/bld/qtwebengine/src/core/Debug/AMD64/gen/third_party/perfetto/build_config -IC:/qtb/bld/qtbase/include/QtCore -IC:/qtb/qt-everywhere-src-6.2.0-beta4/qtbase/mkspecs/win32-msvc -IC:/qtb/bld/qtbase/include/QtGui -IC:/qtb/bld/qtbase/include/QtNetwork -IC:/qtb/bld/qtbase/include/QtQuick -IC:/qtb/bld/qtbase/include/QtQml -IC:/qtb/bld/qtbase/include/QtQmlModels -IC:/qtb/bld/qtbase/include/QtOpenGL -IC:/qtb/bld/qtbase/src/corelib -IC:/qtb/bld/qtbase/include/QtCore/6.2.0 -IC:/qtb/bld/qtbase/include/QtCore/6.2.0/QtCore -IC:/qtb/bld/qtbase/src/gui -IC:/qtb/bld/qtbase/include/QtGui/6.2.0 -IC:/qtb/bld/qtbase/include/QtGui/6.2.0/QtGui -IC:/qtb/bld/qtdeclarative/src/quick -IC:/qtb/bld/qtbase/include/QtQuick/6.2.0 -IC:/qtb/bld/qtbase/include/QtQuick/6.2.0/QtQuick -IC:/qtb/bld/qtdeclarative/src/qmlmodels -IC:/qtb/bld/qtbase/include/QtQmlModels/6.2.0 -IC:/qtb/bld/qtbase/include/QtQmlModels/6.2.0/QtQmlModels -IC:/qtb/bld/qtdeclarative/src/qml -IC:/qtb/bld/qtbase/include/QtQml/6.2.0 -IC:/qtb/bld/qtbase/include/QtQml/6.2.0/QtQml C:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/src/core/authentication_dialog_controller.h -o C:/qtb/bld/qtwebengine/src/core/Debug/AMD64/gen/.moc/moc_authentication_dialog_controller.cpp
      Traceback (most recent call last):
        File "C:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/tools/scripts/gn_run_binary.py", line 33, in <module>
          sys.exit(subprocess.call(sys.argv[1:]))
        File "C:\Programy\Python2\lib\subprocess.py", line 172, in call
          return Popen(*popenargs, **kwargs).wait()
        File "C:\Programy\Python2\lib\subprocess.py", line 394, in __init__
          errread, errwrite)
        File "C:\Programy\Python2\lib\subprocess.py", line 644, in _execute_child
          startupinfo)
      WindowsError: [Error 2] Systém nemůže nalézt uvedený soubor
      [22174/24053] ACTION //v8:run_torque(//build/toolchain/win:x64)
      ninja: build stopped: subcommand failed.
      FAILED: qtwebengine/src/core/Debug/AMD64/QtWebEngineCore.stamp qtwebengine/src/core/Debug/AMD64/QtWebEngineCore
      cmd.exe /C "cd /D C:\qtb\bld\qtwebengine\src\core && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -C C:/qtb/bld/qtwebengine/src/core/Debug/AMD64 QtWebEngineCore"
      ninja: build stopped: subcommand failed.
      

      This is top-level build,

      "C:/qtb/bld/qtbase/bin/Debug/moc.exe" does not exist at the point when "python.exe" is called with it as argument.

      "c:\qtb\bld\qtbase\bin\moc.exe" however does exist (without "Debug" subfolder).

      Investigated, part of "build.GN" file:

      if (moc_source_h_files != []) {
        action_foreach("generate_h_mocs") {
          script = "C:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/tools/scripts/gn_run_binary.py"
          sources =  moc_source_h_files
          outputs = [ "${target_gen_dir}/.moc/moc_{{source_name_part}}.cpp" ]
          inputs = [ "C:/qtb/qt-everywhere-src-6.2.0-beta4/qtwebengine/CMakeLists.txt" ]
          args = [
            "C:/qtb/bld/qtbase/bin/Debug/moc.exe",
            "-DQT_NO_KEYWORDS",
        "-DQT_USE_QSTRINGBUILDER",
      

      Curiously, "release" versions of "build.GN" contain correct "moc.exe" path.

      Attachments

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

        Activity

          People

            michal Michal Klocek
            skunkos Martin Rotter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes