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.000000000 +0200
+++ rotix-0.83/debian/changelog 2019-06-11 05:52:06.000000000 +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 <hel...@subdivi.de>  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.000000000 +0200
+++ rotix-0.83/debian/rules     2019-06-11 05:52:05.000000000 +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

Reply via email to