Source: popt Version: 1.16-11 Tags: patch User: helm...@debian.org Usertags: rebootstrap
popt fails to cross build from source, because its build dependency on api-sanity-checker is unsatisfiable. In general, Architecture: all packages can never satisfy cross Build-Depends unless marked Multi-Arch: foreign. In this case however, api-sanity-checker is entirely unnecessary, because it is only used for testing and we cannot test during cross builds anyway. Thus annotating the dependency with <!nocheck> is sufficient to get satisfiable cross Build-Depends again. I used reproducible builds to verify that this change does not affect the resulting binary packages. Please consider applying the attached patch. Helmut
diff --minimal -Nru popt-1.16/debian/changelog popt-1.16/debian/changelog --- popt-1.16/debian/changelog 2018-03-27 18:05:03.000000000 +0200 +++ popt-1.16/debian/changelog 2018-04-04 17:06:57.000000000 +0200 @@ -1,3 +1,10 @@ +popt (1.16-11.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Annotate Build-Depends: api-sanity-checker with <!nocheck>. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 04 Apr 2018 17:06:57 +0200 + popt (1.16-11) unstable; urgency=medium * [d9d0d45] Set myself as maintainer diff --minimal -Nru popt-1.16/debian/control popt-1.16/debian/control --- popt-1.16/debian/control 2018-03-27 16:48:29.000000000 +0200 +++ popt-1.16/debian/control 2018-04-04 17:06:57.000000000 +0200 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Michael Jeanson <mjean...@debian.org> Build-Depends: debhelper (>= 9~), gettext (>= 0.18.1.1-8), dh-autoreconf, - api-sanity-checker + api-sanity-checker <!nocheck> Standards-Version: 4.1.3 Vcs-Git: https://salsa.debian.org/debian/popt.git Vcs-Browser: https://salsa.debian.org/debian/popt.git