Skip to content

CI: build the MINGW32 msys2 job without ccache (MSYS2 dropped mingw-w64-i686-ccache) - #6264

Open
glaziermag wants to merge 1 commit into
OpenMathLib:developfrom
glaziermag:ci/msys2-mingw32-ccache
Open

glaziermag wants to merge 1 commit into
OpenMathLib:developfrom
glaziermag:ci/msys2-mingw32-ccache

Conversation

@glaziermag

Copy link
Copy Markdown
Contributor

Every continuous build run on develop since 11-10 has failed in the msys2 (MINGW32, int32, Release) job: 33 of 33, latest run 44050508926 on dbf2c24. No pull request run has passed since then either. The job stops in "Install build dependencies", before it builds or tests anything:

error: target not found: mingw-w64-i686-ccache

MSYS2 removed that package on 11-09 (msys2/MINGW-packages@1b59c24, "Drop leaf mingw32 packages, part 5"). The job still requests it through ccache:p (dynamic_arch.yml#L267). The last green run was run 42427205300 on 11-07.

This PR gives the MINGW32 matrix entry no-ccache: true. For that entry it skips the ccache package, the five ccache steps and the compiler launcher, the same way fc-pkg already handles the missing i686 gfortran (d394815). For the other environments the expressions evaluate to the existing values.

Fork runs of the msys2 job on develop dbf2c24 (probe workflows). The repository guard is removed and the matrix narrowed; the steps are otherwise unchanged.

Installing the msys ccache package instead does not work. Every compile then fails with ccache: error: Could not find compiler "C:\msys64\mingw32\bin\cc.exe" in PATH (run 44333978544).

This PR was prepared with Claude Code, which traced the failure, wrote the change and ran the fork probes above.

Generated with Claude Code

MSYS2 dropped mingw-w64-i686-ccache on 2026-11-09 (msys2/MINGW-packages
#33408, "Drop leaf mingw32 packages, part 5"). Since then the msys2
(MINGW32, int32, Release) job fails in "Install build dependencies"
with "target not found: mingw-w64-i686-ccache", before it builds or
tests anything.

Mark the MINGW32 matrix entry no-ccache, the way fc-pkg already handles
the missing i686 gfortran, and skip the ccache package, the ccache steps
and the compiler launcher for it. The other environments are unchanged.
The msys build of ccache is not a substitute: it cannot find the native
compiler from the Windows path that CMake passes to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@martin-frbg

Copy link
Copy Markdown
Collaborator

Thanks - but it is probably just a matter of time until other bits and pieces of mingw-w64-i686 go missing too, as that platform has been deprecated quite some time ago.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants