Source: gap
Version: 4r8p8-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gap fails to cross build from source, because it fails running tests
even when tests are supposed to be disabled via
DEB_BUILD_OPTIONS=nocheck. It happens to search for the non-standard
"notest" rather than the policy-documented "nocheck". Please switch to
the common flag.

Helmut
diff --minimal -Nru gap-4r8p8/debian/changelog gap-4r8p8/debian/changelog
--- gap-4r8p8/debian/changelog  2018-02-10 21:59:03.000000000 +0100
+++ gap-4r8p8/debian/changelog  2018-02-12 16:07:48.000000000 +0100
@@ -1,3 +1,11 @@
+gap (4r8p8-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Check DEB_BUILD_OPTIONS for nocheck rather than notest match Debian
+    policy section 4.9.1. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 12 Feb 2018 16:07:48 +0100
+
 gap (4r8p8-2) unstable; urgency=medium
 
   * debian/control, debian/gap2deb:
diff --minimal -Nru gap-4r8p8/debian/rules gap-4r8p8/debian/rules
--- gap-4r8p8/debian/rules      2017-12-19 19:10:15.000000000 +0100
+++ gap-4r8p8/debian/rules      2018-02-12 16:07:46.000000000 +0100
@@ -43,7 +43,7 @@
        $(MAKE) "CFLAGS=$(CFLAGS) -fPIC" compile
        mv bin/*/ pic
        $(MAKE) "CFLAGS=$(CFLAGS)" compile
-ifeq (,$(findstring notest,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        echo 'Read("tst/testinstall.g");' \
           | bin/*/gap -A -x 80 -r -m 100m -o 1g -q -l . \
           | tee debian/gap.tst

Reply via email to