Source: chiark-utils
Version: 6.1.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

chiark-utils 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 chiark-utils cross buildable. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru chiark-utils-6.1.1/debian/changelog 
chiark-utils-6.1.1+nmu1/debian/changelog
--- chiark-utils-6.1.1/debian/changelog 2020-02-11 17:37:31.000000000 +0100
+++ chiark-utils-6.1.1+nmu1/debian/changelog    2020-02-13 06:07:51.000000000 
+0100
@@ -1,3 +1,10 @@
+chiark-utils (6.1.1+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 13 Feb 2020 06:07:51 +0100
+
 chiark-utils (6.1.1) unstable; urgency=medium
 
   * fishdescriptor: Use Python "errno" module
diff --minimal -Nru chiark-utils-6.1.1/debian/rules 
chiark-utils-6.1.1+nmu1/debian/rules
--- chiark-utils-6.1.1/debian/rules     2020-02-11 17:37:31.000000000 +0100
+++ chiark-utils-6.1.1+nmu1/debian/rules        2020-02-13 06:07:50.000000000 
+0100
@@ -21,7 +21,7 @@
 build:
        $(checkdir)
        set -e; for s in $(subdirs_build_arch); do \
-               $(MAKE) -C $$s all $(makebuildargs); \
+               dh_auto_build --sourcedirectory=$$s -- all $(makebuildargs); \
        done
        touch build
 

Reply via email to