Source: konclude
Version: 0.6.2~dfsg-5
Tags: patch
User: [email protected]
Usertags: rebootstrap

konclude fails to cross build from source, because it fails running
tests in the presence of DEB_BUILD_OPTIONS=nocheck. The attached patch
makes the tests optional, but konclude still fails to cross build due to
its use of help2man. Please consider applying the attached patch anyway
and close this bug when doing so.

Helmut
diff --minimal -Nru konclude-0.6.2~dfsg/debian/changelog 
konclude-0.6.2~dfsg/debian/changelog
--- konclude-0.6.2~dfsg/debian/changelog        2018-11-29 17:00:28.000000000 
+0100
+++ konclude-0.6.2~dfsg/debian/changelog        2019-05-26 21:01:48.000000000 
+0200
@@ -1,3 +1,10 @@
+konclude (0.6.2~dfsg-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 26 May 2019 21:01:48 +0200
+
 konclude (0.6.2~dfsg-5) unstable; urgency=medium
 
   * Run examples as minimal testsuite.
diff --minimal -Nru konclude-0.6.2~dfsg/debian/rules 
konclude-0.6.2~dfsg/debian/rules
--- konclude-0.6.2~dfsg/debian/rules    2018-11-29 16:59:52.000000000 +0100
+++ konclude-0.6.2~dfsg/debian/rules    2019-05-26 21:01:12.000000000 +0200
@@ -13,7 +13,9 @@
        QT_SELECT=5 CXXFLAGS="$(CXXFLAGS) -fpermissive" dh_auto_configure
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        KONCLUDE=Release/Konclude debian/tests/examples
+endif
 
 $(manpages): debian/%.1 : debian/% Release/%
        chmod +x $<

Reply via email to