Source: gtksourceview3
Version: 3.24.11-5
Tags: patch
User: [email protected]
Usertags: ftcbfs

gtksourceview3 fails to cross build from source, because it runs 
gtk-doc. Fortunately, its documentation is separated to an arch:all 
package, so there is not actually a need to run it during arch-only 
builds. Once disabling it, gtksourceview3 cross builds successfully. I 
verified that the binary artifacts do not change as a result of the 
proposed patch. Please consider applying it.

Helmut
diff -Nru gtksourceview3-3.24.11/debian/changelog 
gtksourceview3-3.24.11/debian/changelog
--- gtksourceview3-3.24.11/debian/changelog     2025-08-15 19:53:41.000000000 
+0200
+++ gtksourceview3-3.24.11/debian/changelog     2025-10-08 09:28:56.000000000 
+0200
@@ -1,3 +1,10 @@
+gtksourceview3 (3.24.11-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtk-doc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 08 Oct 2025 09:28:56 +0200
+
 gtksourceview3 (3.24.11-5) unstable; urgency=medium
 
   * Update gir packaging
diff -Nru gtksourceview3-3.24.11/debian/rules 
gtksourceview3-3.24.11/debian/rules
--- gtksourceview3-3.24.11/debian/rules 2025-08-15 19:53:41.000000000 +0200
+++ gtksourceview3-3.24.11/debian/rules 2025-10-08 09:28:51.000000000 +0200
@@ -12,7 +12,7 @@
 
 override_dh_auto_configure:
        dh_auto_configure -- \
-               --enable-gtk-doc \
+               --$(if $(filter libgtksourceview-3.0-doc,$(shell 
dh_listpackages)),en,dis)able-gtk-doc \
                --enable-static
 
 execute_before_dh_install:

Reply via email to