Bug#1057424: libmodule-build-perl: Multi-Arch: foreign makes other packages FTBFS
Niko Tyni
ntyni at debian.org
Mon Dec 4 19:59:12 GMT 2023
Package: libmodule-build-perl
Version: 0.423400-2
Severity: serious
Tags: ftbfs
Control: affects -1 libnet-cidr-set-perl libparams-validate-perl
X-Debbugs-Cc: debian-cross at lists.debian.org
Control: block 1055955 with -1
The libnet-cidr-set-perl and libparams-validate-perl packages
fail to build from source in current unstable.
>From a full build log at
http://perl.debian.net/rebuild-logs/sid/libparams-validate-perl_1.31-1/libparams-validate-perl_1.31-1.buildlog
Command: dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -Zxz
dpkg-buildpackage: info: source package libparams-validate-perl
dpkg-buildpackage: info: source version 1.31-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by gregor herrmann <gregoa at debian.org>
dpkg-source -Zxz --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: libmodule-build-perl:native
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
This is because libmodule-build-perl was recently marked
Multi-Arch:foreign, but dpkg-checkbuilddeps does not consider that as
satisfying :native build dependencies, see #1023438.
My understanding is that M-A:foreign is probably the right thing
to do here, but we need to remove the :native build dependency
in other packages first. Fortunately I see only two in the archive,
libnet-cidr-set-perl and libparams-validate-perl.
grep-dctrl -sPackage,Build-Depends,Build-Depends-Indep -FBuild-Depends,Build-Depends-Indep -r 'libmodule-build-perl[^,]*:native' /var/lib/apt/lists/*_main_source_Sources
Filing against libmodule-build-perl for now to prevent it from entering
trixie before the other two are changed. Feel free to reassign or clone
or whatever if you like.
As libparams-validate-perl is an arch:any XS module, we need to fix it
one way or another before the Perl 5.38 transition. So marking this as
a blocker.
Copying the debian-cross list in case I got something wrong :)
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list