Bug#846833: ann FTCBFS: runs tests despite DEB_BUILD_OPTIONS=nocheck
Helmut Grohne
helmut at subdivi.de
Sat Dec 3 15:09:08 UTC 2016
Source: ann
Version: 1.1.2+doc-5
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
ann fails to cross build from source, becuase the packaging runs tests
during build even when DEB_BUILD_OPTIONS contains nocheck. The attached
patch adds support for the nocheck option and thus makes cross building
succeed. Please consider applying it.
Helmut
-------------- next part --------------
diff --minimal -Nru ann-1.1.2+doc/debian/changelog ann-1.1.2+doc/debian/changelog
--- ann-1.1.2+doc/debian/changelog 2014-05-31 16:26:37.000000000 +0200
+++ ann-1.1.2+doc/debian/changelog 2016-12-03 16:05:34.000000000 +0100
@@ -1,3 +1,10 @@
+ann (1.1.2+doc-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Support DEB_BUILD_OPTIONS=nocheck (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 03 Dec 2016 16:05:34 +0100
+
ann (1.1.2+doc-5) unstable; urgency=medium
* Team upload.
diff --minimal -Nru ann-1.1.2+doc/debian/rules ann-1.1.2+doc/debian/rules
--- ann-1.1.2+doc/debian/rules 2014-03-22 19:06:53.000000000 +0100
+++ ann-1.1.2+doc/debian/rules 2016-12-03 16:05:31.000000000 +0100
@@ -30,11 +30,13 @@
# Created autotools auxiliary directory cfg
mkdir -p cfg
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
build/libann0::
# Check the package
( cd test ; \
./ann_test < test1.in > /dev/null ; \
./ann_test < test2.in > /dev/null )
+endif
build/ann-tools:: debian/ann2fig.1 debian/ann_sample.1 debian/ann_test.1
More information about the debian-science-maintainers
mailing list