Bug#879889: newmat FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck

Helmut Grohne helmut at subdivi.de
Thu Oct 26 19:30:56 UTC 2017


Source: newmat
Version: 1.10.4-6
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

newmat fails to cross build from source, because it fails running tests
even though DEB_BUILD_OPTIONS contained nocheck. The tests naturally
fail with an "Exec format error". After skipping tests, newmat cross
builds successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru newmat-1.10.4/debian/changelog newmat-1.10.4/debian/changelog
--- newmat-1.10.4/debian/changelog	2016-12-11 14:23:04.000000000 +0100
+++ newmat-1.10.4/debian/changelog	2017-10-26 21:28:03.000000000 +0200
@@ -1,3 +1,10 @@
+newmat (1.10.4-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 26 Oct 2017 21:28:03 +0200
+
 newmat (1.10.4-6) unstable; urgency=medium
 
   [ Philippe Coval ]
diff --minimal -Nru newmat-1.10.4/debian/rules newmat-1.10.4/debian/rules
--- newmat-1.10.4/debian/rules	2016-12-11 14:23:04.000000000 +0100
+++ newmat-1.10.4/debian/rules	2017-10-26 21:28:01.000000000 +0200
@@ -55,9 +55,11 @@
 	dh_testdir
 	$(MAKE)
 #{ regression tests
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	./example
 	./tmt
 	./test_exc
+endif
 #}
 	touch $@
 


More information about the debian-science-maintainers mailing list