[Pkg-libvirt-maintainers] Bug#1126106: libosinfo FTCBFS: meson.build is confused

Helmut Grohne helmut at subdivi.de
Wed Jan 21 19:46:10 GMT 2026


Source: libosinfo
Version: 1.12.0-3
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libosinfo fails to cross build from source, because meson.build is
confused. It attempts to detect availability of gobject-introspection,
but decides that cross builds can never do gobject-introspection (even
though they now can on Debian). Then it enables vala support and fails,
because vala support requires gobject-introspection.

I suggest dropping the cross compilation condition. Once removing it,
the build proceeds much further until the gtk-doc scanner fails.
Ideally, the documentation would be separated to an arch:all -doc
package. Then, the -dev package would be much smaller and libosinfo
would become cross buildable.

In the mean time, I suggest fixing the confusion about
gobject-introspection.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 349 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20260121/4bc77a86/attachment.patch>


More information about the Pkg-libvirt-maintainers mailing list