Source: ekeyd
Version: 1.1.5-6.2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

ekeyd fails to cross build from source, because it uses the build
architecture compiler. Letting dh_auto_build pass a suitable compiler
via CC to make is the easiest way to fix that and indeed after doing so,
it cross builds successfully. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru ekeyd-1.1.5/debian/changelog ekeyd-1.1.5/debian/changelog
--- ekeyd-1.1.5/debian/changelog        2017-02-04 16:42:08.000000000 +0100
+++ ekeyd-1.1.5/debian/changelog        2018-01-29 19:52:35.000000000 +0100
@@ -1,3 +1,10 @@
+ekeyd (1.1.5-6.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 29 Jan 2018 19:52:35 +0100
+
 ekeyd (1.1.5-6.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru ekeyd-1.1.5/debian/rules ekeyd-1.1.5/debian/rules
--- ekeyd-1.1.5/debian/rules    2017-02-04 16:42:08.000000000 +0100
+++ ekeyd-1.1.5/debian/rules    2018-01-29 19:52:12.000000000 +0100
@@ -8,7 +8,7 @@
        $(MAKE) -C host clean
 
 override_dh_auto_build:
-       $(MAKE) -C host BUILD_ULUSBD=no
+       dh_auto_build --sourcedirectory=host -- BUILD_ULUSBD=no
 
 override_dh_auto_install:
        install -m 644 munin/plugin-conf.d_ekeyd 
debian/ekeyd/etc/munin/plugin-conf.d/ekeyd

Reply via email to