[Debichem-devel] Bug#864513: lutefisk FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Fri Jun 9 18:50:43 UTC 2017


Source: lutefisk
Version: 1.0.7+dfsg-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

lutefisk fails to cross build from source, because it uses the build
architecture compiler. By indirecting the make invocation through
dh_auto_build, cross compilers are passed automatically and the cross
build succeeds. Please consider applying the attached patch after
stretch is released.

Helmut
-------------- next part --------------
diff --minimal -Nru lutefisk-1.0.7+dfsg/debian/changelog lutefisk-1.0.7+dfsg/debian/changelog
--- lutefisk-1.0.7+dfsg/debian/changelog	2014-08-18 15:03:43.000000000 +0200
+++ lutefisk-1.0.7+dfsg/debian/changelog	2017-06-09 20:44:28.000000000 +0200
@@ -1,3 +1,10 @@
+lutefisk (1.0.7+dfsg-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross compilers (Closes: #-1).
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 09 Jun 2017 20:44:28 +0200
+
 lutefisk (1.0.7+dfsg-4) unstable; urgency=medium
 
   * mv upstream upstream/metadata
diff --minimal -Nru lutefisk-1.0.7+dfsg/debian/rules lutefisk-1.0.7+dfsg/debian/rules
--- lutefisk-1.0.7+dfsg/debian/rules	2014-08-18 15:03:43.000000000 +0200
+++ lutefisk-1.0.7+dfsg/debian/rules	2017-06-09 20:44:24.000000000 +0200
@@ -14,8 +14,7 @@
 	ln -s $(BUILDDIR)/Makefile.linux $(BUILDDIR)/Makefile
 
 override_dh_auto_build: 
-
-	$(MAKE) all -C $(BUILDDIR)
+	dh_auto_build --builddirectory=$(BUILDDIR) -- all
 
 override_dh_clean:
 	dh_clean


More information about the Debichem-devel mailing list