Source: knot-resolver
Version: 6.1.0-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

knot-resolver cannot be cross built from source, because its
Build-Depends request "python3-dev". That means a host architecture
development package with a host architecture Python interpreter. The
latter cannot be installed. For an extension build, what typically is
needed is a build architecture interpreter and a host architecture
development environment. This is expressed as "libpython3-dev,
python3-dev:native". Once doing so, knot-resolver cross builds just
fine. I'm attaching a patch for your convenience.

Helmut
diff -Nru knot-resolver-6.1.0/debian/changelog 
knot-resolver-6.1.0/debian/changelog
--- knot-resolver-6.1.0/debian/changelog        2026-01-23 15:28:10.000000000 
+0100
+++ knot-resolver-6.1.0/debian/changelog        2026-02-09 13:27:16.000000000 
+0100
@@ -1,3 +1,10 @@
+knot-resolver (6.1.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Multiarchify python Build-Depends for extension build. 
(Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 09 Feb 2026 13:27:16 +0100
+
 knot-resolver (6.1.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru knot-resolver-6.1.0/debian/control knot-resolver-6.1.0/debian/control
--- knot-resolver-6.1.0/debian/control  2026-01-23 15:26:52.000000000 +0100
+++ knot-resolver-6.1.0/debian/control  2026-02-09 13:27:15.000000000 +0100
@@ -22,6 +22,7 @@
  libluajit-5.1-dev,
  libnghttp2-dev,
  libprotobuf-c-dev,
+ libpython3-dev,
  libssl-dev,
  libsystemd-dev (>= 227) [linux-any],
  libuv1-dev,
@@ -31,8 +32,7 @@
  pkgconf,
  protobuf-compiler,
  protobuf-c-compiler,
- python3,
- python3-dev,
+ python3-dev:native,
  python3-setuptools,
  socat <!nocheck>,
 Standards-Version: 4.7.3

Reply via email to