[Pkg-libvirt-maintainers] Bug#1118517: gir1.2-guestfs-1.0: please install GObject-Introspection typelib to /usr/lib/${DEB_HOST_MULTIARCH}/girepository-1.0

Simon McVittie smcv at debian.org
Tue Oct 21 14:05:49 BST 2025


Package: gir1.2-guestfs-1.0
Version: 1:1.54.1-2
Severity: normal
User: pkg-gnome-maintainers at lists.alioth.debian.org
Usertags: usr-lib-girepository-1.0

gir1.2-guestfs-1.0 installs Guestfs-1.0.typelib into 
/usr/lib/girepository-1.0/.

This is a legacy location, and is only searched because we apply a 
Debian-specific patch to libgirepository. Instead, please install the 
typelib file into /usr/lib/${DEB_HOST_MULTIARCH}/girepository-1.0.

The easiest way to do this (untested) should be to edit 
debian/gir1.2-guestfs-1.0.install and replace:

usr/lib/*-*/girepository-1.0/ usr/lib/

with:

usr/lib/*/girepository-1.0

When all of the 6 remaining packages that use the legacy location have 
been fixed, we will be able to stop patching libgirepository.

Thanks,
    smcv



More information about the Pkg-libvirt-maintainers mailing list