Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-945

Qt Creator asserts in buildgraph\executor.cpp:353

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 1.4.5
    • General
    • None
    • Windows Server 2012 R2 Standard, 64-bit.
      Build environment: Jenkins

    Description

      Frequently assertion failed in case intermediate folder is not empty.

      ERROR: ..\..\..\..\src\lib\corelib\buildgraph\executor.cpp:353 ASSERT: childArtifact->timestamp().isValid()
      The following products could not be built for configuration Win32-debug:
      ...
      

      Main build script:

      set QT5_DIR=C:\Qt\Qt5.5.0\5.5\msvc2013\bin
      set QBS_DIR=C:\Qt\qbs-1.4.5\bin
      set SOURCE_DIR=C:\BuildDir\PTK5\Source
      set BUILD_DIR=C:\BuildDir\PTK5\Build
      cd /d %SOURCE_DIR%
      call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
      
      rem rmdir /s /q "%BUILD_DIR%\Intermediate" <<== workaround
      
      rem %QBS_DIR%\qbs setup-toolchains --detect
      
      %QBS_DIR%\qbs setup-qt "%QT5_DIR%\qmake.exe" Win32
      %QBS_DIR%\qbs config profiles.Win32.qbs.architecture x86
      %QBS_DIR%\qbs config profiles.Win32.baseProfile MSVC2013_x86
      rem %QBS_DIR%\qbs config preferences.qbsSearchPaths "%SOURCE_DIR%\qbs"
      %QBS_DIR%\qbs build -f "%SOURCE_DIR%\PreBuild.qbs" -d "%BUILD_DIR%\Intermediate\Prebuild" profile:Win32 %JBUILD_CONFIG%
      %QBS_DIR%\qbs build -f "%SOURCE_DIR%\Build.qbs" -d "%BUILD_DIR%\Intermediate\Build" profile:Win32 %JBUILD_CONFIG%
      

      Build.qbs contains nested qbs, and so on (max 3 nested level).

      This issue looks like QBS-379.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            gas Gaisinskiy Alex
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes