Source: farstream-0.2
Version: 0.2.9-2
Tags: patch
User: [email protected]
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
--- 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 <[email protected]>  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~)'

Reply via email to