Source: libmarpa-r2-perl
Version: 2.086000~dfsg-6
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libmarpa-r2-perl cannot be cross built from source, because its
Build-Depends are not satisfiable. Rather than look into this difficult
problem, I looked into easily droppable dependencies using reproducible
builds.

 * devscripts is unused. No binary of it is mentioned anywhere. But a
   build complains about missing licensecheck. Did you miss the
   devscripts -> licensecheck split?
 * The versioned perl dependencies are satisfied in old-old-stable. They
   can simply be dropped.
 * Since libmarpa-r2-perl is a perl extension, it should build depend on
   the cross-friendly perl-xs-dev rather than perl.
 * libppi-perl is used in unit tests only. Annotate <!nocheck>.

Please consider applying the attached patch.

Helmut
diff --minimal -Nru libmarpa-r2-perl-2.086000~dfsg/debian/changelog 
libmarpa-r2-perl-2.086000~dfsg/debian/changelog
--- libmarpa-r2-perl-2.086000~dfsg/debian/changelog     2016-06-26 
19:52:59.000000000 +0200
+++ libmarpa-r2-perl-2.086000~dfsg/debian/changelog     2021-01-20 
06:20:55.000000000 +0100
@@ -1,3 +1,14 @@
+libmarpa-r2-perl (2.086000~dfsg-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused devscripts dependency. Did you mean licensecheck?
+    + Drop versioned perl dependencies satisfied in o-o-s.
+    + Replace perl with perl-xs-dev for building a perl extension.
+    + Annotate libppi-perl <!nocheck>.
+
+ -- Helmut Grohne <[email protected]>  Wed, 20 Jan 2021 06:20:55 +0100
+
 libmarpa-r2-perl (2.086000~dfsg-6) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru libmarpa-r2-perl-2.086000~dfsg/debian/control 
libmarpa-r2-perl-2.086000~dfsg/debian/control
--- libmarpa-r2-perl-2.086000~dfsg/debian/control       2016-06-26 
19:52:59.000000000 +0200
+++ libmarpa-r2-perl-2.086000~dfsg/debian/control       2021-01-20 
06:20:52.000000000 +0100
@@ -6,20 +6,16 @@
 Priority: optional
 Build-Depends: cdbs (>= 0.4.123~),
                autotools-dev,
-               devscripts,
                libtool,
                automake,
                autoconf,
                debhelper,
                dh-buildinfo,
-               perl (>= 5.17.1) | libcpan-meta-perl (>= 2.120921),
                libconfig-autoconf-perl (>= 0.22),
-               perl (>= 5.11.2) | libextutils-cbuilder-perl,
                libmodule-build-perl (>= 0.400300),
-               perl (>= 5.11),
+               perl-xs-dev,
                libhtml-parser-perl (>= 3.69),
-               perl (>= 5.11.1) | libtest-simple-perl (>= 0.94),
-               libppi-perl
+               libppi-perl <!nocheck>,
 Standards-Version: 3.9.6
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libmarpa-r2-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmarpa-r2-perl

Reply via email to