🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Mon, 26 Oct 2026 20:20
Bug#1152206: libayatana-common FTCBFS: uses the build architecture vapigen
#2313
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
45 lines
3072 bytes
--Njikkni+Gc8nwnQd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: libayatana-common
Version: 0.9.13-3
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libayatana-common fails to cross build from source, because it uses the
build architecture vapigen. As it uses an architecture-dependent search
path, it fails locate required libraries. A triplet-prefixed tool is
required on Debian. The easiest way to discover it is from the
vapigen.pc file. I'm attaching a patch for your convenience. Please
consider applying it and forwarding it upstream.

Helmut

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

--- libayatana-common-0.9.13.orig/cmake/FindVala.cmake
+++ libayatana-common-0.9.13/cmake/FindVala.cmake
@@ -40,7 +40,15 @@ if (VALA_COMPILER)
 	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

--Njikkni+Gc8nwnQd--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads