Source: since
Version: 1.1-6
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

since runs its tests even in the presence of DEB_BUILD_OPTIONS=nocheck.
This happens to break cross building. Please consider applying the
attached patch to fix that.

Helmut
diff --minimal -Nru since-1.1/debian/changelog since-1.1/debian/changelog
--- since-1.1/debian/changelog  2017-01-20 01:28:17.000000000 +0100
+++ since-1.1/debian/changelog  2019-08-30 19:50:06.000000000 +0200
@@ -1,3 +1,10 @@
+since (1.1-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 30 Aug 2019 19:50:06 +0200
+
 since (1.1-6) unstable; urgency=medium
 
   * Enable all hardening build flags.
diff --minimal -Nru since-1.1/debian/rules since-1.1/debian/rules
--- since-1.1/debian/rules      2017-01-20 01:17:48.000000000 +0100
+++ since-1.1/debian/rules      2019-08-30 19:50:04.000000000 +0200
@@ -9,10 +9,12 @@
        dh $@
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        rm -rf debian/testtmp
        mkdir debian/testtmp
        env PATH=$(CURDIR):$(PATH) ADTTMP=$(CURDIR)/debian/testtmp 
debian/tests/simple
        rm -rf debian/testtmp
+endif
 
 # Deliberately empty targets
 override_dh_auto_install:

Reply via email to