[Debian-med-packaging] Bug#956946: sprai FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Fri Apr 17 06:14:33 BST 2020


Source: sprai
Version: 0.9.9.23+dfsg1-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

sprai fails to cross build from source, because it does not pass cross
tools to make. dh thinks that this is an autoconf project, so
dh_auto_build doesn't do it for you, but configure is something entirely
different and therefore skipped by debian/rules. A better solution is to
tell dh what kind of buildsystem it is dealing with and doing so makes
sprai cross buildable. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru sprai-0.9.9.23+dfsg1/debian/changelog sprai-0.9.9.23+dfsg1/debian/changelog
--- sprai-0.9.9.23+dfsg1/debian/changelog	2020-04-15 17:01:52.000000000 +0200
+++ sprai-0.9.9.23+dfsg1/debian/changelog	2020-04-17 07:11:31.000000000 +0200
@@ -1,3 +1,10 @@
+sprai (0.9.9.23+dfsg1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: use the makefile buildsystem. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 17 Apr 2020 07:11:31 +0200
+
 sprai (0.9.9.23+dfsg1-1) unstable; urgency=medium
 
   [ Adrian Bunk ]  
diff --minimal -Nru sprai-0.9.9.23+dfsg1/debian/rules sprai-0.9.9.23+dfsg1/debian/rules
--- sprai-0.9.9.23+dfsg1/debian/rules	2020-04-15 17:01:52.000000000 +0200
+++ sprai-0.9.9.23+dfsg1/debian/rules	2020-04-17 07:11:29.000000000 +0200
@@ -4,10 +4,7 @@
 include /usr/share/dpkg/buildflags.mk
 
 %:
-	dh $@
-
-override_dh_auto_configure:
-	echo Skip
+	dh $@ --buildsystem=makefile
 
 override_dh_install:
 	mkdir -p $(CURDIR)/debian/sprai/usr/lib/sprai


More information about the Debian-med-packaging mailing list