[From nobody Sun May 24 18:53:04 2026
Received: (at submit) by bugs.debian.org; 9 Oct 2025 13:06:43 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE,
 WORD_WITHOUT_VOWELS autolearn=no autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 31; hammy, 150; neutral, 79; spammy,
 0. spammytokens: hammytokens:0.000-+--grohne, 0.000-+--Grohne,
 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking, 0.000-+--HTo:N*Debian
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:47098)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;helmut@subdivi.de&gt;) id 1v6qLy-006jK0-0p
 for submit@bugs.debian.org; Thu, 09 Oct 2025 13:06:43 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k21.isilmar-4; t=1760015199;
 bh=PDjDca+lB9tnAoB42fjYQ8fhgqDd5QMoihF7PVGZci0=;
 h=Date:From:To:Subject:From;
 b=Y/xz02lSg9dSvBR6i9dnbUoK8zTqQmKS0AQjyDJRgVS1+7CFo/TMWseIo0kdR850d
 Gt+9ya9n1qLDp20NLSV12YQ7xOoh5p6PEEF7WDh642XQanOqa0cur4HHV2qaZFSBQR
 da/VPzVhfGx0moofzRxm0eY70T/s2XnY5+bMrLYdwy8yL3TpCcc5572+yad8e4Bpti
 NRj+UFTroytzvHrch2pkaEiP6lWrU+2Qo/VwmJ7/uPlThqEqNEpP8ZFt4MDxjb3r7R
 20bRqgWo3OZ6PmH1Lkvg3hQqPZ5a2y4gVevNhEW/OVGCFhCYjTlm5cYlXpC5uqhhJY
 HefZJmQzeGADQ==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id 82413200702
 for &lt;submit@bugs.debian.org&gt;; Thu,  9 Oct 2025 13:06:39 +0000 (UTC)
Date: Mon, 6 Oct 2025 15:41:11 +0200
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libayatana-appindicator FTCBFS: fails running gtk-doc scanner
Message-ID: &lt;20251006134111.GA2410867@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;nkCbN13IYqRYf59R&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org


--nkCbN13IYqRYf59R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: libayatana-appindicator
Version: 0.5.94-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libayatana-appindicator fails to cross build from source, because it 
fails running the gtk-doc scanner. Fortunately, documentation has been 
separated to a -doc package and therefore running it is not necessary 
during an arch-only build. Just disabling it fixes the cross build. I'm 
attaching a patch for your convenience. It slightly speeds up arch-only 
builds while not affecting the binary output (in a reproducible builds 
sense).

Helmut

--nkCbN13IYqRYf59R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename=&quot;libayatana-appindicator_0.5.94-1.1.debdiff&quot;

diff -Nru libayatana-appindicator-0.5.94/debian/changelog libayatana-appindicator-0.5.94/debian/changelog
--- libayatana-appindicator-0.5.94/debian/changelog	2025-03-12 09:33:12.000000000 +0100
+++ libayatana-appindicator-0.5.94/debian/changelog	2025-10-06 14:04:57.000000000 +0200
@@ -1,3 +1,10 @@
+libayatana-appindicator (0.5.94-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Disable gtkdoc in the arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne &lt;helmut@subdivi.de&gt;  Mon, 06 Oct 2025 14:04:57 +0200
+
 libayatana-appindicator (0.5.94-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru libayatana-appindicator-0.5.94/debian/rules libayatana-appindicator-0.5.94/debian/rules
--- libayatana-appindicator-0.5.94/debian/rules	2023-10-29 10:10:53.000000000 +0100
+++ libayatana-appindicator-0.5.94/debian/rules	2025-10-06 14:04:57.000000000 +0200
@@ -10,8 +10,12 @@
 
 API_VERSION = 0.1
 
+DO_PACKAGES := $(shell dh_listpackages)
+
 CONFIGURE_COMMON_FLAGS = -DENABLE_TESTS=ON -DENABLE_BINDINGS_MONO=OFF
-CONFIGURE_FLAGS_gtk3 = -DFLAVOUR_GTK3=ON -DENABLE_GTKDOC=ON
+CONFIGURE_FLAGS_gtk3 = \
+	-DFLAVOUR_GTK3=ON \
+	-DENABLE_GTKDOC=$(if $(filter libayatana-appindicator-doc,$(DO_PACKAGES)),ON,OFF)
 
 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
@@ -41,7 +45,9 @@
 	rm -rf debian/tmp/*/usr/lib/mono
 	rm -rf debian/tmp/*/usr/share/vala/vapi/ayatana-appindicator*-0.1.deps
 	mkdir -p debian/tmp/gtk3/usr/share/doc/libayatana-appindicator3-dev/
+ifneq ($(filter libayatana-appindicator-doc,$(DO_PACKAGES)),)
 	mv debian/tmp/gtk3/usr/share/gtk-doc/html/libayatana-appindicator3 debian/tmp/gtk3/usr/share/doc/libayatana-appindicator3-dev/html
+endif
 
 	ln -s libayatana-appindicator3.so   debian/tmp/gtk3/usr/lib/$(DEB_HOST_MULTIARCH)/libappindicator3.so
 	ln -s libayatana-appindicator3.so.1 debian/tmp/gtk3/usr/lib/$(DEB_HOST_MULTIARCH)/libappindicator3.so.1

--nkCbN13IYqRYf59R--
]