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

Bug#1062785: planner FTCBFS: fails during gtk-doc-scan



Source: planner
Version: 0.14.91-3
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

planner fails to cross build from source, because it fails running the
gtk-doc scanner with an Exec format error. Fortunately, the
documentation is split out to an Arch:all package. Hence, we can fix the
cross build by disabling gtk-doc in arch-only builds. I'm attaching a
patch for your convenience.

Helmut
--- planner-0.14.91/debian/changelog
+++ planner-0.14.91/debian/changelog
@@ -1,3 +1,9 @@
+planner (0.14.91-4) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 03 Feb 2024 08:56:18 +0100
+
 planner (0.14.91-3) unstable; urgency=medium
 
   * QA upload
--- planner-0.14.91/debian/rules
+++ planner-0.14.91/debian/rules
@@ -6,7 +6,7 @@
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- -Dgtk_doc=true
+	dh_auto_configure -- -Dgtk_doc=$(if $(filter planner-doc,$(shell dh_listpackages)),true,false)
 
 override_dh_shlibdeps:
 	dh_shlibdeps -l$(CURDIR)/debian/planner/usr/lib/$(DEB_HOST_MULTIARCH)/planner

Reply to: