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

"Depends" with non-existent module inside explicitly disabled "Product" is evaluated before Product's condition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.8.0
    • 1.4.2
    • General
    • None
    • Ubuntu 15.04, QBS 1.4.2
    • 7b790d30d616c01ef783816ed514c5fe8e9ca144

    Description

      I have Product {} with Depends

      {name: "somethingNonExistent"}

      .

      If Product's condition == true, QBS will die with error "dependency not found" during "resolve".
      But if Product's condition == false (for example, we can pass command-line parameter) it will die too.
      Tiny example: https://gist.github.com/nico-izo/8460cdbf6f0b729ea226

      For now I think, that I should connect Product's condition with somethingNonExistent.present and use required:false property, but maybe QBS should not die on Depends fail in explicitly disabled Product?

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            nico-izo Nicolay Izoderov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes