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

WIN64: 'Error while handling product 'qbs resources'' and 'Detecting the MSVC build environment failed' errors for builds using mingw-w64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.13.0
    • Component/s: Configuration Probes
    • Labels:
      None
    • Environment:
    • Platform/s:
      Windows

      Description

      Hello, everyone,

      For builds using mingw-w64 got error:

      mingw32-make[2]: Entering directory 'c:/QTBS-1.13.0-dev/build'
      bin\qbs build --settings-dir qbsres/settings -f c:/QTBS-1.13.0-dev/build/qbs.qbs -d qbsres -p "qbs resources" qbs.installPrefix:undefined project.withCode:false project.withDocumentation:false profile:none
      Build graph does not yet exist for configuration 'default'. Starting from scratch.
      Resolving project for configuration default
      ERROR: C:\QTBS-1.13.0-dev\build\share\share.qbs:7:1 Error while handling product 'qbs resources':
      C:\QTBS-1.13.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:51:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      mingw32-make[2]: *** [Makefile.static-res.Release:80: qbsres/default/default.bg] Error 1
      mingw32-make[2]: Leaving directory 'c:/QTBS-1.13.0-dev/build'
      mingw32-make[1]: *** [Makefile.static-res:36: release] Error 2
      mingw32-make[1]: Leaving directory 'c:/QTBS-1.13.0-dev/build'
      mingw32-make: *** [Makefile:190: sub-static-res-pro-make_first] Error 2

      which relate to recently merged Change #234433.

       

      Reproduced for:

      • builds using mingw-w64,

      not reproduced for:

      • builds using mingw-w64 with Change #234433 reverted,
      • builds using Windows ICC and MSVC.

       

      CC: Joerg Bornemann.

       

      Best,

      Alexander

       

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes