Source: gdl
Version: 3.40.0-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

gdl fails to cross build from source, because it fails running the
gtk-doc scanner with an Exec format error. This is fairly usual.
Fortunately, it also separates its documentation into an Arch:all
package. Hence, we can disable gtk-doc in arch-only builds. Doing so
makes cross builds succeed. I'm attaching a patch for your convenience.

Helmut
--- gdl-3.40.0/debian/changelog
+++ gdl-3.40.0/debian/changelog
@@ -1,3 +1,10 @@
+gdl (3.40.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 03 Feb 2024 08:29:31 +0100
+
 gdl (3.40.0-1) unstable; urgency=medium
 
   * New upstream release
--- gdl-3.40.0/debian/rules
+++ gdl-3.40.0/debian/rules
@@ -12,7 +12,7 @@
 
 override_dh_auto_configure:
        dh_auto_configure -- \
-               --enable-gtk-doc
+               --$(if $(filter libgdl-3-doc,$(shell 
dh_listpackages)),en,dis)able-gtk-doc
 
 execute_before_dh_install:
        find debian/tmp -name '*.la' -print -delete

Reply via email to