Bug#883578: dvbtune FTCBFS: builds for the build architecture

Helmut Grohne helmut at subdivi.de
Tue Dec 5 11:47:51 UTC 2017


Source: dvbtune
Version: 0.5.ds-1.1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

dvbtune fails to cross build from source, because it builds for the
build architecture by not passing any cross tools to make. Deferring
that task to dh_auto_build fixes the issue. Please consider applying the
attached patch. It'll also make parallel building just work in a
sufficiently high debhelper compat level.

Helmut
-------------- next part --------------
diff --minimal -Nru dvbtune-0.5.ds/debian/changelog dvbtune-0.5.ds/debian/changelog
--- dvbtune-0.5.ds/debian/changelog	2016-07-05 10:50:39.000000000 +0200
+++ dvbtune-0.5.ds/debian/changelog	2017-12-05 12:44:48.000000000 +0100
@@ -1,3 +1,10 @@
+dvbtune (0.5.ds-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 05 Dec 2017 12:44:48 +0100
+
 dvbtune (0.5.ds-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff --minimal -Nru dvbtune-0.5.ds/debian/rules dvbtune-0.5.ds/debian/rules
--- dvbtune-0.5.ds/debian/rules	2012-06-23 01:50:08.000000000 +0200
+++ dvbtune-0.5.ds/debian/rules	2017-12-05 12:44:45.000000000 +0100
@@ -7,8 +7,8 @@
 
 override_dh_auto_build:
 	dh_testdir
-	$(MAKE) VERSION=$(VERSION)
-	$(MAKE) VERSION=$(VERSION) xml2vdr
+	dh_auto_build -- VERSION=$(VERSION)
+	dh_auto_build -- VERSION=$(VERSION) xml2vdr
 	#rm -rf $(BUILD_DIR)/scripts/CVS
 	docbook-to-man debian/dvbtune.sgml > dvbtune.1
 	docbook-to-man debian/xml2vdr.sgml > xml2vdr.1


More information about the pkg-vdr-dvb-devel mailing list