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

Running twice qbs install generates error: rulesapplicator.cpp:244 ASSERT: m_ruleNode->children.contains(input)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 1.14.0
    • None
    • Android for armeabi-v7a (Clang Qt 5.13.0 for Android ARMv7)
    • Android

    Description

      I created a simple project like this:

      import qbs 1.0

      test.qbs:

      Project {
          minimumQbsVersion: "1.14"
          qbsSearchPaths: "qbs"
          Application {
              destinationDirectory: "bin"
              name: "MemoVache"
              cpp.includePaths: sourceDirectory
              cpp.cxxLanguageVersion:"c++14"
              files: [
              "src/main.cpp",
              ]
              Depends { name: "cpp" }
              Depends { name: "Qt"; submodules: ["core"] }
          }
      }
      

      main.cpp:

      int main(int argc, char *argv[])
      {
          return 0;
      }
      

      The first run of qbs install works whereas the second one generates this:

      raphael@raph-pc:~/src/Marguerite/builder$ ./builder.sh
      Restoring build graph from disk
      Building for configuration Debug
      ERROR: /home/qt/work/build/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/rulesapplicator.cpp:244 ASSERT: m_ruleNode->children.contains(input)
      The following products could not be built for configuration Debug:
      MemoVache

       

      Attachments

        1. Dockerfile
          6 kB
          Raphael Cotty
        2. install-android-ndk-sdk.sh
          3 kB
          Raphael Cotty
        3. install-android-ndk-sdk.sh
          3 kB
          Raphael Cotty
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            r.cotty Raphael Cotty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes