Bug#1107771: dh-make-perl FTBFS without /var/lib/dpkg/available

Jochen Sprickerhof jspricke at debian.org
Sat Jun 14 07:16:23 BST 2025


Source: dh-make-perl
Version: 0.128
Severity: normal
Tags: ftbfs

Hi,

dh-make-perl currently fails to reproduce on reproduce.d.n:

https://reproduce.debian.net/all/#dh-make-perl

This is due to two things:

1. The package assumes that a /var/lib/dpkg/available file exists. This
is not guaranteed. For example mmdebstrap does not create it. You can
test that by using sbuild from trixie or bookworm-backports with:

sbuild --chroot-mode=unshare --dist=unstable --no-run-lintian dh-make-perl

2. The package uses /usr/lib/apt/apt-helper from the apt package in
lib/Debian/AptContents.pm. Note that apt is not essential so the package
has a missing build dependency on apt (and probably also a missing
dependency).

Cheers Jochen


-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.32-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-perl-maintainers mailing list