gh: fix msys and cygwin jobs of windows-tests workflow - #708
Open
xdelaruelle wants to merge 2 commits into
Open
xdelaruelle wants to merge 2 commits into
xdelaruelle wants to merge 2 commits into
Conversation
MSYS2 removed its mksh package on 2026-09-28 and provides no other ksh flavor, so the pacman install step of the msys job now fails on an unknown target. Stop requesting this package. The testsuite skips ksh tests when no ksh binary is found, so no test adaptation is needed. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
Since Cygwin and MSYS2 updated their libuv package to 1.53.0, the install testsuite of the cygwin and msys jobs hangs until the 6 hour job limit cancels it. This libuv version switches process spawning on Unix from fork to posix_spawn, which cmake relies on for execute_process. Only the install testsuite runs the cmake initialization script, which explains why the build testsuite still passes. Pin libuv to its previous version on both jobs until the issue is resolved upstream. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
xdelaruelle
force-pushed
the
gh-windows-fixes
branch
from
October 1, 2026 04:31
0d6a399 to
e7d4524
Compare
This branch has not been deployed
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.
Both jobs of the
windows-testsworkflow broke on the latest main run without any relevant change in the repository:error: target not found: mksh. MSYS2 removed its mksh package on 2026-09-28 ([remove package] mksh msys2/MSYS2-packages#6601) and provides no other ksh flavor. Dropmkshfrom the pacman package list. The testsuite already skips ksh tests when no ksh binary is found.libuv1(1.52.1 to 1.53.0) andlibexpat1changed, and MSYS2 moved to libuv 1.53.0 as well. libuv 1.53.0 switches process spawning on Unix from fork to posix_spawn (unix: use posix_spawn instead of fork libuv/libuv#3520), which cmake relies on forexecute_process. Only the install testsuite executes the cmake initialization script, which matches the build testsuite still passing. Pin libuv to 1.52.1-1 on both jobs until the issue is resolved upstream: through the package spec on cygwin, and by downgrading from the still-published MSYS2 package on msys.The words needed by the commit messages are added to the spelling dictionary.