Source: valentina
Version: 0.6.1~dfsg-10
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

valentina fails to cross build from source, because it fails running
tests despite being given DEB_BUILD_OPTIONS=nocheck. Before debhelper
compatibility level 13, dh_auto_test overrides are run irrespectively of
the nocheck option. Please consider applying the attached patch until
you bump to that compatibility level.

Helmut
diff --minimal -Nru valentina-0.6.1~dfsg/debian/changelog 
valentina-0.6.1~dfsg/debian/changelog
--- valentina-0.6.1~dfsg/debian/changelog       2020-04-09 12:37:40.000000000 
+0200
+++ valentina-0.6.1~dfsg/debian/changelog       2020-05-09 07:37:25.000000000 
+0200
@@ -1,3 +1,10 @@
+valentina (0.6.1~dfsg-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 09 May 2020 07:37:25 +0200
+
 valentina (0.6.1~dfsg-10) unstable; urgency=medium
 
   * Fix stop build-depend on d-shlibs: Unused.
diff --minimal -Nru valentina-0.6.1~dfsg/debian/rules 
valentina-0.6.1~dfsg/debian/rules
--- valentina-0.6.1~dfsg/debian/rules   2020-04-09 11:52:36.000000000 +0200
+++ valentina-0.6.1~dfsg/debian/rules   2020-05-09 07:37:08.000000000 +0200
@@ -27,11 +27,15 @@
                share/measurement-body-diagram.svg
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        $(call _TEST,CollectionTest)
        $(call _TEST,ParserTest)
        $(call _TEST,ValentinaTest)
+endif
 override_dh_auto_test-indep:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        $(call _TEST,TranslationsTest)
+endif
 
 # fix rpath to point to private shared libraries
 # rename tape -> valentina-tape

Reply via email to