Source: libcrypt-openssl-dsa-perl
Version: 0.19-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

libcrypt-openssl-dsa-perl fails to cross build from source, because it
misses a dependency on perl-xs-dev and thus fails to use the cross
Config.pm. Lateron it fails cleaning up some files, because it uses the
build architecture ARCHLIB directory rather than the host one. Please
consider applying the attached patch to make libcrypt-openssl-dsa-perl
cross buildable.

Helmut
diff --minimal -Nru libcrypt-openssl-dsa-perl-0.19/debian/changelog 
libcrypt-openssl-dsa-perl-0.19/debian/changelog
--- libcrypt-openssl-dsa-perl-0.19/debian/changelog     2017-01-14 
16:23:36.000000000 +0100
+++ libcrypt-openssl-dsa-perl-0.19/debian/changelog     2020-01-19 
07:08:44.000000000 +0100
@@ -1,3 +1,12 @@
+libcrypt-openssl-dsa-perl (0.19-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Missing Build-Depends: perl-xs-dev.
+    + Correctly compute ARCHLIB.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 19 Jan 2020 07:08:44 +0100
+
 libcrypt-openssl-dsa-perl (0.19-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru libcrypt-openssl-dsa-perl-0.19/debian/control 
libcrypt-openssl-dsa-perl-0.19/debian/control
--- libcrypt-openssl-dsa-perl-0.19/debian/control       2017-01-14 
16:23:36.000000000 +0100
+++ libcrypt-openssl-dsa-perl-0.19/debian/control       2020-01-19 
07:08:43.000000000 +0100
@@ -9,6 +9,7 @@
                libssl-dev,
                openssl,
                perl-openssl-defaults,
+               perl-xs-dev,
                pkg-config
 Standards-Version: 3.9.8
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libcrypt-openssl-dsa-perl.git
diff --minimal -Nru libcrypt-openssl-dsa-perl-0.19/debian/rules 
libcrypt-openssl-dsa-perl-0.19/debian/rules
--- libcrypt-openssl-dsa-perl-0.19/debian/rules 2017-01-14 16:23:36.000000000 
+0100
+++ libcrypt-openssl-dsa-perl-0.19/debian/rules 2020-01-19 07:08:44.000000000 
+0100
@@ -3,7 +3,9 @@
 
 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=+bindnow
 

Reply via email to