Bug#1007754: libgcrypt20: clean-up-unmanaged-libraries breaks foreign architecture DPKG_ROOT support

Johannes Schauer Marin Rodrigues josch at debian.org
Wed Mar 16 09:53:11 GMT 2022


Source: libgcrypt20
Version: 1.8.7-6
Severity: normal
Tags: patch
User: debian-dpkg at lists.debian.org
Usertags: dpkg-root-support
X-Debbugs-Cc: josch at debian.org

Hi,

the script clean-up-unmanaged-libraries does not support DPKG_ROOT which
breaks creating foreign architecture chroots with dpkg
--force-script-chrootless. Instead of adding DPKG_ROOT support to
clean-up-unmanaged-libraries it seems that this script is only useful
when upgrading libgcrypt20 and is not necessary for new installations of
the package. Because DPKG_ROOT is only used for new installations, an
easy fix to this situation is to run clean-up-unmanaged-libraries only
on upgrades and not on new installations.

I created the following merge request that fixes this issue:

https://salsa.debian.org/gnutls-team/libgcrypt/-/merge_requests/6

Thanks!

cheers, josch



More information about the Pkg-gnutls-maint mailing list