Source: speech-tools
Version: 1:2.5.0-6
Tags: patch
User: [email protected]
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
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 <[email protected]>  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

Reply via email to