Bug#909946: libgnomecanvas FTCBFS: fails running libgnomecanvas-scan

Helmut Grohne helmut at subdivi.de
Sun Sep 30 13:30:28 BST 2018


Source: libgnomecanvas
Version: 2.30.3-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

libgnomecanvas fails to cross build from source, because it fails
running libgnomecanvas-scan. This tool is used for generating
documentation.  Fortunately, documentation is split out into an arch:all
-doc package, so we don't actually need to run it. Please pass
--disable-gtk-doc to arch-only builds. The attached patch implements
that for your convenience.

Helmut
-------------- next part --------------
diff --minimal -Nru libgnomecanvas-2.30.3/debian/changelog libgnomecanvas-2.30.3/debian/changelog
--- libgnomecanvas-2.30.3/debian/changelog	2018-08-30 22:19:52.000000000 +0200
+++ libgnomecanvas-2.30.3/debian/changelog	2018-09-30 13:35:27.000000000 +0200
@@ -1,3 +1,10 @@
+libgnomecanvas (2.30.3-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: --disable-gtk-doc for arch-only builds. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 30 Sep 2018 13:35:27 +0200
+
 libgnomecanvas (2.30.3-4) unstable; urgency=low
 
   * New maintainer. (Closes: #873351, #886063, #895247)
diff --minimal -Nru libgnomecanvas-2.30.3/debian/rules libgnomecanvas-2.30.3/debian/rules
--- libgnomecanvas-2.30.3/debian/rules	2018-08-30 22:19:52.000000000 +0200
+++ libgnomecanvas-2.30.3/debian/rules	2018-09-30 13:35:25.000000000 +0200
@@ -3,6 +3,7 @@
 TARBALL_EXT = tar.bz2
 
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+DO_PACKAGES = $(shell dh_listpackages)
 
 %:
 	dh $@
@@ -12,7 +13,7 @@
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		--enable-gtk-doc \
+		--$(if $(filter libgnomecanvas2-doc,$(DO_PACKAGES)),en,dis)able-gtk-doc \
 		--enable-glade
 
 override_dh_auto_test:


More information about the pkg-gnome-maintainers mailing list