Repository navigation
Conversation
…not for merge) Diffing the exact "Packages (N)" resolution lines pacman printed in the last passing OSGeo4W run (2026-09-24) against the first failing one (2026-09-25) shows every installed MSYS2/mingw64 package identical except one family: mingw-w64-x86_64-crt/headers/tools/libmangle/ libwinpthread/winpthreads/winstorecompat, which moved from git snapshot r420.g61d40c4c0 to r426.g4564ee4b5. These are mingw-w64's own rolling git-snapshot packages (no stable/versioned alternative exists), pulled in by gcc/toolchain and forced to the latest snapshot by this workflow's unconditional `update: true` (a full pacman -Syu before installing requested packages). A separate exports/imports diff of gdal313.dll, libcurl.dll, and libssl/libcrypto (old vs new OSGeo4W builds, via dumpbin) found no removed symbols relevant to any osgeo Python binding, ruling out the GDAL package bump that happened in the same window as an unrelated coincidence. This sets update: false to check whether skipping the pacman sync (and thus not pulling the newer crt/headers/winpthreads snapshot) avoids the "DLL load failed... procedure could not be found" crash when ctypes loads grass_gis.8.6.dll. Temporary, for CI investigation only. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Purpose
Follow-up to the gdal313.dll/dumpbin diagnostic PR, which ruled out
GDAL, curl, and OpenSSL as the cause of the OSGeo4W CI regression
(no relevant exported symbols removed on either side, confirmed with
dumpbin against the actual old/new package builds).
The real, actual failure (re-checked directly against the original
reported job logs, not just the pytest summary) is a fatal Windows
exception, not a clean ImportError:
occurring in
ctypes.CDLL.__init__whilegrass/lib/gis.pyloadsgrass_gis.8.6.dll-- GRASS's own core library, compiled fresh inthat CI run from source, not an OSGeo4W package.
What actually changed
Diffing pacman's
Packages (N)resolution summary line between thelast passing run (2026-09-24 18:47 UTC) and the first failing one
(2026-09-25/26 01:0x UTC), every one of the ~150 installed MSYS2 and
mingw64 packages is identical (same gcc-16.2.0-4, binutils-2.47-3,
libiconv-1.19-1, pcre-8.45-2, zlib-1.3.2-2, etc.) except one family,
which moved from git snapshot
r420.g61d40c4c0tor426.g4564ee4b5:These are mingw-w64's own rolling git-snapshot packages (there is no
stable/versioned alternative build), pulled in transitively by
gcc/toolchain, and forced to the current upstream snapshot by this
workflow's
update: true, which runs a fullpacman -Syubeforeinstalling the requested package list. The old r420 snapshot has
already been pruned from the public MSYS2 mirrors (rolling
-gitpackages aren't retained once superseded), so a direct dumpbin
export/import diff like the GDAL one isn't possible; this PR tests
the regression indirectly instead.
What this PR does
Sets
update: falseon themsys2/setup-msys2step, skipping thepacman -Syusync so package resolution uses whatever crt/headers/winpthreads snapshot is already bundled in the pinned setup-msys2
action release, rather than pulling the latest upstream git snapshot.
If this avoids the crash, it confirms the mingw-w64 CRT/headers/
winpthreads snapshot bump as the cause.
This PR is for CI investigation only and is not meant to be merged.
🤖 Generated with Claude Code