Source: libinfinity
Version: 0.7.2-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

libinfinity 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 also separates its documentation into an Arch:all
package. Hence, we fix the cross build by disabling gtk-doc in arch-only
builds. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru libinfinity-0.7.2/debian/changelog 
libinfinity-0.7.2/debian/changelog
--- libinfinity-0.7.2/debian/changelog  2023-09-03 13:45:54.000000000 +0200
+++ libinfinity-0.7.2/debian/changelog  2024-02-03 10:48:01.000000000 +0100
@@ -1,3 +1,10 @@
+libinfinity (0.7.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtk-doc during arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 03 Feb 2024 10:48:01 +0100
+
 libinfinity (0.7.2-2) unstable; urgency=medium
 
   * Change build-dependency from libgsasl7-dev (removed) to
diff --minimal -Nru libinfinity-0.7.2/debian/rules 
libinfinity-0.7.2/debian/rules
--- libinfinity-0.7.2/debian/rules      2020-06-15 08:46:59.000000000 +0200
+++ libinfinity-0.7.2/debian/rules      2024-02-03 10:47:53.000000000 +0100
@@ -12,7 +12,7 @@
                --with-inftextgtk \
                --with-avahi \
                --with-libdaemon \
-               --enable-gtk-doc \
+               --$(if $(filter libinfinity-0.7-doc,$(shell 
dh_listpackages)),en,dis)able-gtk-doc \
                --enable-introspection
 
 override_dh_strip:

Reply via email to