Source: jq
Version: 1.8.0-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

jq cannot be cross built from source, because several of its build
dependencies cannot be installed. The Python modules are used for
generating documentation and hence we generally expect them to be for
the build architecture rather than the host one implied. I suggest
annotating them :native. The valgrind dependency can be skipped when
disabling tests via DEB_BUILD_OPTIONS=nocheck. I'm attaching a patch for
your convenience. Consider applying it during the forky cycle.

Helmut
diff -Nru jq-1.8.0/debian/changelog jq-1.8.0/debian/changelog
--- jq-1.8.0/debian/changelog   2025-06-09 03:40:21.000000000 +0200
+++ jq-1.8.0/debian/changelog   2025-06-20 13:35:10.000000000 +0200
@@ -1,3 +1,12 @@
+jq (1.8.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Request python stack for the native architecture.
+    + Skip valgrind dependency when not testing.
+
+ -- Helmut Grohne <[email protected]>  Fri, 20 Jun 2025 13:35:10 +0200
+
 jq (1.8.0-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #1106288)
diff -Nru jq-1.8.0/debian/control jq-1.8.0/debian/control
--- jq-1.8.0/debian/control     2025-04-09 16:33:22.000000000 +0200
+++ jq-1.8.0/debian/control     2025-06-20 13:35:10.000000000 +0200
@@ -7,12 +7,12 @@
                flex,
                libonig-dev,
                libtool,
-               python3-jinja2,
-               python3-yaml,
+               python3-jinja2:native,
+               python3-yaml:native,
                python3-markdown,
-               python3-lxml,
-               python3-jsonschema,
-               valgrind [amd64],
+               python3-lxml:native,
+               python3-jsonschema:native,
+               valgrind [amd64] <!nocheck>,
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://jqlang.github.io/jq

Reply via email to