[From nobody Thu Nov 12 18:51:06 2026
Received: (at submit) by bugs.debian.org; 3 Feb 2024 10:11:52 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.0 required=4.0 tests=BAYES_00,SPF_HELO_NONE,
 SPF_NONE,T_SCC_BODY_TEXT_LINE,WORD_WITHOUT_VOWELS autolearn=no
 autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 41; spammy,
 0. spammytokens: hammytokens:0.000-+--sk:dh_auto, 0.000-+--grohne,
 0.000-+--Grohne, 0.000-+--sk:enable, 0.000-+--sk:enable-
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:46158)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;helmut@subdivi.de&gt;) id 1rWD03-00HaA9-Ty
 for submit@bugs.debian.org; Sat, 03 Feb 2024 10:11:52 +0000
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id D8E4120020D
 for &lt;submit@bugs.debian.org&gt;; Sat,  3 Feb 2024 10:11:48 +0000 (UTC)
Date: Sat, 3 Feb 2024 11:02:19 +0100
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: telepathy-logger FTCBFS: fails running gtk-doc scanner
Message-ID: &lt;20240203100219.GA2433663@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;6kjumL3/1hnzoDYX&quot;
Content-Disposition: inline
X-Reportbug-Version: 12.0.0
Delivered-To: submit@bugs.debian.org


--6kjumL3/1hnzoDYX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: telepathy-logger
Version: 0.8.2-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

telepathy-logger fails to cross build from source, because it fails
running the gtk-doc scanner with an Exec format error. This is fairly
common. Fortunately, it also separates its documentation to an Arch:all
package. Hence, we can disable gtk-doc in arch-only builds and thereby
make cross builds work. I'm attaching a patch for your convenience.

Helmut

--6kjumL3/1hnzoDYX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename=&quot;telepathy-logger_0.8.2-4.1.debdiff&quot;

--- telepathy-logger-0.8.2/debian/changelog
+++ telepathy-logger-0.8.2/debian/changelog
@@ -1,3 +1,10 @@
+telepathy-logger (0.8.2-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne &lt;helmut@subdivi.de&gt;  Sat, 03 Feb 2024 08:20:49 +0100
+
 telepathy-logger (0.8.2-4) unstable; urgency=medium
 
   * debian/patches/sync_tools_with_tp-glib_master.patch: Fix FTBFS with
--- telepathy-logger-0.8.2/debian/rules
+++ telepathy-logger-0.8.2/debian/rules
@@ -8,7 +8,7 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --libexecdir=&quot;\$${prefix}/lib/telepathy&quot; \
 		--disable-Werror \
-		--enable-gtk-doc \
+		--$(if $(filter libtelepathy-logger-doc,$(shell dh_listpackages)),en,dis)able-gtk-doc \
 		--with-html-dir=\$${prefix}/share/doc/libtelepathy-logger-doc \
 		--enable-introspection \
 		--disable-silent-rules \

--6kjumL3/1hnzoDYX--
]