Repository navigation
Build the msys2 CI job in the UCRT64 environment - #943
Merged
Merged
Conversation
This was referenced Nov 23, 2026
MSYS2 no longer provides qt6-static for the MINGW64 environment, so the msys2 job failed to install its packages. It now builds in UCRT64, which still has qt6-static and all the other packages the job uses, so isle-config stays statically linked against Qt. The job keeps its name because it is a required check. UCRT64's static Qt 6.12 links Qt6Core against the static OpenSSL libraries, which need Winsock, crypt32 and bcrypt. They come last in Qt's link interface, so these system libraries are now added at the end of isle-config's link line, next to rpcrt4.
foxtacles
force-pushed
the
ci-msys2-ucrt64
branch
from
November 23, 2026 04:46
98f99eb to
2f0ce62
Compare
foxtacles
enabled auto-merge (squash)
November 23, 2026 04:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The msys2 mingw64 CI job fails while setting up MSYS2:
error: target not found: mingw-w64-x86_64-qt6-static. MSYS2 no longer providesqt6-staticfor the MINGW64 environment; it is only available for UCRT64, CLANG64 and CLANGARM64 now.The job now builds in UCRT64 (
mingw-w64-ucrt-x86_64-*), which still hasqt6-staticand all the other packages the job installs, so isle-config stays statically linked against Qt (#868) and the Windows x64 tarball keeps working without Qt DLLs. UCRT is part of Windows 10 and later and is what the MSVC builds use as well.UCRT64's static Qt is 6.12, whose Qt6Core links the static OpenSSL libraries. Those need Winsock, crypt32 and bcrypt, which come after them nowhere on the link line, so isle-config's link failed with undefined references to
WSAGetLastError,CertOpenSystemStoreW,BCryptGenRandomand friends. These system libraries are now added at the end of the link line, next torpcrt4.The job keeps its name
msys2 mingw64because that name is a required status check; renaming it would also need the branch protection's required checks updated.The Vita and MSVC (x64) jobs fail here for unrelated reasons, fixed in #942 and #944.
🤖 Generated with Claude Code
https://claude.ai/code/session_0179vyTGZwyMZgoazji12e2B