Bug#1126386: libgedit-gfls FTCBFS: fails running gtk-doc scanner

Helmut Grohne helmut at subdivi.de
Fri Jan 23 14:50:09 GMT 2026


Source: libgedit-gfls
Version: 0.3.1-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libgedit-gfls fails to cross build from source, because it fails running
the gtk-doc scanner. Fortunately, the documentation has already been
separated to an arch:all package. Therefore, we don't actually have to
run the gtk-doc scanner in arch-only builds. I'm attaching a patch that
skips gtk-doc in arch:only builds and verified (using reproducible
builds) that the artifacts produced by a full build and an arch-only
built are exactly identical (those the are produced by both). Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff -Nru libgedit-gfls-0.3.1/debian/changelog libgedit-gfls-0.3.1/debian/changelog
--- libgedit-gfls-0.3.1/debian/changelog	2025-11-19 14:27:33.000000000 +0100
+++ libgedit-gfls-0.3.1/debian/changelog	2026-01-23 09:16:07.000000000 +0100
@@ -1,3 +1,10 @@
+libgedit-gfls (0.3.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtk-doc in arch-only builds. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 23 Jan 2026 09:16:07 +0100
+
 libgedit-gfls (0.3.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libgedit-gfls-0.3.1/debian/control libgedit-gfls-0.3.1/debian/control
--- libgedit-gfls-0.3.1/debian/control	2025-11-19 14:27:33.000000000 +0100
+++ libgedit-gfls-0.3.1/debian/control	2026-01-23 09:16:06.000000000 +0100
@@ -8,14 +8,14 @@
                dpkg-build-api (= 1),
                gir1.2-gtk-3.0-dev,
                gobject-introspection (>= 1.80),
-               gtk-doc-tools (>= 1.25),
                libglib2.0-dev (>= 2.78),
-               libglib2.0-doc,
                libgtk-3-dev (>= 3.22),
-               libgtk-3-doc,
                meson,
                pkgconf
 Standards-Version: 4.7.2
+Build-Depends-Indep: gtk-doc-tools (>= 1.25),
+                     libglib2.0-doc,
+                     libgtk-3-doc,
 Homepage: https://gedit-text-editor.org/
 Vcs-Browser: https://salsa.debian.org/gnome-team/libgedit-gfls
 Vcs-Git: https://salsa.debian.org/gnome-team/libgedit-gfls.git
diff -Nru libgedit-gfls-0.3.1/debian/rules libgedit-gfls-0.3.1/debian/rules
--- libgedit-gfls-0.3.1/debian/rules	2025-11-19 14:27:33.000000000 +0100
+++ libgedit-gfls-0.3.1/debian/rules	2026-01-23 09:15:37.000000000 +0100
@@ -6,3 +6,6 @@
 
 %:
 	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- -Dgtk_doc=$(if $(filter libgedit-gfls-doc,$(shell dh_listpackages)),true,false)


More information about the pkg-gnome-maintainers mailing list