Bug#940146: perforate FTCBFS: does not pass cross tools to make

2019-09-13 Thread Reuben Thomas
On Fri, 13 Sep 2019 at 05:33, Helmut Grohne  wrote:

> Source: perforate
> Version: 1.2-5.1
> Tags: patch
> User: debian-cr...@lists.debian.org
> Usertags: ftcbfs
>
> perforate 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 perforate cross buildable. Please consider applying the attached
> patch.


Thanks for this. I'm currently trying to replace perforate with a new
version of the package, finddup: https://github.com/rrthomas/finddup/

Currently I'm stuck on trying to get the latest version uploaded to the NEW
queue; if by any chance someone could help with that, that would be great
(I'm a DM, not a DD). I did have some help before, but I've not been able
to get in touch with the DDs concerned in the last year.

-- 
https://rrt.sc3d.org


Bug#940146: perforate FTCBFS: does not pass cross tools to make

2019-09-12 Thread Helmut Grohne
Source: perforate
Version: 1.2-5.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff -u perforate-1.2/debian/changelog perforate-1.2/debian/changelog
--- perforate-1.2/debian/changelog
+++ perforate-1.2/debian/changelog
@@ -1,3 +1,10 @@
+perforate (1.2-5.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne   Fri, 13 Sep 2019 06:03:10 +0200
+
 perforate (1.2-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u perforate-1.2/debian/rules perforate-1.2/debian/rules
--- perforate-1.2/debian/rules
+++ perforate-1.2/debian/rules
@@ -18,7 +18,7 @@
 build: build.stamp
 build.stamp:
dh_testdir
-   $(MAKE) CFLAGS="$(CFLAGS)"
+   dh_auto_build -- CFLAGS="$(CFLAGS)"
> $@
 
 binary: binary-arch binary-indep