Bug#1062793: gupnp-dlna FTCBFS: fails running the gtk-doc scanner
Helmut Grohne
helmut at subdivi.de
Sat Feb 3 09:30:01 GMT 2024
Source: gupnp-dlna
Version: 0.12.0-3
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
gupnp-dlna fails to cross build from source, because it fails running
the gtk-doc scanner with an Exec format error. This is fairly common.
Fortunately, gupnp-dlna has separated its documentation into an Arch:all
package. Hence, we can skip gtk-doc in arch-only builds. Doing so gets
the build quite a bit further, but doesn't make it succeed. We'll
likely have to work on the tooling layer around vala to make it pass,
but that's out of the scope of this bug. I'm attaching a patch for the
gtk-doc aspect for your convenience.
Helmut
-------------- next part --------------
--- gupnp-dlna-0.12.0/debian/changelog
+++ gupnp-dlna-0.12.0/debian/changelog
@@ -1,3 +1,10 @@
+gupnp-dlna (0.12.0-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Improve cross building: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 03 Feb 2024 08:16:47 +0100
+
gupnp-dlna (0.12.0-3) unstable; urgency=medium
* Release to unstable
--- gupnp-dlna-0.12.0/debian/rules
+++ gupnp-dlna-0.12.0/debian/rules
@@ -9,7 +9,8 @@
override_dh_auto_configure:
dh_auto_configure -- \
- --enable-debug --enable-gtk-doc
+ --enable-debug \
+ --$(if $(filter libgupnp-dlna-doc,$(shell dh_listpackages)),en,dis)able-gtk-doc
override_dh_auto_build:
dh_auto_build --no-parallel
More information about the pkg-gnome-maintainers
mailing list