Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine build failed on gn bootstrap.py

QtWebEngine build failed on gn bootstrap.py

Scheduled Pinned Locked Moved Unsolved QtWebEngine
5 Posts 4 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dimitar.Negrevski
    wrote on last edited by
    #1

    Hi all, i am trying to build Qt 5.9.3 and build failed on bootstrap.py with: Building gn manually in a temporary
    directory for bootstrapping...
    Traceback (most recent call last):
    File "D:\Qt5.9\qt5\qtwebengine\src\3rdparty\chromium\tools\gn\bootstrap
    \bootstrap.py", line 763, in <module>
    sys.exit(main(sys.argv[1:]))
    File "D:\Qt5.9\qt5\qtwebengine\src\3rdparty\chromium\tools\gn\bootstrap
    \bootstrap.py", line 126, in main
    return run_build(build_dir, options)
    File "D:\Qt5.9\qt5\qtwebengine\src\3rdparty\chromium\tools\gn\bootstrap
    \bootstrap.py", line 73, in run_build
    build_gn_with_ninja_manually(tempdir, options)
    File "D:\Qt5.9\qt5\qtwebengine\src\3rdparty\chromium\tools\gn\bootstrap
    \bootstrap.py", line 191, in build_gn_with_ninja_manually
    'base/trace_event/etw_manifest/chrome_events_win.man')
    File "D:\Qt5.9\qt5\qtwebengine\src\3rdparty\chromium\tools\gn\bootstrap
    \bootstrap.py", line 142, in write_compiled_message
    os.path.join(SRC_ROOT, source),
    File "D:\Qt5.9\qt5\qtwebengine\src\3rdparty\chromium\tools\gn\bootstrap
    \bootstrap.py", line 44, in check_call
    subprocess.check_call(cmd, cwd=GN_ROOT, **kwargs)
    File "C:\Python27\lib\subprocess.py", line 181, in check_call
    retcode = call(*popenargs, **kwargs)
    File "C:\Python27\lib\subprocess.py", line 168, in call
    return Popen(*popenargs, **kwargs).wait()
    File "C:\Python27\lib\subprocess.py", line 390, in init
    errread, errwrite)
    File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
    startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified
    Project ERROR: GN build error!
    NMAKE : fatal error U1077: '(' : return code '0x3'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    Any suggestions? My build configuration is:

    CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
    SET _ROOT=D:\Qt5.9\qt5
    SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
    SET PATH=C:\OpenSSL-Win32\bin;%PATH%
    SET INCLUDE=D:\Downloads\icu-59.1-vs2015\include;%INCLUDE%
    SET LIB=D:\Downloads\icu-59.1-vs2015\lib;%LIB%
    SET PATH=D:\Downloads\icu-59.1-vs2015\lib;%PATH%
    SET PATH=D:\Downloads\jom-1.1.2;%PATH%
    SET WindowsSDKVersion=10.0.16299.0
    SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
    CALL configure -debug-and-release -confirm-license -shared -mp -ltcg -plugin-sql-sqlite -opengl desktop -openssl-runtime -I C:\OpenSSL-Win32\include -L C:\OpenSSL-Win32\lib -icu -I D:\Downloads\icu-59.1-vs2015\include -L D:\Downloads\icu-59.1-vs2015\lib -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -make-tool D:\Downloads\jom-1.1.2\jom.exe -nomake examples -prefix /Qt5.9.3_Custom -no-warnings-are-errors -force-debug-info -platform win32-msvc
    SET _ROOT=
    cmd /k

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Elgerton
      wrote on last edited by
      #2

      I have the same issue. Does anybody have any hint?
      @Dimitar-Negrevski Did you contact Qt support already?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Elgerton
        wrote on last edited by
        #3

        My case is solved: The path generated for the python script was too long for Windows. After shortening the path WebEngine compiled for me.

        A 1 Reply Last reply
        1
        • E Elgerton

          My case is solved: The path generated for the python script was too long for Windows. After shortening the path WebEngine compiled for me.

          A Offline
          A Offline
          Arthur B.Zhou
          wrote on last edited by
          #4

          @Elgerton I have the same issue. How do you shorten the file path?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sergey Moskalenko
            wrote on last edited by
            #5

            I'm have the same problem at Qt 5.9.6
            I'm solve it.
            Solution is very strange.
            I'm add inside file C:\Python27\lib\subprocess.py
            information about arg, and figure out:
            error was happend when call mc.exe with parameters, but without absolute path just as:
            mc.exe -bla bla
            mc.exe - is utility from SDK, and PATH do not contain path to it.
            after path to mc.exe added to PATH build is continue.

            I hope everybody who find this topic with same problem will get it as solution.

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved