Bug#869825: hfst-ospell FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck
Helmut Grohne
helmut at subdivi.de
Wed Jul 26 19:45:32 UTC 2017
Source: hfst-ospell
Version: 0.4.5~r343-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
hfst-ospell fails to cross build from source. It runs the test suite
despite being asked not to do so (DEB_BUILD_OPTIONS=nocheck) and fails
doing so (as host architecture code fails to execute). After honouring
that flag, it cross builds successfully. Please consider applying the
attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru hfst-ospell-0.4.5~r343/debian/changelog hfst-ospell-0.4.5~r343/debian/changelog
--- hfst-ospell-0.4.5~r343/debian/changelog 2017-06-28 15:07:50.000000000 +0200
+++ hfst-ospell-0.4.5~r343/debian/changelog 2017-07-26 21:41:19.000000000 +0200
@@ -1,3 +1,10 @@
+hfst-ospell (0.4.5~r343-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Honour DEB_BUILD_OPTIONS=nocheck (closes: #-1).
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 26 Jul 2017 21:41:19 +0200
+
hfst-ospell (0.4.5~r343-1) unstable; urgency=medium
[ Tino Didriksen ]
diff --minimal -Nru hfst-ospell-0.4.5~r343/debian/rules hfst-ospell-0.4.5~r343/debian/rules
--- hfst-ospell-0.4.5~r343/debian/rules 2017-01-23 14:39:26.000000000 +0100
+++ hfst-ospell-0.4.5~r343/debian/rules 2017-07-26 21:41:16.000000000 +0200
@@ -26,5 +26,7 @@
dh_auto_install
find $(CURDIR) -type f -name '*.la' -exec rm -f '{}' \;
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
override_dh_auto_test:
make -j1 check
+endif
More information about the debian-science-maintainers
mailing list