Bug#900525: savi FTCBFS: uses the build architecture compiler
Helmut Grohne
helmut at subdivi.de
Thu May 31 20:54:48 BST 2018
Source: savi
Version: 1.5.1-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
savi fails to cross build from source, because it uses the build
architecture compiler. The easiest way to pass cross tools to make is
using dh_auto_build with the makefile buildsystem. Since savi has a
configure file (that is explicitly ignored by the packaging), the build
system must be passed explicitly to do so. The attached patch implements
that and makes savi cross buildable. Please consider applying it.
Helmut
-------------- next part --------------
diff --minimal -Nru savi-1.5.1/debian/changelog savi-1.5.1/debian/changelog
--- savi-1.5.1/debian/changelog 2017-07-02 17:38:28.000000000 +0200
+++ savi-1.5.1/debian/changelog 2018-05-31 06:17:39.000000000 +0200
@@ -1,3 +1,11 @@
+savi (1.5.1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_build --buildsystem=makefile pass cross tools
+ to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Thu, 31 May 2018 06:17:39 +0200
+
savi (1.5.1-1) unstable; urgency=medium
* Team upload.
diff --minimal -Nru savi-1.5.1/debian/rules savi-1.5.1/debian/rules
--- savi-1.5.1/debian/rules 2017-06-13 20:50:04.000000000 +0200
+++ savi-1.5.1/debian/rules 2018-05-31 06:17:37.000000000 +0200
@@ -4,12 +4,10 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
- dh $@ --parallel
+ dh $@ --parallel --buildsystem=makefile
-override_dh_auto_configure:
-
override_dh_auto_build:
- make ARCH=ubuntu
+ dh_auto_build -- ARCH=ubuntu
override_dh_auto_install:
More information about the Pkg-grass-devel
mailing list