Source: mosquitto
Version: 1.4.15-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

mosquitto cannot install its cross Build-Depends, because installing
python-all (actually python2.7-minimal) fails. The dependency expresses
a host architecture python, something which is not runnable and thus not
installable. The dependency is a relict from earlier times when
mosquitto was building python-mosquitto.

What it really wants now is a python 2.x (not 3.x) for running its
testsuite. So rather than python-all, it just needs python. And rather
than the host architecture python, it needs the build architecture
python:native, and it only needs that for running tests, thus
<!nocheck>.

After applying the attached patch, mosquitto cross builds successfully.
Please consider applying it.

Helmut
diff --minimal -Nru mosquitto-1.4.15/debian/changelog 
mosquitto-1.4.15/debian/changelog
--- mosquitto-1.4.15/debian/changelog   2018-04-07 12:16:43.000000000 +0200
+++ mosquitto-1.4.15/debian/changelog   2018-06-13 06:13:48.000000000 +0200
@@ -1,3 +1,10 @@
+mosquitto (1.4.15-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote Build-Depends: python-all to python:native <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 13 Jun 2018 06:13:48 +0200
+
 mosquitto (1.4.15-2) unstable; urgency=low
 
   * Replace mentions of 'c_rehash' with 'openssl rehash'. (Closes: #895084).
diff --minimal -Nru mosquitto-1.4.15/debian/control 
mosquitto-1.4.15/debian/control
--- mosquitto-1.4.15/debian/control     2018-02-28 13:33:36.000000000 +0100
+++ mosquitto-1.4.15/debian/control     2018-06-13 06:13:48.000000000 +0200
@@ -7,7 +7,7 @@
                libssl-dev (>=1.0.0),
                libwebsockets-dev (>=2.0),
                libwrap0-dev,
-               python-all (>= 2.6.6-3~),
+               python:native (>= 2.6.6-3~) <!nocheck>,
                uthash-dev,
                uuid-dev
 Standards-Version: 4.1.3

Reply via email to