Article View: linux.debian.bugs.dist
Article #606Bug#1150717: libayatana-appindicator-glib FTCBFS: uses the build architecture vapigen
From: Helmut Grohne
Date: Mon, 12 Oct 2026 17:20
Date: Mon, 12 Oct 2026 17:20
43 lines
3108 bytes
3108 bytes
--UUCtt7fDbS4glZHR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: libayatana-appindicator-glib
Version: 2.0.3-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
libayatana-appindicator-glib fails to cross build from source, because
its upstream build system hard codes the build architecture vapigen. It
correctly discovers the host's vapigen.pc package configuration, but
does not consume the provided vapigen location to discover the correct
vapigen executable path. I'm attaching a patch that correct this. Please
consider applying it and forwarding it upstream as it makes
libayatana-appindicator-glib cross buildable.
Helmut
--UUCtt7fDbS4glZHR
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"
--- libayatana-appindicator-glib-2.0.3.orig/bindings/vala/CMakeLists.txt
+++ libayatana-appindicator-glib-2.0.3/bindings/vala/CMakeLists.txt
@@ -6,7 +6,12 @@
find_package(PkgConfig REQUIRED)
pkg_check_modules(Vala REQUIRED vapigen)
-find_program(VAPI_GEN NAMES vapigen)
+pkg_get_variable(_pc_vapigen_executable vapigen vapigen)
+if(_pc_vapigen_executable)
+ set(VAPI_GEN "${_pc_vapigen_executable}")
+else()
+ find_program(VAPI_GEN NAMES vapigen)
+endif()
add_custom_command (
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ayatana-appindicator-glib.vapi"
--UUCtt7fDbS4glZHR--
Technical Details
Message-ID:
<NNrQT-5704-67@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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#1150717: libayatana-appindicator-glib FTCBFS: uses the build architecture vapigen Date: Mon, 12 Oct 2026 19:20:03 +0200 Message-ID: <NNrQT-5704-67@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 12 17:15:21 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1150717@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 1150717 X-Debian-Pr-Package: src:libayatana-appindicator-glib X-Debian-Pr-Keywords: patch upstream X-Debian-Pr-Source: libayatana-appindicator-glib MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="UUCtt7fDbS4glZHR" 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/1996428 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 10 Oct 2026 23:00:16 +0200 X-Original-Message-ID: <20261010210016.GA3347346@subdivi.de>