Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7363

Flaky Windows 10 provisioning with VisualStudio developer shell and NMAKE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • dev
    • None
    • Windows

      Sometimes Windows 10 provisioning fails to:

      Enter VisualStudio developer shell (-host_arch=amd64 -arch=arm64 -VsInstallPath='C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional')
      
      Microsoft (R) Program Maintenance Utility Version 14.29.30151.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      NMAKE : fatal error U1065: invalid option '-'
      Stop. 

      This can start blocking a change, example:
      https://codereview.qt-project.org/c/qt/qt5/+/665239

      This error has happened before but Coin was updated to now stop to this error since the last maintenance break.

      Since this has happened only in Windows 10 (where provisioning uses VS2019) and not in Windows 11 (VS2022), updating W10 provisioning to use VS2022 would be a quick fix. If the issue is encountered in lts-6.5 where msvc2019 targets are still used then next step is to update VS2019 in lts-6.5 and see if that works.

        For Gerrit Dashboard: QTQAINFRA-7363
        # Subject Branch Project Status CR V

            eltoivol Elias Toivola
            eltoivol Elias Toivola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are 2 open Gerrit changes