🚀 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#1150714: libmirage FTCBFS: uses the build architecture vapigen
#602
Author: Helmut Grohne
Date: Mon, 12 Oct 2026 17:20
44 lines
3086 bytes
--jMlpF5F2v4rTo0e7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: libmirage
Version: 3.3.1-3
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libmirage fails to cross build from source, because its upstream build
system hard codes the build architecture vapigen. The vapigen.pc package
configuration exports a matching vapigen executable on Debian systems
and discovering it that way fixes the cross build. Please consider
applying the attached patch and forwarding it upstream.

Helmut

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

--- libmirage-3.3.1.orig/CMakeLists.txt
+++ libmirage-3.3.1/CMakeLists.txt
@@ -57,7 +57,15 @@
         set(VAPI_STATUS "OFF (introspection disabled)")
     else()
         find_program(VALAC valac DOC "the Vala compiler")
-        find_program(VAPIGEN vapigen DOC "tool to generate the Vala API")
+        pkg_check_modules(_pc_vapigen vapigen)
+        if(_pc_vapigen_FOUND)
+            pkg_get_variable(_pc_vapigen_executable vapigen vapigen)
+        endif()
+        if(_pc_vapigen_executable)
+            set(VAPIGEN "${_pc_vapigen_executable}")
+        else()
+            find_program(VAPIGEN vapigen DOC "tool to generate the Vala API")
+        endif()
         if(VALAC AND VAPIGEN)
             include(GObjectIntrospection)
             set(VAPI_STATUS "ON")

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