Source: libnatpmp Version: 20150609-5 Tags: patch User: helm...@debian.org Usertags: rebootstrap
libnatpmp fails to cross build from source, because its Build-Depends need mangling for python. Generally, one needs to replace "python(.*)-dev" with "libpython\1-dev, python\1-dev:any". After doing so, libnatpmp cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru libnatpmp-20150609/debian/changelog libnatpmp-20150609/debian/changelog --- libnatpmp-20150609/debian/changelog 2018-08-16 13:42:06.000000000 +0200 +++ libnatpmp-20150609/debian/changelog 2018-11-07 16:18:08.000000000 +0100 @@ -1,3 +1,10 @@ +libnatpmp (20150609-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: multiarchify python Build-Depends. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 07 Nov 2018 16:18:08 +0100 + libnatpmp (20150609-5) unstable; urgency=medium * Fix symlink overwrites of doc directories (Closes: #905200). diff --minimal -Nru libnatpmp-20150609/debian/control libnatpmp-20150609/debian/control --- libnatpmp-20150609/debian/control 2018-08-16 13:42:06.000000000 +0200 +++ libnatpmp-20150609/debian/control 2018-11-07 16:18:05.000000000 +0100 @@ -7,7 +7,8 @@ Build-Depends: debhelper (>= 11~), dh-python, - python3-dev, + libpython3-dev, + python3-dev:any, python3-setuptools, Standards-Version: 4.2.0 Vcs-Browser: https://salsa.debian.org/miniupnp-team/libnatpmp