[Pkg-telepathy-maintainers] Bug#1062787: telepathy-logger FTCBFS: fails running gtk-doc scanner

Helmut Grohne helmut at subdivi.de
Sat Feb 3 10:02:19 GMT 2024


Source: telepathy-logger
Version: 0.8.2-4
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

telepathy-logger fails to cross build from source, because it fails
running the gtk-doc scanner with an Exec format error. This is fairly
common. Fortunately, it also separates its documentation to an Arch:all
package. Hence, we can disable gtk-doc in arch-only builds and thereby
make cross builds work. I'm attaching a patch for your convenience.

Helmut
-------------- next part --------------
--- telepathy-logger-0.8.2/debian/changelog
+++ telepathy-logger-0.8.2/debian/changelog
@@ -1,3 +1,10 @@
+telepathy-logger (0.8.2-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 03 Feb 2024 08:20:49 +0100
+
 telepathy-logger (0.8.2-4) unstable; urgency=medium
 
   * debian/patches/sync_tools_with_tp-glib_master.patch: Fix FTBFS with
--- telepathy-logger-0.8.2/debian/rules
+++ telepathy-logger-0.8.2/debian/rules
@@ -8,7 +8,7 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --libexecdir="\$${prefix}/lib/telepathy" \
 		--disable-Werror \
-		--enable-gtk-doc \
+		--$(if $(filter libtelepathy-logger-doc,$(shell dh_listpackages)),en,dis)able-gtk-doc \
 		--with-html-dir=\$${prefix}/share/doc/libtelepathy-logger-doc \
 		--enable-introspection \
 		--disable-silent-rules \


More information about the Pkg-telepathy-maintainers mailing list