Source: array-info
Version: 0.16-3
Tags: patch
User: [email protected]
Usertags: rebootstrap

array-info fails to cross build from source, because it does not pass
cross tools to make. The easiest way of doing so is letting
dh_auto_build do it and then array-info cross builds successfully.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru array-info-0.16/debian/changelog 
array-info-0.16/debian/changelog
--- array-info-0.16/debian/changelog    2016-09-17 10:53:03.000000000 +0200
+++ array-info-0.16/debian/changelog    2018-06-06 14:20:24.000000000 +0200
@@ -1,3 +1,10 @@
+array-info (0.16-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 06 Jun 2018 14:20:24 +0200
+
 array-info (0.16-3) unstable; urgency=medium
 
   * Correct modalias AppStream info, map to cciss and md-mod kernel
diff --minimal -Nru array-info-0.16/debian/rules array-info-0.16/debian/rules
--- array-info-0.16/debian/rules        2016-09-12 21:57:17.000000000 +0200
+++ array-info-0.16/debian/rules        2018-06-06 14:20:23.000000000 +0200
@@ -3,7 +3,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 override_dh_auto_build:
-       $(MAKE) all ARRAY_PLUGIN_PATH=/usr/lib/array-info/plugins
+       dh_auto_build -- all ARRAY_PLUGIN_PATH=/usr/lib/array-info/plugins
 
 override_dh_auto_install:
        $(MAKE) install prefix=/usr mandir=/usr/share/man 
DESTDIR=$(CURDIR)/debian/array-info/

Reply via email to