Skip to content

make-file-list: omit optional and unused MSYS components - #775

Merged
dscho merged 2 commits into
mainfrom
make-file-list-dll-dependencies
Nov 24, 2026
Merged

dscho merged 2 commits into
mainfrom
make-file-list-dll-dependencies

Conversation

@dscho

@dscho dscho commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Address the remaining MSYS dependency-check failures:

  • Perl 5.42.3-5 made GDBM optional while retaining its core backends.
  • MSYS curl 8.23.0-2 also introduced HTTP/3 packages through gnupg and libcurl, whose DLL is already excluded.
    These optional or unused components should stay outside the distribution.

The related mingw-w64-curl failure (it still links against OpenSSL 3 but that was upgraded to 4, changing the DLL's name) is addressed separately by git-for-windows/MINGW-packages#236.

@dscho dscho self-assigned this Nov 24, 2026
@dscho
dscho marked this pull request as draft November 24, 2026 00:20
The installer file list includes GDBM_File.dll and NDBM_File.dll
without msys-gdbm-6.dll or msys-gdbm_compat-4.dll, failing the
dependency check:

https://github.com/git-for-windows/git-sdk-arm64/actions/runs/45272958371

The SDK update to Perl 5.42.3-5 made gdbm optional, so the required
package dependency closure no longer includes those libraries:

git-for-windows/git-sdk-arm64@3d3199377725

Omit these optional Perl backends, as we already do for DB_File, rather
than add libgdbm to the shipped packages.

That alone is not enough, though: the Perl in git-sdk-32 and in the
`mingw64` branch of git-sdk-64 still requires gdbm, and there, omitting
the backends leaves msys-gdbm_compat-4.dll without any user:

https://github.com/git-for-windows/build-extra/actions/runs/45295703410

Once the Perl backends are gone, nothing Git for Windows ships needs
gdbm (msys-gdbm-6.dll serves only gdbm's own tools and the compat DLL).
Therefore, exclude the gdbm and libgdbm packages, too, just as the db
package is excluded alongside DB_File. In the newer SDKs, gdbm already
dropped out of the closure, so this only brings the older ones in line.

Assisted-by: GitHub Copilot (Auto)
Signed-off-by: Johannes Schindelin <[email protected]>
The unused-DLL check fails on libnghttp3 and libngtcp2:
https://github.com/git-for-windows/git-sdk-arm64/actions/runs/45272958371

These arrived with the SDK's MSYS curl/libcurl update:
git-for-windows/git-sdk-arm64@8fecd9268918

gnupg pulls them in through libcurl, whose MSYS DLLs we already exclude.
No selected MSYS binary imports libnghttp3 or either ngtcp2 crypto
adapter; only the adapters reference the core ngtcp2 DLL. OpenSSH
requires neither package.

Keep the entire unused dependency island out of the distribution,
including its license files.

Assisted-by: GitHub Copilot (Auto)
Signed-off-by: Johannes Schindelin <[email protected]>
@dscho
dscho force-pushed the make-file-list-dll-dependencies branch from 2d83e69 to ba81987 Compare November 24, 2026 07:08
@dscho

dscho commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

The remaining failures are expected, as a consequence of git-for-windows/MINGW-packages#236 not having made it into the SDKs yet.

@dscho
dscho marked this pull request as ready for review November 24, 2026 08:35
@dscho
dscho merged commit 7169448 into main Nov 24, 2026
20 of 22 checks passed
@dscho
dscho deleted the make-file-list-dll-dependencies branch November 24, 2026 08:35
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.

1 participant