[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1062783: libxfce4ui FTCBFS: fails running gtk-doc scanner



Source: libxfce4ui
Version: 4.18.4-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libxfce4ui 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 splits out its documentation to an Arch:all
package. Hence, we can disable gtk-doc in arch-only builds and thus
side-step this problem making the cross build succeed. I'm attaching a
patch for your convenience.

Helmut
--- libxfce4ui-4.18.4/debian/changelog
+++ libxfce4ui-4.18.4/debian/changelog
@@ -1,3 +1,10 @@
+libxfce4ui (4.18.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 03 Feb 2024 08:53:15 +0100
+
 libxfce4ui (4.18.4-1) unstable; urgency=medium
 
   * Team upload.
--- libxfce4ui-4.18.4/debian/rules
+++ libxfce4ui-4.18.4/debian/rules
@@ -14,7 +14,7 @@
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		--with-vendor-info=$(XFVENDOR) \
-		--enable-gtk-doc \
+		--$(if $(filter libxfce4ui-common,$(shell dh_listpackages)),en,dis)able-gtk-doc \
 		--enable-introspection=yes \
 		--enable-vala=no
 

Reply to: