Source: clutter-imcontext Version: 0.1.4-3.1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
clutter-imcontext fails to cross build from source, because it fails running the gtk-doc scanner with an Exec format error. It already has its documentation split out to an Arch:all package, so running the scanner does not bring any benefit in an arch-only build. Hence, I propose fixing this cross build failure by disabling gtk-doc in arch-only builds. I'm attaching a patch for your convenience. I verified that the arch-only and indep-only .debs match those produced by a full build that enables gtk-doc via reproducible builds. Helmut
diff --minimal -Nru clutter-imcontext-0.1.4/debian/changelog clutter-imcontext-0.1.4/debian/changelog --- clutter-imcontext-0.1.4/debian/changelog 2020-12-25 18:19:08.000000000 +0100 +++ clutter-imcontext-0.1.4/debian/changelog 2024-02-11 14:11:48.000000000 +0100 @@ -1,3 +1,10 @@ +clutter-imcontext (0.1.4-3.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Disable gtk-doc in arch-only builds. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 11 Feb 2024 14:11:48 +0100 + clutter-imcontext (0.1.4-3.1) unstable; urgency=medium * Non maintainer upload by the Reproducible Builds team. diff --minimal -Nru clutter-imcontext-0.1.4/debian/rules clutter-imcontext-0.1.4/debian/rules --- clutter-imcontext-0.1.4/debian/rules 2012-06-27 17:47:50.000000000 +0200 +++ clutter-imcontext-0.1.4/debian/rules 2024-02-11 14:11:48.000000000 +0100 @@ -4,7 +4,12 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/utils.mk -DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) +build-arch binary-arch: DEB_BUILD_TYPE+=arch +build-indep binary-indep: DEB_BUILD_TYPE+=indep +build binary: DEB_BUILD_TYPE+=both + +DEB_CONFIGURE_EXTRA_FLAGS = --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --$(if $(filter indep both,$(DEB_BUILD_TYPE)),en,dis)able-gtk-doc DEB_CONFIGURE_SCRIPT := ./autogen.sh clutter-scan-immodules.1: debian/clutter-scan-immodules.sgml