Bug#882352: cliquer FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Tue Nov 21 18:45:20 UTC 2017


Source: cliquer
Version: 1.21-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

cliquer fails to cross build from source, because it uses the build
architecture compiler. Letting dh_auto_build pass cross compilers to
make fixes that and makes cliquer cross build successfully. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru cliquer-1.21/debian/changelog cliquer-1.21/debian/changelog
--- cliquer-1.21/debian/changelog	2011-03-20 15:28:42.000000000 +0100
+++ cliquer-1.21/debian/changelog	2017-11-21 19:40:34.000000000 +0100
@@ -1,3 +1,10 @@
+cliquer (1.21-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 21 Nov 2017 19:40:34 +0100
+
 cliquer (1.21-1) unstable; urgency=low
 
   * Initial release (Closes: 617947).
diff --minimal -Nru cliquer-1.21/debian/rules cliquer-1.21/debian/rules
--- cliquer-1.21/debian/rules	2011-03-20 15:28:42.000000000 +0100
+++ cliquer-1.21/debian/rules	2017-11-21 19:40:31.000000000 +0100
@@ -19,7 +19,7 @@
 build-indep:
 
 build-arch-stamp:
-	$(MAKE) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' prefix=/usr
+	dh_auto_build -- CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' prefix=/usr
 	touch $@
 
 clean:


More information about the debian-science-maintainers mailing list