[Pkg-utopia-maintainers] Bug#880454: mdns-scan FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Tue Oct 31 19:05:34 UTC 2017


Source: mdns-scan
Version: 0.5-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

mdns-scan fails to cross build from source, because it uses the build
architecture compiler. cdbs does set cross compilers via
DEB_MAKE_ENVVARS, but mdns-scan overrides them using a := assignment. By
switching that to +=, mdns-scan cross builds successfully. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff -u mdns-scan-0.5/debian/changelog mdns-scan-0.5/debian/changelog
--- mdns-scan-0.5/debian/changelog
+++ mdns-scan-0.5/debian/changelog
@@ -1,3 +1,10 @@
+mdns-scan (0.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Append to DEB_MAKE_ENVVARS (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 31 Oct 2017 20:00:48 +0100
+
 mdns-scan (0.5-2) unstable; urgency=low
 
   * Team upload.
diff -u mdns-scan-0.5/debian/rules mdns-scan-0.5/debian/rules
--- mdns-scan-0.5/debian/rules
+++ mdns-scan-0.5/debian/rules
@@ -4,7 +4,7 @@
 include /usr/share/cdbs/1/class/makefile.mk
 
 DEB_MAKE_INSTALL_TARGET=install
-DEB_MAKE_ENVVARS:=DESTDIR=./debian/mdns-scan
+DEB_MAKE_ENVVARS+=DESTDIR=./debian/mdns-scan
 
 DEB_INSTALL_MANPAGES_mdns-scan:=mdns-scan.1
 


More information about the Pkg-utopia-maintainers mailing list