[Debian-astro-maintainers] Bug#899016: wcstools FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck

Helmut Grohne helmut at subdivi.de
Fri May 18 15:42:05 BST 2018


Source: wcstools
Version: 3.9.5-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

wcstools fails to cross build from source, because it fails running
tests despite DEB_BUILD_OPTIONS=nocheck. After supporting
DEB_BUILD_OPTIONS=nocheck, wcstools cross builds successfully. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru wcstools-3.9.5/debian/changelog wcstools-3.9.5/debian/changelog
--- wcstools-3.9.5/debian/changelog	2018-01-23 21:30:58.000000000 +0100
+++ wcstools-3.9.5/debian/changelog	2018-05-18 16:37:39.000000000 +0200
@@ -1,3 +1,10 @@
+wcstools (3.9.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support DEB_BUILD_OPTIONS=nocheck. Closes: #-1
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 18 May 2018 16:37:39 +0200
+
 wcstools (3.9.5-2) unstable; urgency=low
 
   * Update VCS fields to use salsa.d.o
diff --minimal -Nru wcstools-3.9.5/debian/rules wcstools-3.9.5/debian/rules
--- wcstools-3.9.5/debian/rules	2018-01-23 21:23:03.000000000 +0100
+++ wcstools-3.9.5/debian/rules	2018-05-18 16:37:37.000000000 +0200
@@ -19,9 +19,11 @@
 	test -e debian/iraf/lib/helpdb.mip
 
 override_dh_auto_test-arch:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	LD_LIBRARY_PATH=$$PWD/libwcs:$$LD_LIBRARY_PATH \
 	PATH=$$PWD/bin:$$PATH \
 	debian/tests/wcstools-test
+endif
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS


More information about the Debian-astro-maintainers mailing list