Bug#941630: speech-tools FTCBFS: does not honour DEB_BUILD_OPTIONS=nocheck

Helmut Grohne helmut at subdivi.de
Thu Oct 3 07:23:22 BST 2019


Source: speech-tools
Version: 1:2.5.0-6
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

speech-tools fails to cross build from source, because it fails running
tests in the presence of DEB_BUILD_OPTIONS=nocheck. Please consider
applying the attached patch. Alternatively, consider removing the
override_dh_auto_test as it appears to be unnecessary and dh_auto_test
does the right thing.

Helmut
-------------- next part --------------
diff --minimal -Nru speech-tools-2.5.0/debian/changelog speech-tools-2.5.0/debian/changelog
--- speech-tools-2.5.0/debian/changelog	2019-08-29 00:39:13.000000000 +0200
+++ speech-tools-2.5.0/debian/changelog	2019-10-03 06:44:15.000000000 +0200
@@ -1,3 +1,10 @@
+speech-tools (1:2.5.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 03 Oct 2019 06:44:15 +0200
+
 speech-tools (1:2.5.0-6) unstable; urgency=medium
 
   [ Sergio Oller ]
diff --minimal -Nru speech-tools-2.5.0/debian/rules speech-tools-2.5.0/debian/rules
--- speech-tools-2.5.0/debian/rules	2019-08-29 00:11:56.000000000 +0200
+++ speech-tools-2.5.0/debian/rules	2019-10-03 06:44:05.000000000 +0200
@@ -33,7 +33,9 @@
 	cd doc && $(MAKE) doc
 
 override_dh_auto_test:
+ifeq (,($(filter nocheck,$(DEB_BUILD_OPTIONS))))
 	$(MAKE) test
+endif
 
 override_dh_auto_clean:
 	dh_autoreconf_clean


More information about the Pkg-a11y-devel mailing list