[Debian-on-mobile-maintainers] Bug#1010225: callaudiod FTCBFS: fails running gtk-doc scanner

Helmut Grohne helmut at subdivi.de
Tue Apr 26 19:10:25 BST 2022


Source: callaudiod
Version: 0.1.4-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

callaudiod fails to cross build from source, because it fails to run the
cross-built gtk-doc scanner. Fortunately, the documentation is split to
an arch:all package, so we don't have to build it during an arch-only
build such as a cross build. All that needs to be done here is skipping
the documentation build for arch-only builds. Doing so also speeds up
the build on buildds. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru callaudiod-0.1.4/debian/changelog callaudiod-0.1.4/debian/changelog
--- callaudiod-0.1.4/debian/changelog	2022-03-25 10:23:38.000000000 +0100
+++ callaudiod-0.1.4/debian/changelog	2022-04-26 20:01:29.000000000 +0200
@@ -1,3 +1,10 @@
+callaudiod (0.1.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not build documentation in an arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 26 Apr 2022 20:01:29 +0200
+
 callaudiod (0.1.4-1) unstable; urgency=medium
 
   * d/gbp.conf: use proper config for upstream tag.
diff --minimal -Nru callaudiod-0.1.4/debian/control callaudiod-0.1.4/debian/control
--- callaudiod-0.1.4/debian/control	2022-03-25 10:23:38.000000000 +0100
+++ callaudiod-0.1.4/debian/control	2022-04-26 20:00:32.000000000 +0200
@@ -6,12 +6,13 @@
 Build-Depends:
  dbus,
  debhelper-compat (= 13),
- gtk-doc-tools,
  libasound2-dev,
  libglib2.0-dev,
  libpulse-dev,
  meson,
  pkg-config,
+Build-Depends-Indep:
+ gtk-doc-tools,
 Standards-Version: 4.6.0
 Homepage: https://gitlab.com/mobian1/callaudiod
 Vcs-Git: https://salsa.debian.org/DebianOnMobile-team/callaudiod.git
diff --minimal -Nru callaudiod-0.1.4/debian/rules callaudiod-0.1.4/debian/rules
--- callaudiod-0.1.4/debian/rules	2022-03-25 10:23:38.000000000 +0100
+++ callaudiod-0.1.4/debian/rules	2022-04-26 20:01:24.000000000 +0200
@@ -6,7 +6,7 @@
 	dh $@ --builddirectory=_build
 
 override_dh_auto_configure:
-	dh_auto_configure -- -Dgtk_doc=true
+	dh_auto_configure -- -Dgtk_doc=$(if $(filter libcallaudio-doc,$(shell dh_listpackages)),true,false)
 
 override_dh_makeshlibs:
 	dh_makeshlibs --package=libcallaudio-0-1 -- -c2


More information about the Debian-on-mobile-maintainers mailing list