* [PATCH] gitlab-ci: Switch the msys2 job to use ucrt
@ 2026-11-23 13:14 Thomas Huth
2026-11-23 13:14 ` Thomas Huth
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Thomas Huth @ 2026-11-23 13:14 UTC (permalink / raw)
To: Yonggang Luo, Alex Bennée, Pierrick Bouvier
Cc: Richard Henderson, Peter Maydell, Stefan Weil, qemu-devel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] gitlab-ci: Switch the msys2 job to use ucrt
2026-11-23 13:14 [PATCH] gitlab-ci: Switch the msys2 job to use ucrt Thomas Huth
@ 2026-11-23 13:14 ` Thomas Huth
2026-11-23 16:53 ` Pierrick Bouvier
2026-11-23 20:30 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2026-11-23 13:14 UTC (permalink / raw)
To: Yonggang Luo, Alex Bennée, Pierrick Bouvier
Cc: Richard Henderson, Peter Maydell, Stefan Weil, qemu-devel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] gitlab-ci: Switch the msys2 job to use ucrt
2026-11-23 13:14 [PATCH] gitlab-ci: Switch the msys2 job to use ucrt Thomas Huth
2026-11-23 13:14 ` Thomas Huth
@ 2026-11-23 16:53 ` Pierrick Bouvier
2026-11-23 20:30 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Pierrick Bouvier @ 2026-11-23 16:53 UTC (permalink / raw)
To: Thomas Huth, Yonggang Luo, Alex Bennée
Cc: Richard Henderson, Peter Maydell, Stefan Weil, qemu-devel
On 11/23/2026 5:14 AM, Thomas Huth wrote:
> 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(-)
>
Thanks for the analysis and quick fix.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Regards,
Pierrick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gitlab-ci: Switch the msys2 job to use ucrt
2026-11-23 13:14 [PATCH] gitlab-ci: Switch the msys2 job to use ucrt Thomas Huth
2026-11-23 13:14 ` Thomas Huth
2026-11-23 16:53 ` Pierrick Bouvier
@ 2026-11-23 20:30 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2026-11-23 20:30 UTC (permalink / raw)
To: Thomas Huth, Yonggang Luo, Alex Bennée, Pierrick Bouvier
Cc: Peter Maydell, Stefan Weil, qemu-devel
On 11/23/26 05:14, Thomas Huth wrote:
> 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(-)
Thanks. Applied directly to master.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-23 20:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 13:14 [PATCH] gitlab-ci: Switch the msys2 job to use ucrt Thomas Huth
2026-11-23 13:14 ` Thomas Huth
2026-11-23 16:53 ` Pierrick Bouvier
2026-11-23 20:30 ` Richard Henderson
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.