Bug#930341: rotix FTCBFS: does not use cross tools

2019-06-11 Thread Raúl Benencia
Hi Helmut,

On Tue, Jun 11, 2019 at 06:10:28AM +0200, Helmut Grohne wrote:
> Please consider applying the attached patch.

Thanks for the report and, especially, for the patch. I've applied it
along with other routine maintenance changes.

Best wishes,

--
Raúl Benencia


signature.asc
Description: PGP signature


Bug#930341: rotix FTCBFS: does not use cross tools

2019-06-10 Thread Helmut Grohne
Source: rotix
Version: 0.83-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

rotix fails to cross build from source, because it uses build
architecture build tools. The presence of a ./configure makes debhelper
use the autoconf build system. Thus debhelper assumes that ./configure
sets up cross tools, but it doesn't do that here. The build system is
more like a bare make build system where you pass the cross tools to
make. Thus cross building can be made to work by explicitly choosing the
makefile buildsystem. Please consider applying the attached patch.

Helmut
diff --minimal -Nru rotix-0.83/debian/changelog rotix-0.83/debian/changelog
--- rotix-0.83/debian/changelog 2014-07-03 23:36:32.0 +0200
+++ rotix-0.83/debian/changelog 2019-06-11 05:52:06.0 +0200
@@ -1,3 +1,10 @@
+rotix (0.83-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use makefile build system for calling make. (Closes: #-1)
+
+ -- Helmut Grohne   Tue, 11 Jun 2019 05:52:06 +0200
+
 rotix (0.83-5) unstable; urgency=low
 
   * New maintainer (Closes: #738336)
diff --minimal -Nru rotix-0.83/debian/rules rotix-0.83/debian/rules
--- rotix-0.83/debian/rules 2014-07-03 23:36:32.0 +0200
+++ rotix-0.83/debian/rules 2019-06-11 05:52:05.0 +0200
@@ -6,5 +6,8 @@
 override_dh_auto_configure:
./configure --prefix=/usr --mandir=/usr/share/man --i18n=1
 
+override_dh_auto_build:
+   dh_auto_build --buildsystem=makefile
+
 override_dh_auto_clean:
[ ! -f Makefile.settings ] || dh_auto_clean