Source: iotop Version: 0.6-24-g733f3f8-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
iotop fails to cross build from source, because its dependency on the host architecture python3 is not satisfiable. It really wants a build architecture python, so annotating with :any seems like the solution. However, pybuild doesn't recognize that dependency and insists that you use python3-all:any instead. Even that fails as it's missing the platform-specific modules, so adding libpython3-all-dev is necessary. Finally, iotop cross builds. Please consider applying the attached patch (or converting it to an arch:all package). Helmut
diff --minimal -Nru iotop-0.6-24-g733f3f8/debian/changelog iotop-0.6-24-g733f3f8/debian/changelog --- iotop-0.6-24-g733f3f8/debian/changelog 2018-04-27 14:56:38.000000000 +0200 +++ iotop-0.6-24-g733f3f8/debian/changelog 2018-11-10 08:41:46.000000000 +0100 @@ -1,3 +1,13 @@ +iotop (0.6-24-g733f3f8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix Build-Depends for cross. (Closes: #-1) + + Annotate python3 with :any. + + Replace python3:any with python3-all:any as pybuild insists. + + Add libpython3-all-dev as pybuild needs that as well. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 10 Nov 2018 08:41:46 +0100 + iotop (0.6-24-g733f3f8-1) unstable; urgency=medium * New upstream snapshot diff --minimal -Nru iotop-0.6-24-g733f3f8/debian/control iotop-0.6-24-g733f3f8/debian/control --- iotop-0.6-24-g733f3f8/debian/control 2016-08-11 09:52:08.000000000 +0200 +++ iotop-0.6-24-g733f3f8/debian/control 2018-11-10 08:41:46.000000000 +0100 @@ -5,7 +5,8 @@ Build-Depends: debhelper (>= 11~), dh-python, - python3, + python3-all:any, + libpython3-all-dev, python3-distutils, Standards-Version: 4.1.4 Homepage: http://guichaz.free.fr/iotop/