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

Setup Toolchains fails on Appveyor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.15.0
    • Fix Version/s: 1.16.0
    • Component/s: Configuration Probes
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      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

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            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