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

WebEngine fails on windows due to relative path length exceeding 256 characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 5.5.0 RC
    • 5.4.2
    • Build System, WebEngine
    • None

    Description

      I am compiling on Win7 using the released stable Qt v5.4.2 sources from http://download.qt.io/official_releases/qt/5.4/5.4.2/single/qt-everywhere-opensource-src-5.4.2.zip

      The build fails to detect libcap which then seems to make the whole compilation to fail. Complete config and build logs are attached.

      Below is the relevant log:

      moc_enginioqmlreply_p.cpp
      	link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /OUT:..\..\qml\Enginio\enginioplugind.dll @C:\Users\stathis\AppData\Local\Temp\nmBD69.tmp
         Creating library ..\..\qml\Enginio\enginioplugind.lib and object ..\..\qml\Enginio\enginioplugind.exp
      	cd qtwebengine\ && ( if not exist Makefile E:\opensource\qt-everywhere-opensource-src-5.4.2-build-vs2013\qt5-x86-shared-d\qtbase\bin\qmake E:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\qtwebengine.pro -o Makefile ) && D:\dev\vs2013\VC\BIN\nmake.exe -f Makefile
      Info: creating cache file E:\opensource\qt-everywhere-opensource-src-5.4.2-build-vs2013\qt5-x86-shared-d\qtwebengine\.qmake.cache
      Running configure tests
      Checking for libcap... no
      
      Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      	cd src\ && ( if not exist Makefile E:\opensource\qt-everywhere-opensource-src-5.4.2-build-vs2013\qt5-x86-shared-d\qtbase\bin\qmake E:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\src.pro -o Makefile ) && D:\dev\vs2013\VC\BIN\nmake.exe -f Makefile
      
      Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      	cd core\ && ( if not exist Makefile E:\opensource\qt-everywhere-opensource-src-5.4.2-build-vs2013\qt5-x86-shared-d\qtbase\bin\qmake E:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\core\core.pro -o Makefile ) && D:\dev\vs2013\VC\BIN\nmake.exe -f Makefile
      
      Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      	( if not exist Makefile.core_gyp_generator E:\opensource\qt-everywhere-opensource-src-5.4.2-build-vs2013\qt5-x86-shared-d\qtbase\bin\qmake E:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\core\core_gyp_generator.pro -o Makefile.core_gyp_generator ) && D:\dev\vs2013\VC\BIN\nmake.exe -f Makefile.core_gyp_generator
      
      Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      	D:\dev\vs2013\VC\BIN\nmake.exe -f Makefile.core_gyp_generator.Debug
      
      Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      	( if not exist Makefile.gyp_run E:\opensource\qt-everywhere-opensource-src-5.4.2-build-vs2013\qt5-x86-shared-d\qtbase\bin\qmake E:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\core\gyp_run.pro -o Makefile.gyp_run ) && D:\dev\vs2013\VC\BIN\nmake.exe -f Makefile.gyp_run
      using python: D:\dev\python\python.exe version: 2.7.8
      Using extra options found in e:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\core\qtwebengine_extras.gypi
      Updating projects from gyp files...
      Traceback (most recent call last):
        File "E:/opensource/qt-everywhere-opensource-src-5.4.2/qtwebengine/tools/buildscripts/gyp_qtwebengine", line 167, in <module>
          sys.exit(gyp.main(args))
        File "e:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\3rdparty\chromium\tools\gyp\pylib\gyp\__init__.py", line 527, in main
          return gyp_main(args)
        File "e:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\3rdparty\chromium\tools\gyp\pylib\gyp\__init__.py", line 512, in gyp_main
          generator.GenerateOutput(flat_list, targets, data, params)
        File "e:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\3rdparty\chromium\tools\gyp\pylib\gyp\generator\ninja.py", line 2282, in GenerateOutput
          config_name)
        File "e:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\3rdparty\chromium\tools\gyp\pylib\gyp\generator\ninja.py", line 2204, in GenerateOutputForConfig
          with OpenOutput(os.path.join(toplevel_build, output_file)) as ninja_file:
        File "e:\opensource\qt-everywhere-opensource-src-5.4.2\qtwebengine\src\3rdparty\chromium\tools\gyp\pylib\gyp\generator\ninja.py", line 1628, in OpenOutput
          return open(path, mode)
      IOError: [Errno 2] No such file or directory: 'e:/opensource/qt-everywhere-opensource-src-5.4.2/qtwebengine\\..\\..\\qt-everywhere-opensource-src-5.4.2-build-vs2013\\qt5-x86-shared-d\\qtwebengine\\src\\core\\Release\\obj\\src\\3rdparty\\chromium\\third_party\\WebKit\\Source\\bindings\\core\\v8\\bindings_core_v8_generated_aggregate.ninja'
      Project MESSAGE: Running gyp_qtwebengine "E:/opensource/qt-everywhere-opensource-src-5.4.2-build-vs2013/qt5-x86-shared-d/qtwebengine/src/core" -D qt_cross_compile=0 -D qt_os="win32" -I config/windows.gypi -D qtwe_chromium_obj_dir="E:/opensource/qt-everywhere-opensource-src-5.4.2-build-vs2013/qt5-x86-shared-d/qtwebengine/src/core/Debug/obj/src/3rdparty/chromium" -D perl_exe="perl.exe" -D bison_exe="bison.exe" -D gperf_exe="gperf.exe" --no-parallel -D qt_gl="opengl" -D disable_nacl=1 -D remoting=0 -D use_ash=0 -D disable_glibcxx_debug=1 -D remove_webcore_debug_symbols=1 -D target_arch=ia32...
      Project ERROR: -- running gyp_qtwebengine failed --
      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.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      

      Attachments

        Issue Links

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

          Activity

            People

              mibrunin Michael Bruning
              sigmoidal sigma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes