Source: libhtml-strip-perl
Version: 2.10-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

libhtml-strip-perl cannot be cross built from source, because its
Build-Depends are not satisfiable. The perl dependency should be
replaced with perl-xs-dev as it builds a perl extension module. All of
the perl modules are only required for testing and can thus be annotated
with <!nocheck>. I verified that a nocheck build produces the exact same
binary package as a regular build. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru libhtml-strip-perl-2.10/debian/changelog 
libhtml-strip-perl-2.10/debian/changelog
--- libhtml-strip-perl-2.10/debian/changelog    2016-06-29 21:41:43.000000000 
+0200
+++ libhtml-strip-perl-2.10/debian/changelog    2020-02-18 20:42:20.000000000 
+0100
@@ -1,3 +1,12 @@
+libhtml-strip-perl (2.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Build-Depends: perl-xs-dev.
+    + Annotate test dependencies with <!nocheck>.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 18 Feb 2020 20:42:20 +0100
+
 libhtml-strip-perl (2.10-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru libhtml-strip-perl-2.10/debian/control 
libhtml-strip-perl-2.10/debian/control
--- libhtml-strip-perl-2.10/debian/control      2016-06-29 21:41:43.000000000 
+0200
+++ libhtml-strip-perl-2.10/debian/control      2020-02-18 20:42:20.000000000 
+0100
@@ -4,9 +4,9 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 9.20120312~),
-               perl,
-               libhtml-parser-perl,
-               libtest-exception-perl
+               perl-xs-dev,
+               libhtml-parser-perl <!nocheck>,
+               libtest-exception-perl <!nocheck>
 Standards-Version: 3.9.8
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libhtml-strip-perl.git
 Vcs-Git: 
https://anonscm.debian.org/git/pkg-perl/packages/libhtml-strip-perl.git

Reply via email to