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

Confusing error message when doing qbs --jobs X build ...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • None
    • 0.3
    • General
    • None
    • aa3aae3fcbebd26db449b9e295b89f9fe890d263, 487d42f9b22a2990335ed1d5255115525a6fa5ba

      > /home/code/build/qbs/bin/qbs --jobs 8 build profile:qtc_Desktop debug
      ERROR: No profile given and no default profile set.
      Either set the configuration value 'defaultProfile' to a valid profile name
      or specify the profile with the command line parameter 'profile:name'.
      The following profiles are available:
      qtc_Desktop
      Restoring build graph from disk
      ERROR: Execution canceled due to user request.

      I find this message confusing:

      • There is a profile set, it is even listed by the command!
      • Why does it restore the build graph from disk if it does not know what to build?
      • There was no user request to cancel the build.

      Running .../qbs build --jobs 8 works fine.

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

            kandeler Christian Kandeler
            hunger Tobias Hunger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes