🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2292

Bug#1152201: ayatana-indicator-sound FTCBFS: uses the build architecture vapigen

#2292
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
44 lines
3096 bytes
--TrKGk7TRMq53YMdW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: ayatana-indicator-sound
Version: 24.5.3-4
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

ayatana-indicator-sound fails to cross build from source, because it
uses the build architecture vapigen. This tool uses an
architecture-dependent library search path and therefore needs to be
called correctly. I'm attaching a patch to use pkg-config to discover
the correct instance. Please consider applying it.

Helmut

--TrKGk7TRMq53YMdW
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"

--- ayatana-indicator-sound-24.5.3.orig/cmake/FindVala.cmake
+++ ayatana-indicator-sound-24.5.3/cmake/FindVala.cmake
@@ -40,7 +40,15 @@
 	string (REGEX MATCH "[.0-9]+" VALA_VERSION "${VALA_VERSION}")
 endif (VALA_COMPILER)
 
-find_program (VAPI_GEN "vapigen")
+pkg_check_modules(_pc_vapigen vapigen)
+if (_pc_vapigen_FOUND)
+	pkg_get_variable(_pc_vapigen_executable vapigen vapigen)
+endif (_pc_vapigen_FOUND)
+if (_pc_vapigen_executable)
+	set(VAPI_GEN "${_pc_vapigen_executable}")
+else (_pc_vapigen_executable)
+	find_program (VAPI_GEN "vapigen")
+endif (_pc_vapigen_executable)
 
 if (VAPI_GEN)
 	execute_process (COMMAND ${VAPI_GEN} --version

--TrKGk7TRMq53YMdW--
Technical Details
Message-ID: <NSzkJ-84wi-19@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152201: ayatana-indicator-sound FTCBFS: uses the build architecture vapigen
Date: Mon, 26 Oct 2026 21:20:01 +0100
Message-ID: <NSzkJ-84wi-19@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 26 20:17:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152201@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-ayatana-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152201
X-Debian-Pr-Package: src:ayatana-indicator-sound
X-Debian-Pr-Keywords: patch upstream
X-Debian-Pr-Source: ayatana-indicator-sound
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="TrKGk7TRMq53YMdW"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999073
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 44
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 22 Oct 2026 14:22:37 +0200
X-Original-Message-ID: <20261022122237.GA32542@subdivi.de>