Source: cattle-1.0 Version: 1.4.0-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
cattle-1.0 fails to cross build from source, because it fails running the gtk-doc scanner. Fortunately, the documentation is split out into an arch:all package, so running the gtk-doc scanner is not necessary. Hence, I am suggesting to skip it entirely in arch-only builds. Using reproducible builds, I verified that this change does not affect binary artifacts. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru cattle-1.0-1.4.0/debian/changelog cattle-1.0-1.4.0/debian/changelog --- cattle-1.0-1.4.0/debian/changelog 2023-02-11 17:46:56.000000000 +0100 +++ cattle-1.0-1.4.0/debian/changelog 2024-03-08 16:31:26.000000000 +0100 @@ -1,3 +1,10 @@ +cattle-1.0 (1.4.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Skip gtk-doc on arch-only build. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 08 Mar 2024 16:31:26 +0100 + cattle-1.0 (1.4.0-2) unstable; urgency=medium * debhelper diff --minimal -Nru cattle-1.0-1.4.0/debian/rules cattle-1.0-1.4.0/debian/rules --- cattle-1.0-1.4.0/debian/rules 2023-02-11 17:46:56.000000000 +0100 +++ cattle-1.0-1.4.0/debian/rules 2024-03-08 16:31:26.000000000 +0100 @@ -38,7 +38,7 @@ override_dh_auto_configure: dh_auto_configure -- \ --enable-introspection=yes \ - --enable-gtk-doc=yes + --enable-gtk-doc=$(if $(filter libcattle-1.0-doc,$(shell dh_listpackages)),yes,no) # Prepare files. #