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

WebCore derived sources do not build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0
    • 5.0.1
    • Build tools: Other
    • None
    • Windows 8 x64, Visual Studio Express 2012 update 1 (using Windows SDK 7.1A), building for Win32.

    Description

      The generated makefile "Makefile.WebCore.DerivedSources" causes nmake to fail thus:

              ( if not exist Makefile.WebCore.DerivedSources C:\Tools\qt-5\qtbase\bin\qmake C:\Tools\qt-5\qtwebkit\Source\WebCore\DerivedSources.pri -o Makefile.WebCo
      re.DerivedSources ) && "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f Makefile.WebCore.DerivedSources
      
      Microsoft (R) Program Maintenance Utility Version 11.00.51106.1
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              (set "PATH=C:\Tools\qt-5\qtbase\..\gnuwin32\bin;%PATH%") && python C:/Tools/qt-5/qtwebkit/Source/WebCore/inspector/generate-inspector-protocol-version -
      o generated\InspectorProtocolVersion.h inspector\Inspector.json
      Self-test failedNMAKE : fatal error U1077: '(set' : return code '0x1'
      Stop.
      NMAKE : fatal error U1077: '(' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      

      My configure line goes like this: configure -debug-and-release -force-debug-info -opensource -no-ltcg -nomake examples -nomake demos -system-proxies -qt-zlib -qt-libpng -qt-libjpeg -no-vcproj -no-incredibuild-xge -no-sql-odbc -no-sql-sqlite -qt-style-windowsxp -no-qdbus -qt-style-windows -qt-style-windowsvista -no-dbus -mp -confirm-license -icu

      I attach the qmakefile and the generated makefile. The path it's trying to add to the PATH environment variable is already there. I experimentally removed a few of the (set ...) statements, starting at the first I found in the file, and found that the build then continued smoothly (even though there are some still present lower down in the file!) So I'm a bit stumped regarding the cause of the failure. Is the path getting too long?

      Attachments

        1. DerivedSources.pri
          42 kB
          William Gallafent
        2. Makefile.WebCore.DerivedSources
          2.17 MB
          William Gallafent
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            gallafent William Gallafent
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes