Source: libdap
Version: 3.21.0-1.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

Hi,

libdap cannot be cross built from source, because some of its
Build-Depends are not cross-satisfiable. Rather than figure out how to
solve that, I opted for the other way round: Figure out excess
Build-Depends using reproducible builds. It turns out that dropping
libcppunit-dev, cxxtest, dejagnu, libjs-jquery and libpth-dev in a
nocheck build does not alter output artifacts. For libpth-dev, I checked
build logs and figured that all platforms that Debian builds for
(including hurd) prefer posix threads over pth, so I suggest to entirely
drop it. The other dependencies likely are using for testing, so I
recommend annotating them <!nocheck>. I'm attaching a patch for your
convenience.

Helmut
diff --minimal -Nru libdap-3.21.0/debian/changelog 
libdap-3.21.0/debian/changelog
--- libdap-3.21.0/debian/changelog      2024-02-28 11:41:43.000000000 +0100
+++ libdap-3.21.0/debian/changelog      2024-09-03 10:22:17.000000000 +0200
@@ -1,3 +1,12 @@
+libdap (3.21.0-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote Build-Depends: Closes: #-1
+    + libcppunit-dev, cxxtest, dejagno, libjs-jquery: Annotate <!nocheck>.
+    + libpth-dev: Drop as libdap prefers posix over pth even on hurd.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 03 Sep 2024 10:22:17 +0200
+
 libdap (3.21.0-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru libdap-3.21.0/debian/control libdap-3.21.0/debian/control
--- libdap-3.21.0/debian/control        2024-02-28 11:41:43.000000000 +0100
+++ libdap-3.21.0/debian/control        2024-09-03 10:22:15.000000000 +0200
@@ -8,16 +8,15 @@
  libxml2-dev, 
  libcurl4-gnutls-dev | libcurl-dev, 
  libtirpc-dev,
- libcppunit-dev, 
- cxxtest, 
+ libcppunit-dev <!nocheck>, 
+ cxxtest <!nocheck>, 
  doxygen,
- dejagnu, 
+ dejagnu <!nocheck>, 
  graphviz,
  bison, 
  bsdextrautils,
  uuid-dev, 
- libjs-jquery, 
- libpth-dev, 
+ libjs-jquery <!nocheck>, 
  libssl-dev,
  libfl-dev
 Build-Conflicts: autoconf2.13

Reply via email to