Your message dated Thu, 21 Feb 2019 13:29:17 +0100
with message-id <[email protected]>
and subject line changes already applied
has caused the Debian Bug report #914593,
regarding mosquitto FTCBFS: uses the wrong compiler
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
914593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914593
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mosquitto
Version: 1.5.4-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

mosquitto fails to cross build from source, because it uses the build
architecture compiler as a make default. Using dh_auto_build fixes that
when using the makefile buildsystem, but mosquitto defaults to the cmake
build system. After passing --buildsystem=makefile to dh, dh_auto_build
does the right thing and the override_dh_auto_configure becomes
redundant. The attached patch makes mosquitto cross buildable. Please
consider applying it.

Helmut
diff --minimal -Nru mosquitto-1.5.4/debian/changelog 
mosquitto-1.5.4/debian/changelog
--- mosquitto-1.5.4/debian/changelog    2018-11-08 14:34:59.000000000 +0100
+++ mosquitto-1.5.4/debian/changelog    2018-11-25 13:56:45.000000000 +0100
@@ -1,3 +1,10 @@
+mosquitto (1.5.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 25 Nov 2018 13:56:45 +0100
+
 mosquitto (1.5.4-1) unstable; urgency=medium
 
   * New upstream release (Closes: #911104).
diff --minimal -Nru mosquitto-1.5.4/debian/rules mosquitto-1.5.4/debian/rules
--- mosquitto-1.5.4/debian/rules        2018-11-08 14:34:59.000000000 +0100
+++ mosquitto-1.5.4/debian/rules        2018-11-25 13:56:43.000000000 +0100
@@ -5,16 +5,14 @@
 export libdir=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-       dh $@
+       # Don't process CMake rules, CMakeLists.txt is only included for 
Windows/Mac support.
+       dh $@ --buildsystem=makefile
 
 override_dh_installchangelogs:
        dh_installchangelogs ChangeLog.txt
 
-override_dh_auto_configure:
-       # Don't process CMake rules, CMakeLists.txt is only included for 
Windows/Mac support.
-
 override_dh_auto_build:
-       make WITH_BUNDLED_DEPS=no WITH_ADNS=yes WITH_WRAP=yes 
WITH_WEBSOCKETS=yes WITH_STRIP=no WITH_SYSTEMD=yes
+       dh_auto_build -- WITH_BUNDLED_DEPS=no WITH_ADNS=yes WITH_WRAP=yes 
WITH_WEBSOCKETS=yes WITH_STRIP=no WITH_SYSTEMD=yes
 
 override_dh_auto_test:
 

--- End Message ---
--- Begin Message ---
Version: 1.5.6-1

Hello,

Seems like the proposed patch has already been applied in some
previous version which apparently forgot to close this bug report.
I hope everything works fine wrt cross-compilation now or please
reopen again. Closing this now.

Regards,
Andreas Henriksson

--- End Message ---

Reply via email to