Source: libvirt-glib
Version: 5.0.0-3
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
Control: affects 1126007 + src:libvirt-glib
libvirt-glib fails to cross build from source, because meson.build
disables gobject-introspection for cross compilation and then fails as
vala support requires gobject-introspection. On Debian,
gobject-introspection actually works due to a cross wrapper doing the
heavy lifting. Please lift the restriction. Once doing so, the build
fails via #1126007. I'm attaching a patch for your convenience.
Helmut
--- libvirt-glib-5.0.0.orig/meson.build
+++ libvirt-glib-5.0.0/meson.build
@@ -61,7 +61,7 @@
# gobject introspection
gir = find_program('g-ir-scanner', required: get_option('introspection'))
-enable_introspection = gir.found() and not meson.is_cross_build()
+enable_introspection = gir.found()
# vala
vapi_opt = get_option('vapi')