🚀 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, 12 Oct 2026 17:20
Bug#1150716: ayatana-ido FTCBFS: hard codes the build architecture vapigen
#599
Author: Helmut Grohne
Date: Mon, 12 Oct 2026 17:20
57 lines
3368 bytes
--Den96crumUWUrqKD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: ayatana-ido
Version: 0.10.4-1.1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

ayatana-ido fails to cross build from source because the CMake
instructions hard code the build architecture vapigen. While vapigen
looks architecture-independent on the surface, it uses pkg-config and
thus uses architecture-dependent paths. Hence it fails finding GLib-2.0.
I'm attaching a patch that looks up the correct vapigen via (the
correctly detected) pkg-config. Please consider applying it. Note that
the package already contains a similar change for gir.

Helmut

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

--- ayatana-ido-0.10.4.orig/cmake/FindVala.cmake
+++ ayatana-ido-0.10.4/cmake/FindVala.cmake
@@ -32,6 +32,14 @@
 # OF SUCH DAMAGE.
 #=============================================================================
 
+find_package(PkgConfig)
+if(PKG_CONFIG_FOUND)
+  pkg_check_modules(_pc_vapigen vapigen)
+  if(_pc_vapigen_FOUND)
+    pkg_get_variable(_pc_vapigen_executable vapigen vapigen)
+  endif()
+endif()
+
 find_program (VALA_COMPILER "valac")
 
 if (VALA_COMPILER)
@@ -40,7 +48,11 @@
 	string (REGEX MATCH "[.0-9]+" VALA_VERSION "${VALA_VERSION}")
 endif (VALA_COMPILER)
 
-find_program (VAPI_GEN "vapigen")
+if(_pc_vapigen_executable)
+  set(VAPI_GEN "${_pc_vapigen_executable}")
+else()
+  find_program (VAPI_GEN "vapigen")
+endif()
 
 if (VAPI_GEN)
 	execute_process (COMMAND ${VAPI_GEN} --version

--Den96crumUWUrqKD--
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