Bug#882198: symmetrica FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck

Helmut Grohne helmut at subdivi.de
Mon Nov 20 05:30:24 UTC 2017


Source: symmetrica
Version: 2.0+ds-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

symmetrica fails to cross build from source, because it fails running
tests. Those should have been disabled by DEB_BUILD_OPTIONS=nocheck,
because they usually fail with an "Exec format error", but symmetrica
runs (and fails) them anyway. After honouring the nocheck flag, it cross
builds successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru symmetrica-2.0+ds/debian/changelog symmetrica-2.0+ds/debian/changelog
--- symmetrica-2.0+ds/debian/changelog	2016-05-16 01:25:36.000000000 +0200
+++ symmetrica-2.0+ds/debian/changelog	2017-11-19 21:35:03.000000000 +0100
@@ -1,3 +1,10 @@
+symmetrica (2.0+ds-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 19 Nov 2017 21:35:03 +0100
+
 symmetrica (2.0+ds-4) unstable; urgency=medium
 
   * Debianization:
diff --minimal -Nru symmetrica-2.0+ds/debian/rules symmetrica-2.0+ds/debian/rules
--- symmetrica-2.0+ds/debian/rules	2016-05-16 01:25:36.000000000 +0200
+++ symmetrica-2.0+ds/debian/rules	2017-11-19 21:35:03.000000000 +0100
@@ -10,8 +10,10 @@
 
 override_dh_auto_build-indep:
 
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 override_dh_auto_test-arch:
 	$(MAKE) check
+endif
 
 override_dh_auto_test-indep:
 


More information about the debian-science-maintainers mailing list