Bug#962547: maria FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Mon Jun 8 20:11:48 BST 2020


Source: maria
Version: 1.3.5-4.1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

maria fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so - using dh_auto_build - makes
maria cross buildable. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru maria-1.3.5/debian/changelog maria-1.3.5/debian/changelog
--- maria-1.3.5/debian/changelog	2016-12-01 23:06:16.000000000 +0100
+++ maria-1.3.5/debian/changelog	2020-06-08 20:59:54.000000000 +0200
@@ -1,3 +1,10 @@
+maria (1.3.5-4.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 08 Jun 2020 20:59:54 +0200
+
 maria (1.3.5-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru maria-1.3.5/debian/rules maria-1.3.5/debian/rules
--- maria-1.3.5/debian/rules	2016-12-01 23:04:47.000000000 +0100
+++ maria-1.3.5/debian/rules	2020-06-08 20:59:53.000000000 +0200
@@ -22,7 +22,7 @@
 
 build-stamp:
 	dh_testdir
-	$(MAKE) -f Makefile.Linux CXXOPTFLAGS=$(OPTFLAGS)
+	dh_auto_build --buildsystem=makefile -- -f Makefile.Linux CXXOPTFLAGS=$(OPTFLAGS)
 	touch build-stamp
 
 build-doc: build-doc-stamp


More information about the debian-science-maintainers mailing list