Repository navigation
CI: the windows cross build installs the one mingw target it uses - #237
Merged
Merged
Conversation
The mkfs-windows job's apt-get install has failed three runs out of three: the mingw-w64 metapackage pulls both targets, both thread models and g++, 277 MB in 25 packages, and the runner's mirror served them at a package a minute, past the script's five-minute guard. The cross build is C for x86_64 with the posix thread model: the compiler, its binutils and the headers for that target alone, with no recommended packages, a quarter of the download. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: closer-claudio <claudio@farcloser.world>
apostasie
approved these changes
Nov 10, 2026
closer-claudio
enabled auto-merge
November 10, 2026 05:04
Author
|
Reviewed at e13678d |
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.
🎯 Why
The
mkfs-windowsjob'sapt-get installhas failed three runs out of three: https://github.com/forkcloser/erofs/actions/runs/42751440362 on main, and both attempts of https://github.com/forkcloser/erofs/actions/runs/42751565149 on #233, each killed by the script's five-minute guard. Themingw-w64metapackage pulls both targets, both thread models and g++, 277 MB in 25 packages, and the runner's mirror served them at one every twenty to sixty seconds while the index refresh just before fetched 13 MB in a second.🛠️ What
.github/scripts/build-erofs-utils.sh, the windows branch:binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64-posix mingw-w64-x86-64-devwith--no-install-recommends, in place ofmingw-w64.🧪 How
The cross build is C for one target with one thread model: it calls
x86_64-w64-mingw32-gcc,-ar,-windresand-strip, and installs lz4 and the compat headers into/usr/x86_64-w64-mingw32. V:gcc-mingw-w64-x86-64-posixregistersx86_64-w64-mingw32-gccthrough update-alternatives and depends onbinutils-mingw-w64-x86-64,gcc-mingw-w64-base, its runtime andmingw-w64-x86-64-dev(noble's package records); none of the three carries a Recommends; the debs total about 62 MB against the log's 277. V: shellcheck clean,just lintgreen. U: the install itself ran on no Ubuntu host here; this job's run is the proof, and the guard stays.