Source: sni-qt Version: 0.2.7+15.10.20150729-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
sni-qt fails to cross build from source, because it fails running xvfb-run. That might be a bug in xvfb, but here it is much easier to simply skip xvfb as cross builds are normally performed with DEB_BUILD_OPTIONS containing nocheck. After doing so, sni-qt cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru sni-qt-0.2.7+15.10.20150729/debian/changelog sni-qt-0.2.7+15.10.20150729/debian/changelog --- sni-qt-0.2.7+15.10.20150729/debian/changelog 2015-09-06 11:39:56.000000000 +0200 +++ sni-qt-0.2.7+15.10.20150729/debian/changelog 2017-10-13 23:23:11.000000000 +0200 @@ -1,3 +1,11 @@ +sni-qt (0.2.7+15.10.20150729-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Avoid running xvfb when DEB_BUILD_OPTIONS contains nocheck. + (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 13 Oct 2017 23:23:11 +0200 + sni-qt (0.2.7+15.10.20150729-2) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru sni-qt-0.2.7+15.10.20150729/debian/rules sni-qt-0.2.7+15.10.20150729/debian/rules --- sni-qt-0.2.7+15.10.20150729/debian/rules 2015-09-06 11:36:23.000000000 +0200 +++ sni-qt-0.2.7+15.10.20150729/debian/rules 2017-10-13 23:23:09.000000000 +0200 @@ -7,7 +7,9 @@ dh $@ --parallel override_dh_auto_test: +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) xvfb-run -a dh_auto_test +endif override_dh_makeshlibs: dh_makeshlibs -Nsni-qt