-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orphaned and unneeded packages #39
Comments
See also git-for-windows/git#5395 |
This is needed to build Portable Git and MinGit.
This is needed to code-sign all the
This is needed for
As far as I remember, this is needed by
This is needed by |
for git-for-windows, see git-for-windows/git-sdk-32#39
sure, done |
tcl or mingw-w64-i686-tcl? (or both)? Given the above, I'd recommend (after the next sync that updates the sync dbs so -7zip and -osslsigncode are no longer orphaned): pacman -S --dbonly --asexplicit mingw-w64-i686-gettext-tools perl-XML-Parser tcl
pacman -Rns $(pacman -Qmq) $(pacman -Qtdq) ... oops, :: removing libcrypt breaks dependency 'libcrypt' required by curl
:: removing libcrypt breaks dependency 'libcrypt' required by heimdal-libs
:: removing libcrypt breaks dependency 'libcrypt' required by libcurl
:: removing libcrypt breaks dependency 'libcrypt' required by libsasl
:: removing libcrypt breaks dependency 'libcrypt' required by openssh
:: removing libcrypt breaks dependency 'libcrypt' required by perl
:: removing libcrypt breaks dependency 'libcrypt' required by perl-XML-Parser wasn't libcrypt replaced with libxcrypt? |
Whoops, you're right,
Sounds good.
It's quite possible that I did not follow best practices there; The packages on the right side seem all to be ones of which Git for Windows builds custom packages. At this stage, just before the last Git for Windows version that ships with i686 installers and Portable Gits, I do not want to put much work into this, though: Come Thursday 🤞we can stop caring about i686 variants of |
what about the check dlls action failure? I tried to figure it out, but the scripts involved were confusing me. I think at least one indicates that git-for-windows-provided i686 gnutls package needs to be rebuilt to link against the current msys-unistring-5.dll. The rest, I don't know. |
I saw git-for-windows/build-extra#591 last night. Too many repositories for me to keep track of 😉
libcrypt-devel was removed and replaced with libxcrypt-devel in July 2023, and libcrypt was dropped in October. I'll look at making a PR in the git-for-windows/MSYS2-packages fork to switch these packages to say they depend on libxcrypt. |
Yup, and for me it's even too many patches to keep track of, upstream Git is currently making my life hard.
Thank you. It wouldn't be possible to mark |
The reason that wasn't done at the time was that libcrypt provided msys-crypt-0.dll while libxcrypt provides msys-crypt-2.dll. Both were kept for a time so that it wouldn't break the world (in the sort of way you seem to have noticed with msys-unistring-2 -> 5 in i686 😁) while packages were rebuilt. GfW's i686 packages of course missed the transition period due to the periodic-sync-nature of i686 updates. Hopefully git-for-windows/MSYS2-packages#218 results in everything there linking to msys-crypt-0.dll being updated (and if not, somebody's missing a depends on libcrypt). |
(I just wanted to add that it wasn't my intention with the sync to make this much extra work this close to the git4win 32bit semi-EOL. In theory the sync could be ignored, no?) |
Make that
After git-for-windows/MSYS2-packages#218. How is this done? The dbonly could be reasonably done as a PR against this repo, I guess, the local db is text so the changes will be obvious. Is there a need for some workflow to remove packages? (In that case it'd be better to inline the list explicitly rather than using |
#40 for consideration. You'd probably need to do whatever needs doing to repo-remove the unneeded i686 packages (libsasl is blocking removing libcrypt at this point). |
Indeed, and that My best idea for that would be to copy-edit the |
Result of running: pacman -S --dbonly --asexplicit mingw-w64-i686-gettext-tools perl-XML-Parser Part of #39 Signed-off-by: Jeremy Drake <[email protected]>
If you don't beat me to it, I'll try to look at that tomorrow. I've also got a fix for Cygwin to try to get submitted tomorrow too, since it sounds like 3.6.0 is expected to be released in a couple of weeks. |
Result of running: pacman -S --dbonly --asexplicit mingw-w64-i686-gettext-tools perl-XML-Parser Part of #39 Signed-off-by: Jeremy Drake <[email protected]>
Calls pacman-helper.sh quick_remove. For git-for-windows/git-sdk-32#39 (comment) Signed-off-by: Jeremy Drake <[email protected]>
Git for Windows relies on MSYS2 for a lot of packages, but also provides some packages of its own. Sometimes, Git for Windows even overrides (or "shadows") MSYS2's packages. And sometimes Git for Windows needs to stop overriding such packages. This new GitHub workflow allows for stopping to override MSYS2 packages by calling the shiny new `pacman-helper.sh quick_remove` functionality added in git-for-windows/build-extra#597. This will be used to clean up Git for Windows' Pacman repository after the most recent batch of MSYS2 updates to its i686 repository, see git-for-windows/git-sdk-32#39 (comment) for full details. Co-authored-by: Johannes Schindelin <[email protected]> Signed-off-by: Jeremy Drake <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
I daresay that this has been addressed via #42 and #43. Thank you so much @jeremyd2019! |
Orphaned packages (no longer in a repo):
(those last two I blame on the dropping of mingw32 from packages in msys2/MINGW-packages. @lazka maybe they could be reconsidered if they don't have too many deps, which they don't seem to)
Packages that were installed as dependencies but are not required by any installed packages:
I don't know if any of these are still needed (and should be marked as explicitly installed) or if they're left behind after updates made them no longer necessary.
The text was updated successfully, but these errors were encountered: