Source: libbackuppc-xs-perl
Version: 0.62-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

libbackuppc-xs-perl fails to cross build from source, because it builds
a perl extension without depending on perl-xs-dev. During native builds,
the relevant pieces are implicitly avilable due to the dependencies
induced by debhelper. For performing cross builds however, all perl
extensions must add perl-xs-dev to Build-Depends. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru libbackuppc-xs-perl-0.62/debian/changelog 
libbackuppc-xs-perl-0.62/debian/changelog
--- libbackuppc-xs-perl-0.62/debian/changelog   2020-07-04 19:23:24.000000000 
+0200
+++ libbackuppc-xs-perl-0.62/debian/changelog   2021-06-16 14:10:44.000000000 
+0200
@@ -1,3 +1,10 @@
+libbackuppc-xs-perl (0.62-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Missing build dependency on perl-xs-dev. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 16 Jun 2021 14:10:44 +0200
+
 libbackuppc-xs-perl (0.62-1) unstable; urgency=medium
 
   * Import new upstream release 0.62.
diff --minimal -Nru libbackuppc-xs-perl-0.62/debian/control 
libbackuppc-xs-perl-0.62/debian/control
--- libbackuppc-xs-perl-0.62/debian/control     2020-07-04 19:03:57.000000000 
+0200
+++ libbackuppc-xs-perl-0.62/debian/control     2021-06-16 14:10:44.000000000 
+0200
@@ -6,6 +6,7 @@
 Priority: optional
 Standards-Version: 4.5.0
 Build-Depends: debhelper-compat (= 13),
+               perl-xs-dev,
                zlib1g-dev
 Homepage: https://github.com/backuppc/backuppc-xs
 Vcs-Git: https://salsa.debian.org/debian/libbackuppc-xs-perl.git

Reply via email to