All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Yonggang Luo" <luoyonggang@gmail.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>
Cc: Richard Henderson <richard.henderson@linaro.org>,
	Peter Maydell <peter.maydell@linaro.org>,
	Stefan Weil <sw@weilnetz.de>,
	qemu-devel@nongnu.org
Subject: [PATCH] gitlab-ci: Switch the msys2 job to use ucrt
Date: Mon, 23 Nov 2026 14:14:27 +0100	[thread overview]
Message-ID: <20261123131427.209394-2-thuth@redhat.com> (raw)
In-Reply-To: <20261123131427.209394-1-thuth@redhat.com>

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>
---
 .gitlab-ci.d/windows.yml | 39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 145500ae464..ec697f407f4 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)
-- 
2.56.1



  reply	other threads:[~2026-11-23 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 13:14 [PATCH] gitlab-ci: Switch the msys2 job to use ucrt Thomas Huth
2026-11-23 13:14 ` Thomas Huth [this message]
2026-11-23 16:53 ` Pierrick Bouvier
2026-11-23 20:30 ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123131427.209394-2-thuth@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=luoyonggang@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.