Bug#929161: wiggle FTCFBS: fails running tests despite DEB_BUILD_OPTIONS=nocheck
Source: wiggle
Version: 1.1-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
wiggle fails to cross build from source, because it fails running tests
in the presence of DEB_BUILD_OPTIONS=nocheck. The "test" target is a
dependency of the default target "all" and thus run by dh_auto_build. It
is run a second time by dh_auto_test (in the absence of the nocheck
option). The attached patch explicitly selects the relevant targets in
override_dh_auto_build and makes wiggle cross buildable. Please consider
applying it.
Helmut
diff --minimal -Nru wiggle-1.1/debian/changelog wiggle-1.1/debian/changelog
--- wiggle-1.1/debian/changelog 2019-01-25 02:17:13.000000000 +0100
+++ wiggle-1.1/debian/changelog 2019-05-18 14:05:07.000000000 +0200
@@ -1,3 +1,9 @@
+wiggle (1.1-2) UNRELEASED; urgency=medium
+
+ * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 18 May 2019 14:05:07 +0200
+
wiggle (1.1-1) unstable; urgency=medium
* QA upload.
diff --minimal -Nru wiggle-1.1/debian/rules wiggle-1.1/debian/rules
--- wiggle-1.1/debian/rules 2019-01-25 00:58:06.000000000 +0100
+++ wiggle-1.1/debian/rules 2019-05-18 14:05:06.000000000 +0200
@@ -10,4 +10,4 @@
dh $@
override_dh_auto_build:
- dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+ dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" wiggle wiggle.man
Reply to: