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

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 1.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Android for armeabi-v7a (Clang Qt 5.13.0 for Android ARMv7)
    • Platform/s:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes