Source: libhtml-parser-perl
Version: 3.72-3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

libhtml-parser-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-parser-perl-3.72/debian/changelog 
libhtml-parser-perl-3.72/debian/changelog
--- libhtml-parser-perl-3.72/debian/changelog   2016-11-21 19:31:20.000000000 
+0100
+++ libhtml-parser-perl-3.72/debian/changelog   2020-02-18 20:29:27.000000000 
+0100
@@ -1,3 +1,12 @@
+libhtml-parser-perl (3.72-3.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:29:27 +0100
+
 libhtml-parser-perl (3.72-3) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru libhtml-parser-perl-3.72/debian/control 
libhtml-parser-perl-3.72/debian/control
--- libhtml-parser-perl-3.72/debian/control     2016-11-21 19:31:20.000000000 
+0100
+++ libhtml-parser-perl-3.72/debian/control     2020-02-18 20:29:27.000000000 
+0100
@@ -7,12 +7,12 @@
 Section: perl
 Testsuite: autopkgtest-pkg-perl
 Priority: optional
-Build-Depends: perl,
+Build-Depends: perl-xs-dev,
                debhelper (>= 9.20120312),
-               libhtml-tagset-perl,
-               libhttp-message-perl,
-               libtest-pod-perl,
-               liburi-perl
+               libhtml-tagset-perl <!nocheck>,
+               libhttp-message-perl <!nocheck>,
+               libtest-pod-perl <!nocheck>,
+               liburi-perl <!nocheck>
 Standards-Version: 3.9.8
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libhtml-parser-perl.git
 Vcs-Git: 
https://anonscm.debian.org/git/pkg-perl/packages/libhtml-parser-perl.git

Reply via email to