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

Setup Toolchains fails on Appveyor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.16.0
    • 1.15.0
    • Configuration Probes
    • None
    • Windows
    • 6a945fd22293fb81e0ec6ff75cac9dc7346c230d (qbs/qbs/master)

    Description

      The toolchain detection fails on Appveyor CI platform.

      Example Installing Qbs with Chocolatey on Appveyor:

      image: Visual Studio 2019
      
      install:
        - cinst qbs
        - qbs setup-toolchains --detect
      

      Fails:

      …
      Trying to detect clang...
      Profile 'clang' created for 'C:/Program Files/LLVM/bin/clang.exe'.
      Profile 'cov-internal-clang' created for 'C:/Tools/Coverity/bin/cov-internal-clang.exe'.
      WARNING: Using clang on Windows requires a mingw installation. Please set qbs.sysroot accordingly for profile 'clang'.
      WARNING: Using clang on Windows requires a mingw installation. Please set qbs.sysroot accordingly for profile 'cov-internal-clang'.
      Failed to run compiler 'C:/Tools/Coverity/bin/cov-internal-emit-clang.exe': Unknown error
      Command exited with code 1
      

      Full example: https://ci.appveyor.com/project/arBmind/rebuild-experimental-compiler/builds/29745983

      I guess this "failed to run compiler" error should be ignored by simply skipping this toolchain candidate.

      It would also be nice if we can limit the detection with an option, like "--type msvc" to speed up the detection and work around failures in some probes.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            arbmind Andreas Reischuck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes