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

'qbs resolve' don't write build graph?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.22.1
    • 1.20.1
    • General
    • None
    • Windows
    • 187446b566 (qbs/qbs/1.21) 187446b566 (qbs/qbs/1.22) 187446b566 (qbs/qbs/master) 187446b566 (qbs/qbs/1.23) 187446b566 (qbs/qbs/1.24)

    Description

      Make minimal example, files attached.

      building p1 - OK: 

      F:\.meta\qbs\.tst4>qbs resolve --force-probe-execution -d ..\tmp.build config:release project.targetProj:p1
      Restoring build graph from disk
      Resolving project for configuration release
      
      F:\.meta\qbs\.tst4>qbs install -d ..\tmp.build --install-root ..\tmp.out config:release project.targetProj:p1
      Restoring build graph from disk
      Building for configuration release
      compiling m1.cpp [app1]
      linking app1.exe [app1]
      Build done for configuration release.
      Installing 
      

      building p2 - OK: 

      F:\.meta\qbs\.tst4>qbs resolve --force-probe-execution -d ..\tmp.build config:release project.targetProj:p2
      Restoring build graph from disk
      Resolving project for configuration release
      
      F:\.meta\qbs\.tst4>qbs install -d ..\tmp.build --install-root ..\tmp.out config:release project.targetProj:p2
      Restoring build graph from disk
      Building for configuration release
      compiling m2.cpp [app2]
      linking app2.exe [app2]
      Build done for configuration release.
      Installing
      

      building lib - FAILED:

      F:\.meta\qbs\.tst4>qbs resolve --force-probe-execution -d ..\tmp.build config:release project.targetProj:lib
      Restoring build graph from disk
      Resolving project for configuration release
      
      F:\.meta\qbs\.tst4>qbs install -d ..\tmp.build --install-root ..\tmp.out config:release project.targetProj:lib
      Restoring build graph from disk
      ERROR: Property values set on the command line differ from the ones used for the previous build.
      Old property values: project.targetProj:"p2"
      New property values: project.targetProj:"lib"
      Use the 'resolve' command if you really want to rebuild with the new properties. 

      How to fix/workaround this?

      Attachments

        1. m1.cpp
          0.1 kB
        2. m2.cpp
          0.1 kB
        3. p1._qbs
          0.2 kB
        4. p2._qbs
          0.2 kB
        5. q.qbs
          0.4 kB
        6. src4.cpp
          0.1 kB
        7. src4.h
          0.0 kB

        Issue Links

          For Gerrit Dashboard: QBS-1686
          # Subject Branch Project Status CR V

          Activity

            People

              kandeler Christian Kandeler
              korsar13 Ivan Kharin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes