Bug#927049: gtkmm3.0 FTBFS with DEB_BUILD_PROFILES=nocheck: make[1]: xvfb-run: Command not found

Helmut Grohne helmut at subdivi.de
Sun Apr 14 08:00:54 BST 2019


Source: gtkmm3.0
Version: 3.24.0-2
Tags: ftbfs patch
User: helmutg at debian.org
Usertags: rebootstrap

gtkmm3.0 fails to build from source when built with the nocheck build
profile, because it removes the xvfb dependency and thus fails running
xvfb-run. The attached patch conditionalizes the whole test invocation
and thus fixes the build failure. Please consider applying it.

Helmut
-------------- next part --------------
diff --minimal -Nru gtkmm3.0-3.24.0/debian/changelog gtkmm3.0-3.24.0/debian/changelog
--- gtkmm3.0-3.24.0/debian/changelog	2018-12-28 15:49:03.000000000 +0100
+++ gtkmm3.0-3.24.0/debian/changelog	2019-04-14 08:00:36.000000000 +0200
@@ -1,3 +1,10 @@
+gtkmm3.0 (3.24.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with DEB_BUILD_PROFILES=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 14 Apr 2019 08:00:36 +0200
+
 gtkmm3.0 (3.24.0-2) unstable; urgency=medium
 
   * Bump SHVER to 3.24.0
diff --minimal -Nru gtkmm3.0-3.24.0/debian/rules gtkmm3.0-3.24.0/debian/rules
--- gtkmm3.0-3.24.0/debian/rules	2018-12-28 15:49:03.000000000 +0100
+++ gtkmm3.0-3.24.0/debian/rules	2019-04-14 08:00:35.000000000 +0200
@@ -27,4 +27,6 @@
 	dh_installexamples -XMakefile
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	xvfb-run -a dh_auto_test
+endif


More information about the pkg-gnome-maintainers mailing list