Source: libdevel-nytprof-perl Version: 6.11+dfsg-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
libdevel-nytprof-perl fails to cross build from source, because debian/rules sets ARCHLIB such that it contains DEB_BUILD_MULTIARCH, but it operates on he host arch file system tree. Please consider applying the attached to correctly compute ARCHLIB. Helmut
--- libdevel-nytprof-perl-6.11+dfsg/debian/changelog +++ libdevel-nytprof-perl-6.11+dfsg/debian/changelog @@ -1,3 +1,10 @@ +libdevel-nytprof-perl (6.11+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Set ARCHLIB for the host architecture. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 02 Nov 2021 16:16:44 +0100 + libdevel-nytprof-perl (6.11+dfsg-1) unstable; urgency=medium * Import upstream version 6.11+dfsg. --- libdevel-nytprof-perl-6.11+dfsg/debian/rules +++ libdevel-nytprof-perl-6.11+dfsg/debian/rules @@ -2,7 +2,10 @@ PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) -ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}') +include /usr/share/dpkg/architecture.mk +PERLVER := $(shell perl -MConfig -e 'print $$Config{version}') +ARCHLIB := $(shell perl -I/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(PERLVER) -MConfig -e 'print $$Config{vendorarch}') + export DEB_BUILD_MAINT_OPTIONS = hardening=+all