Source: libgit2 Version: 0.27.4+dfsg.1-0.1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
libgit2 cannot be cross built from source, because its Build-Depends request python-minimal for the host architecture and that fails postinst. Indeed, libgit2 wants a runnable python for testing. So it needs the build architecture python instead. Please consider applying the attached patch as it makes libgit2 cross buildable. Helmut
diff --minimal -Nru libgit2-0.27.4+dfsg.1/debian/changelog libgit2-0.27.4+dfsg.1/debian/changelog --- libgit2-0.27.4+dfsg.1/debian/changelog 2018-08-11 06:29:21.000000000 +0200 +++ libgit2-0.27.4+dfsg.1/debian/changelog 2018-11-08 17:28:35.000000000 +0100 @@ -1,3 +1,11 @@ +libgit2 (0.27.4+dfsg.1-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Annotate Build-Depends: python-minimal with :any. + (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 08 Nov 2018 17:28:35 +0100 + libgit2 (0.27.4+dfsg.1-0.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru libgit2-0.27.4+dfsg.1/debian/control libgit2-0.27.4+dfsg.1/debian/control --- libgit2-0.27.4+dfsg.1/debian/control 2018-08-07 07:48:41.000000000 +0200 +++ libgit2-0.27.4+dfsg.1/debian/control 2018-11-08 17:28:33.000000000 +0100 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Russell Sim <russell....@gmail.com> Build-Depends: debhelper (>= 11~), - python-minimal (>= 2.4.0), pkg-config, + python-minimal:any (>= 2.4.0), pkg-config, cmake, libz-dev, libmbedtls-dev, libssh2-1-dev, libhttp-parser-dev, libkrb5-dev Standards-Version: 4.1.4