Source: hfst-ospell
Version: 0.4.5~r343-1
Tags: patch
User: helm...@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
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 <hel...@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
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to