[Pkg-telepathy-maintainers] Bug#1062782: farstream-0.2 FTCBFS: fails running gtk-doc scanner

Helmut Grohne helmut at subdivi.de
Sat Feb 3 09:39:18 GMT 2024


Source: farstream-0.2
Version: 0.2.9-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

farstream-0.2 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 has its documentation split out to an Arch:all package.
Hence, we can skip gtk-doc in arch-only builds and doing so makes a
cross build succeed. I'm attaching a patch for your convenience.

Helmut
-------------- next part --------------
--- farstream-0.2-0.2.9/debian/changelog
+++ farstream-0.2-0.2.9/debian/changelog
@@ -1,3 +1,10 @@
+farstream-0.2 (0.2.9-2.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:12:52 +0100
+
 farstream-0.2 (0.2.9-2) unstable; urgency=medium
 
   * Team upload
--- farstream-0.2-0.2.9/debian/rules
+++ farstream-0.2-0.2.9/debian/rules
@@ -21,7 +21,7 @@
 override_dh_auto_test:
 	:
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-gtk-doc --disable-silent-rules
+	dh_auto_configure -- --$(if $(filter libfarstream-0.2-doc,$(shell dh_listpackages)),en,dis)able-gtk-doc --disable-silent-rules
 
 override_dh_strip:
 	dh_strip --ddeb-migration='libfarstream-0.2-dbg (<< 0.2.7-1~)'


More information about the Pkg-telepathy-maintainers mailing list