Source: jq Version: 1.6-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
jq cannot be cross built from source, because its build dependency on ruby-ronn is not satisfiable. That was a problem for other packages as well and it resulted in splitting the command line utility ronn into a separate package ronn. That allowed us to mark ronn Multi-Arch: foreign and we could simply move over the dependency. However, jq doesn't use the ronn command line tool. It really uses the ronn module, so we shouldn't switch the dependency. Instead, we should annotate the ruby-ronn dependency with :native, because we want to execute ruby-ronn during build. Please consider applying the attached patch. Helmut
diff --minimal -Nru jq-1.6/debian/changelog jq-1.6/debian/changelog --- jq-1.6/debian/changelog 2019-10-09 18:17:01.000000000 +0200 +++ jq-1.6/debian/changelog 2020-01-25 20:03:46.000000000 +0100 @@ -1,3 +1,10 @@ +jq (1.6-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Annotate ruby-ronn build dependency with :native. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 25 Jan 2020 20:03:46 +0100 + jq (1.6-1) unstable; urgency=medium [ Ondřej Nový ] diff --minimal -Nru jq-1.6/debian/control jq-1.6/debian/control --- jq-1.6/debian/control 2019-10-09 17:53:09.000000000 +0200 +++ jq-1.6/debian/control 2020-01-25 20:03:44.000000000 +0100 @@ -8,7 +8,7 @@ libonig-dev, libtool, rake, - ruby-ronn, + ruby-ronn:native, valgrind [amd64 i386], Standards-Version: 4.4.1 Rules-Requires-Root: no