Source: libabigail
Version: 2.9-2
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libabigail cannot be cross built from source, because several of its
Build-Depends are not satisfiable. Instead of looking into the problems,
I looked into what could be dropped with ease. I found that doxygen
isn't run during build and that a pile of dependencies is only used for
testing and thus could be marked <!nocheck>. By the power of
reproducible builds, I verified that a nocheck build produces the same
.debs as a regular build given my changes. Please find a patch attached.

Helmut
diff -Nru libabigail-2.9/debian/changelog libabigail-2.9/debian/changelog
--- libabigail-2.9/debian/changelog     2025-11-15 02:08:18.000000000 +0100
+++ libabigail-2.9/debian/changelog     2026-02-27 10:25:35.000000000 +0100
@@ -1,3 +1,12 @@
+libabigail (2.9-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + doxygen and graphviz are unused (beyond being detected).
+    + Annotate test dependencies <!nocheck>.
+
+ -- Helmut Grohne <[email protected]>  Fri, 27 Feb 2026 10:25:35 +0100
+
 libabigail (2.9-2) unstable; urgency=medium
 
   * Restrict the libbpf-dev build dependency to linux targets.
diff -Nru libabigail-2.9/debian/control libabigail-2.9/debian/control
--- libabigail-2.9/debian/control       2025-11-15 02:08:07.000000000 +0100
+++ libabigail-2.9/debian/control       2026-02-27 10:25:35.000000000 +0100
@@ -10,17 +10,15 @@
   libdw-dev,
   libxxhash-dev,
   libxml2-dev,
-  elfutils,
+  elfutils <!nocheck>,
   texinfo,
   python3-git,
-  python3-libarchive-c,
+  python3-libarchive-c <!nocheck>,
   python3-sphinx,
-  doxygen,
-  graphviz,
   cpio, rpm2cpio,
-  valgrind [amd64 arm64 armhf i386 mips mips64el mipsel powerpc ppc64 ppc64el 
s390x],
-  python3,
-  python3-xdg, python3-rpm,
+  valgrind [amd64 arm64 armhf i386 mips mips64el mipsel powerpc ppc64 ppc64el 
s390x] <!nocheck>,
+  python3 <!nocheck>,
+  python3-xdg <!nocheck>, python3-rpm <!nocheck>,
   rpm,
 Build-Conflicts: libzip-dev
 Standards-Version: 4.7.2

Reply via email to