[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#979032: webauth has lots of unsatisfiable cross Build-Depends



Source: webauth
Version: 4.7.0-8
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability

webauth has a lot of unsatisfiable cross Build-Depends. A lot of them
are only required for running the test suite, which does not happen
during cross builds. Since webauth is reproducible, I attempted trimming
the dependencies while retaining bit-identical output artifact and a lot
of dependencies could thus be tagged <!nocheck>. I also noticed that it
builds a perl extension. Doing so now requires a dependency on
perl-xs-dev (for cross building). I've updated that dependency as well.
Please consider applying the attached patch as an incremental step
towards cross building. Likely other packages need to be fixed before
webauth can be cross built. So just close this bug once applying
significant portions of the patch.

Helmut
diff --minimal -Nru webauth-4.7.0/debian/changelog webauth-4.7.0/debian/changelog
--- webauth-4.7.0/debian/changelog	2020-12-21 08:09:07.000000000 +0100
+++ webauth-4.7.0/debian/changelog	2020-12-31 08:02:22.000000000 +0100
@@ -1,3 +1,11 @@
+webauth (4.7.0-9) UNRELEASED; urgency=medium
+
+  * Improve cross satisfiability:
+    + Annotate test dependencies with <!nocheck>.
+    + Depend on perl-xs-dev rather than perl for building an extension.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 31 Dec 2020 08:02:22 +0100
+
 webauth (4.7.0-8) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru webauth-4.7.0/debian/control webauth-4.7.0/debian/control
--- webauth-4.7.0/debian/control	2020-12-21 08:02:55.000000000 +0100
+++ webauth-4.7.0/debian/control	2020-12-31 08:02:22.000000000 +0100
@@ -8,37 +8,37 @@
  dh-apache2,
  libapr1-dev,
  libaprutil1-dev,
- libauthen-oath-perl,
- libcgi-application-perl,
- libcgi-application-plugin-autorunmode-perl,
- libcgi-application-plugin-forward-perl,
- libcgi-application-plugin-tt-perl,
- libcgi-fast-perl,
- libcrypt-generatepassword-perl,
+ libauthen-oath-perl <!nocheck>,
+ libcgi-application-perl <!nocheck>,
+ libcgi-application-plugin-autorunmode-perl <!nocheck>,
+ libcgi-application-plugin-forward-perl <!nocheck>,
+ libcgi-application-plugin-tt-perl <!nocheck>,
+ libcgi-fast-perl <!nocheck>,
+ libcrypt-generatepassword-perl <!nocheck>,
  libcurl4-openssl-dev,
- libfreezethaw-perl,
- libgetopt-long-descriptive-perl,
- libipc-run-perl,
+ libfreezethaw-perl <!nocheck>,
+ libgetopt-long-descriptive-perl <!nocheck>,
+ libipc-run-perl <!nocheck>,
  libjansson-dev (>= 2.6),
- libjson-perl,
+ libjson-perl <!nocheck>,
  libkrb5-dev,
  libldap2-dev,
- libmime-base32-perl,
+ libmime-base32-perl <!nocheck>,
  libmodule-build-perl,
- libnet-remctl-perl,
+ libnet-remctl-perl <!nocheck>,
  libremctl-dev (>= 3.1),
  libssl-dev,
- libtemplate-perl,
- libtest-minimumversion-perl,
- libtest-pod-perl,
- libtest-strict-perl,
- libtime-duration-perl,
- libtimedate-perl,
- liburi-perl,
- libwww-mechanize-perl,
- libwww-perl,
- libxml-parser-perl,
- perl,
+ libtemplate-perl <!nocheck>,
+ libtest-minimumversion-perl <!nocheck>,
+ libtest-pod-perl <!nocheck>,
+ libtest-strict-perl <!nocheck>,
+ libtime-duration-perl <!nocheck>,
+ libtimedate-perl <!nocheck>,
+ liburi-perl <!nocheck>,
+ libwww-mechanize-perl <!nocheck>,
+ libwww-perl <!nocheck>,
+ libxml-parser-perl <!nocheck>,
+ perl-xs-dev,
  pkg-config,
 Standards-Version: 4.5.1
 Homepage: https://webauth.stanford.edu/

Reply to: