Source: isc-kea
Version: 2.4.1-3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

isc-kea cannot satisfy its cross Build-Depends for multiple reasons.
Rather than going for difficult problems, I suggest looking for low
hanging fruit and tried reducing its Build-Depends using reproducible
builds by successively dropping ones. It turns out, that quite a bit can
be dropped. I'm attaching a patch demonstrating what can be reduced and
why. As it happens, python3-dev was one of the unsatisfiable ones.
Regardless of cross building, this should speed up building isc-kea.

Helmut
diff --minimal -Nru isc-kea-2.4.1/debian/changelog 
isc-kea-2.4.1/debian/changelog
--- isc-kea-2.4.1/debian/changelog      2024-03-29 16:38:54.000000000 +0100
+++ isc-kea-2.4.1/debian/changelog      2024-09-03 10:34:18.000000000 +0200
@@ -1,3 +1,15 @@
+isc-kea (2.4.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused docbook, docbook-xsl, elinks, xsltproc.
+    + Annotate procps <!nocheck>.
+    + Reduce python3-dev to python3 as no extension is being built.
+    + Annotate python3 with :any to support cross building.
+    + Declaratively enable python3 sequence addon.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 03 Sep 2024 10:34:18 +0200
+
 isc-kea (2.4.1-3) unstable; urgency=medium
 
   [ Paride Legovini ]
diff --minimal -Nru isc-kea-2.4.1/debian/control isc-kea-2.4.1/debian/control
--- isc-kea-2.4.1/debian/control        2024-03-05 20:04:16.000000000 +0100
+++ isc-kea-2.4.1/debian/control        2024-09-03 10:34:18.000000000 +0200
@@ -13,10 +13,7 @@
  debhelper-compat (= 13),
  default-libmysqlclient-dev,
  dh-apparmor,
- dh-python,
- docbook,
- docbook-xsl,
- elinks,
+ dh-sequence-python3,
  flex,
  libboost-dev,
  libboost-system-dev,
@@ -25,11 +22,10 @@
  libssl-dev,
  po-debconf,
  postgresql-server-dev-all,
- procps,
- python3-dev,
+ procps <!nocheck>,
+ python3:any,
  python3-sphinx,
  python3-sphinx-rtd-theme,
- xsltproc,
 Standards-Version: 4.6.2
 Homepage: http://kea.isc.org/
 Vcs-Git: https://salsa.debian.org/debian/isc-kea.git
diff --minimal -Nru isc-kea-2.4.1/debian/rules isc-kea-2.4.1/debian/rules
--- isc-kea-2.4.1/debian/rules  2024-03-29 16:38:43.000000000 +0100
+++ isc-kea-2.4.1/debian/rules  2024-09-03 10:34:18.000000000 +0200
@@ -17,7 +17,7 @@
 endif
 
 %:
-       dh $@ --with python3 -X.la
+       dh $@ -X.la
 
 override_dh_auto_configure:
        dh_auto_configure -- \

Reply via email to