Commit 2bfbe39d0f for qemu.org
commit 2bfbe39d0fff8af881cffe2bab9b615e77807c35
Author: Thomas Huth <thuth@redhat.com>
Date: Mon Nov 23 14:14:26 2026 +0100
gitlab-ci: Switch the msys2 job to use ucrt
The MSYS2 folks marked the MINGW64 environment as deprecated a while ago:
https://www.msys2.org/news/#2026-03-15-deprecating-the-mingw64-environment
Now they also removed the mingw-w64-x86_64-libnfs package, so the msys2 job
is currently failing. It's expected that other MINGW64 packages will be
removed in the near future, so switch to the UCRT64 environment now instead
to fix the issue in a future-proof way.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20261123131427.209394-1-thuth@redhat.com>
diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 145500ae46..ec697f407f 100644
--- a/.gitlab-ci.d/windows.yml
+++ b/.gitlab-ci.d/windows.yml
@@ -12,8 +12,7 @@ msys2-64bit:
stage: build
timeout: 100m
variables:
- # Select the "64 bit, gcc and MSVCRT" MSYS2 environment
- MSYSTEM: MINGW64
+ MSYSTEM: UCRT64
# This feature doesn't (currently) work with PowerShell, it stops
# the echo'ing of commands being run and doesn't show any timing
FF_SCRIPT_SECTIONS: 0
@@ -76,24 +75,24 @@ msys2-64bit:
- .\msys64\usr\bin\bash -lc "pacman -Sy --noconfirm --needed
bison diffutils flex
git grep make sed
- mingw-w64-x86_64-binutils
- mingw-w64-x86_64-ca-certificates
- mingw-w64-x86_64-ccache
- mingw-w64-x86_64-curl-winssl
- mingw-w64-x86_64-gcc
- mingw-w64-x86_64-glib2
- mingw-w64-x86_64-libnfs
- mingw-w64-x86_64-libssh
- mingw-w64-x86_64-ninja
- mingw-w64-x86_64-pixman
- mingw-w64-x86_64-pkgconf
- mingw-w64-x86_64-python
- mingw-w64-x86_64-python-certifi
- mingw-w64-x86_64-python-setuptools
- mingw-w64-x86_64-python-wheel
- mingw-w64-x86_64-rust
- mingw-w64-x86_64-rust-bindgen
- mingw-w64-x86_64-zstd"
+ mingw-w64-ucrt-x86_64-binutils
+ mingw-w64-ucrt-x86_64-ca-certificates
+ mingw-w64-ucrt-x86_64-ccache
+ mingw-w64-ucrt-x86_64-curl-winssl
+ mingw-w64-ucrt-x86_64-gcc
+ mingw-w64-ucrt-x86_64-glib2
+ mingw-w64-ucrt-x86_64-libnfs
+ mingw-w64-ucrt-x86_64-libssh
+ mingw-w64-ucrt-x86_64-ninja
+ mingw-w64-ucrt-x86_64-pixman
+ mingw-w64-ucrt-x86_64-pkgconf
+ mingw-w64-ucrt-x86_64-python
+ mingw-w64-ucrt-x86_64-python-certifi
+ mingw-w64-ucrt-x86_64-python-setuptools
+ mingw-w64-ucrt-x86_64-python-wheel
+ mingw-w64-ucrt-x86_64-rust
+ mingw-w64-ucrt-x86_64-rust-bindgen
+ mingw-w64-ucrt-x86_64-zstd"
- .\msys64\usr\bin\bash -lc "pacman -Sc --noconfirm"
- Write-Output "Running build at $(Get-Date -Format u)"
- $env:JOBS = $(.\msys64\usr\bin\bash -lc nproc)