Source: gp2c
Version: 0.0.11pl2-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

gp2c fails to cross build from source, because it fails running tests in
the presence of DEB_BUILD_OPTIONS=nocheck. The easiest way of supporting
that option - using dh_auto_test - makes gp2c cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru gp2c-0.0.11pl2/debian/changelog 
gp2c-0.0.11pl2/debian/changelog
--- gp2c-0.0.11pl2/debian/changelog     2019-07-12 12:17:45.000000000 +0200
+++ gp2c-0.0.11pl2/debian/changelog     2019-07-21 20:22:57.000000000 +0200
@@ -1,3 +1,10 @@
+gp2c (0.0.11pl2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 21 Jul 2019 20:22:57 +0200
+
 gp2c (0.0.11pl2-2) unstable; urgency=medium
 
   * Source-only upload
diff --minimal -Nru gp2c-0.0.11pl2/debian/rules gp2c-0.0.11pl2/debian/rules
--- gp2c-0.0.11pl2/debian/rules 2018-10-26 18:12:01.000000000 +0200
+++ gp2c-0.0.11pl2/debian/rules 2019-07-21 20:22:56.000000000 +0200
@@ -39,7 +39,7 @@
        dh_testdir
 
        $(MAKE)
-       $(MAKE) check
+       dh_auto_test
        $(MAKE) -C doc
 
        touch build-stamp

Reply via email to