Bug#864672: htop FTCBFS: python-minimal build dependency not installable

2017-06-13 Thread Daniel Lange
Hi Helmut,

thank you very much for the patch.
I applied it to our collab-maint repo so it will be in the next htop release 
for testing/Buster.

https://anonscm.debian.org/cgit/collab-maint/htop.git/commit/?id=ba3d665468e9752a81a50bb2df7639950e0a3c77

Kind regards,
Daniel



Bug#864672: htop FTCBFS: python-minimal build dependency not installable

2017-06-12 Thread Helmut Grohne
Source: htop
Version: 2.0.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

htop fails to cross build from source, because it requests the host
architecture python-minimal in its Build-Depends. That is neither
installable nor executable. What htop really needs is a build
architecture python-minimal and requesting that is done by annotating it
with :native or :any. After doing so, htop cross builds successfully.
Please consider applying the attached patch after stretch is released.

Helmut
diff --minimal -Nru htop-2.0.2/debian/changelog htop-2.0.2/debian/changelog
--- htop-2.0.2/debian/changelog 2016-07-25 19:56:11.0 +0200
+++ htop-2.0.2/debian/changelog 2017-06-12 19:46:51.0 +0200
@@ -1,3 +1,11 @@
+htop (2.0.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate python-minimal build dependency with :native.
+(Closes: #-1)
+
+ -- Helmut Grohne   Mon, 12 Jun 2017 19:46:51 +0200
+
 htop (2.0.2-1) unstable; urgency=medium
 
   * Update to upstream version 2.0.2
diff --minimal -Nru htop-2.0.2/debian/control htop-2.0.2/debian/control
--- htop-2.0.2/debian/control   2016-07-25 19:56:11.0 +0200
+++ htop-2.0.2/debian/control   2017-06-12 19:46:49.0 +0200
@@ -11,7 +11,7 @@
libkvm-dev [kfreebsd-any],
libncurses5-dev,
libncursesw5-dev,
-   python-minimal
+   python-minimal:native
 Standards-Version: 3.9.8
 Homepage: http://hisham.hm/htop/
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/htop.git