Source: cmark
Version: 0.30.2-6
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

cmark cannot be cross built from source, because it requests the host
architecture Python interpreter via Build-Depends and that cannot be
installed. Looking closer, it wants to run Python during build, so we
should annotate the dependency :native. Looking even closer, it runs it
as part of its test suite, so we can also annotate it <!nocheck>.
Reproducible builds confirm that a nocheck build does not require Python
while still yielding the exact same packages. I'm attaching a patch for
your convenience.

Helmut
diff -Nru cmark-0.30.2/debian/changelog cmark-0.30.2/debian/changelog
--- cmark-0.30.2/debian/changelog       2022-12-31 11:59:51.000000000 +0100
+++ cmark-0.30.2/debian/changelog       2025-12-29 15:45:06.000000000 +0100
@@ -1,3 +1,11 @@
+cmark (0.30.2-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Build-Depend on a native Python interpreter and only for
+    testing. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 29 Dec 2025 15:45:06 +0100
+
 cmark (0.30.2-6) unstable; urgency=medium
 
   * update git-buildpackage config:
diff -Nru cmark-0.30.2/debian/control cmark-0.30.2/debian/control
--- cmark-0.30.2/debian/control 2022-12-31 11:58:45.000000000 +0100
+++ cmark-0.30.2/debian/control 2025-12-29 15:45:06.000000000 +0100
@@ -10,7 +10,7 @@
 Build-Depends:
  cmake,
  debhelper-compat (= 13),
- python3,
+ python3:native <!nocheck>,
 
 Package: cmark
 Architecture: any

Reply via email to