[Tts-project] Bug#842674: speech-dispatcher FTCBFS: python3 build dependency not installable

Helmut Grohne helmut at subdivi.de
Mon Oct 31 10:30:47 UTC 2016


Source: speech-dispatcher
Version: 0.8.5-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

speech-dispatcher fails to cross build from source, because it requests
the host architecture python3 which can neither be installed nor
executed. Fortunately, it doesn't actually use python3 during an
arch-only build, so demoting it to Build-Depends-Indep makes the build
succeed. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru speech-dispatcher-0.8.5/debian/changelog speech-dispatcher-0.8.5/debian/changelog
--- speech-dispatcher-0.8.5/debian/changelog	2016-10-09 18:37:29.000000000 +0200
+++ speech-dispatcher-0.8.5/debian/changelog	2016-10-31 11:19:51.000000000 +0100
@@ -1,3 +1,10 @@
+speech-dispatcher (0.8.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote python3 from Build-Depends to Build-Depends-Indep (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 31 Oct 2016 11:19:34 +0100
+
 speech-dispatcher (0.8.5-2) unstable; urgency=medium
 
   * Restore recommandation of pulseaudio to fix speech after default
diff --minimal -Nru speech-dispatcher-0.8.5/debian/control speech-dispatcher-0.8.5/debian/control
--- speech-dispatcher-0.8.5/debian/control	2016-10-09 17:03:13.000000000 +0200
+++ speech-dispatcher-0.8.5/debian/control	2016-10-31 11:16:50.000000000 +0100
@@ -23,8 +23,9 @@
  libxau-dev,
  libsndfile1-dev,
 # libttspico-dev,
- python3,
  texinfo
+Build-Depends-Indep:
+ python3,
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=tts/speech-dispatcher.git;a=summary
 Vcs-Git: git://anonscm.debian.org/tts/speech-dispatcher.git
 Homepage: http://devel.freebsoft.org/speechd
diff --minimal -Nru speech-dispatcher-0.8.5/debian/rules speech-dispatcher-0.8.5/debian/rules
--- speech-dispatcher-0.8.5/debian/rules	2016-05-22 21:07:38.000000000 +0200
+++ speech-dispatcher-0.8.5/debian/rules	2016-10-31 11:17:28.000000000 +0100
@@ -3,7 +3,8 @@
 source=$(shell dpkg-parsechangelog -S Source)
 
 %:
-	dh $@ --with autoreconf,python3
+	dh $@ --with=autoreconf $(DH_ADDONS)
+build-indep install-indep binary-indep build install binary: DH_ADDONS+=--with=python3
 
 override_dh_auto_configure:
 	dh_auto_configure -- --with-module-bindir=\$${prefix}/lib/speech-dispatcher-modules \


More information about the Tts-project mailing list