Public bug reported:
dhcpcd 1:10.3.2-3 (from Debian) produces broken file symlinks in the arch:all
transitional packages dhcpcd and dhcpcd5:
/usr/share/doc/dhcpcd/NEWS.Debian.gz -> ../dhcpcd-base/NEWS.Debian.gz
/usr/share/doc/dhcpcd5/NEWS.Debian.gz -> ../dhcpcd-base/NEWS.Debian.gz
These are created by debhelper compat 13's automatic doc deduplication when
dh_installdocs processes dhcpcd and dhcpcd5 (both arch:all) that depend on
dhcpcd-base (arch:any).
The symlinks are broken in the autopkgtest environment when a test is triggered
by a reverse-dependency (e.g. dnsmasq) rather than by dhcpcd itself. In that
case dhcpcd-base is not upgraded and stays at its pre-installed version, which
predates the introduction of NEWS.Debian.gz. The adequate autopkgtest then
reports broken-symlink for both packages, causing the test to fail.
This blocks dnsmasq/2.93-1 from migrating to stonking.
The fix is to override dh_installdocs in debian/rules to only process
dhcpcd-base, skipping dhcpcd and dhcpcd5. This prevents the auto-deduplication
from creating cross-arch file symlinks. dh_installchangelogs continues to
install NEWS.Debian.gz as a regular file in all three packages (not as
symlinks),
so no content is lost.
override_dh_installdocs:
dh_installdocs -p dhcpcd-base
A source package with the fix (1:10.3.2-3ubuntu2) has been prepared and built
successfully in the PPA ppa:levihackerman-102/maintenance.
Proposed-migration excuses:
https://ubuntu-archive-team.ubuntu.com/proposed-migration/stonking/update_excuses.html#dnsmasq
** Affects: dhcpcd (Ubuntu)
Importance: Undecided
Status: New
** Tags: autopkgtest patch proposed-migration
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2157813
Title:
dhcpcd/1:10.3.2-3: broken cross-arch doc file symlinks cause adequate
autopkgtest failure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dhcpcd/+bug/2157813/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs