Source: prads
Version: 0.3.3-1.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

prads fails to cross build from source, because it does not pass cross
tools to make. The easiest way of fixing that - using dh_auto_build -
almost makes prads cross buildable. It fails running rst2man due to a
missing python3-docutils dependency. The attached patch fixes both the
ftcbfs and the ftbfs. Please consider applying it.

Helmut
diff --minimal -Nru prads-0.3.3/debian/changelog prads-0.3.3/debian/changelog
--- prads-0.3.3/debian/changelog        2020-05-10 20:19:36.000000000 +0200
+++ prads-0.3.3/debian/changelog        2020-05-11 21:57:15.000000000 +0200
@@ -1,3 +1,11 @@
+prads (0.3.3-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+  * Fix FTBFS: Missing Build-Depends: python3-docutils.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 11 May 2020 21:57:15 +0200
+
 prads (0.3.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru prads-0.3.3/debian/control prads-0.3.3/debian/control
--- prads-0.3.3/debian/control  2020-05-10 20:19:29.000000000 +0200
+++ prads-0.3.3/debian/control  2020-05-11 21:57:15.000000000 +0200
@@ -9,6 +9,7 @@
  dh-systemd,
  libpcap-dev,
  libpcre3-dev,
+ python3-docutils,
 Standards-Version: 3.9.5
 Homepage: http://gamelinux.github.com/prads/
 Vcs-Git: git://github.com/gamelinux/prads.git
diff --minimal -Nru prads-0.3.3/debian/rules prads-0.3.3/debian/rules
--- prads-0.3.3/debian/rules    2014-02-11 10:15:28.000000000 +0100
+++ prads-0.3.3/debian/rules    2020-05-11 21:57:13.000000000 +0200
@@ -8,7 +8,7 @@
        dh $@ --with=systemd
 
 override_dh_auto_build:
-       $(MAKE) CONFDIR=/etc/prads
+       dh_auto_build -- CONFDIR=/etc/prads
 
 override_dh_auto_install:
        $(MAKE) PREFIX=/usr CONFDIR=/etc/prads DESTDIR=$(CURDIR)/debian/prads 
install

Reply via email to