Repository navigation
make-file-list: omit optional and unused MSYS components - #775
Merged
Merged
Conversation
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
force-pushed
the
make-file-list-dll-dependencies
branch
from
November 24, 2026 07:08
2d83e69 to
ba81987
Compare
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. |
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.
Address the remaining MSYS dependency-check failures:
curl8.23.0-2 also introduced HTTP/3 packages throughgnupgandlibcurl, whose DLL is already excluded.These optional or unused components should stay outside the distribution.
The related
mingw-w64-curlfailure (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.