Source: kexec-tools
Version: 1:2.0.12-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

kexec-tools fails to cross build from source, because its ./configure
invocation lacks the necessary --host flag. Indirecting the ./configure
invocation through dh_auto_configure fixes that, because debhelper knows
when to pass --host. Please consider applying the attached patch.

Helmut
diff --minimal -Nru kexec-tools-2.0.12/debian/changelog 
kexec-tools-2.0.12/debian/changelog
--- kexec-tools-2.0.12/debian/changelog 2016-06-28 19:41:43.000000000 +0200
+++ kexec-tools-2.0.12/debian/changelog 2017-01-10 21:03:55.000000000 +0100
@@ -1,3 +1,10 @@
+kexec-tools (1:2.0.12-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 10 Jan 2017 21:03:55 +0100
+
 kexec-tools (1:2.0.12-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru kexec-tools-2.0.12/debian/rules 
kexec-tools-2.0.12/debian/rules
--- kexec-tools-2.0.12/debian/rules     2016-06-28 20:11:49.000000000 +0200
+++ kexec-tools-2.0.12/debian/rules     2017-01-10 21:03:54.000000000 +0100
@@ -29,7 +29,7 @@
        dh_testdir
        # Add here commands to configure the package.
        dh_autoreconf
-       CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" CFLAGS="$(shell 
dpkg-buildflags --get CFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" 
./configure --prefix=/usr --sbindir=/sbin --mandir=/usr/share/man 
--datadir=/usr/share
+       CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" CFLAGS="$(shell 
dpkg-buildflags --get CFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" 
dh_auto_configure -- --sbindir=/sbin
        touch configure-stamp
 
 

Reply via email to