I just deleted libvirt from the dependencies and guestfs-tools built just fine and I was able to run virt-sparsify without any issue. Looks like guestfs-tools should have a libvirt USE flag just like libguestfs already does. Reproducible: Always
Forgot to mention, I don't have libvirt installed: $ emerge -s app-emulation/libvirt guestfs-tools [ Results for search key : app-emulation/libvirt ] Searching... * app-emulation/libvirt Latest version available: 9.6.0 Latest version installed: [ Not Installed ] Size of files: 9,066 KiB Homepage: https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/ Description: C toolkit to manipulate virtual machines License: LGPL-2.1 * app-emulation/libvirt-glib Latest version available: 4.0.0 Latest version installed: [ Not Installed ] Size of files: 159 KiB Homepage: https://libvirt.org/ https://gitlab.com/libvirt/libvirt-glib/ Description: GLib and GObject mappings for libvirt License: LGPL-2.1+ * app-emulation/libvirt-snmp [ Masked ] Latest version available: 0.0.4 Latest version installed: [ Not Installed ] Size of files: 155 KiB Homepage: https://wiki.libvirt.org/Libvirt-snmp.html Description: Provides SNMP functionality for libvirt License: GPL-2 [ Applications found : 3 ] [ Results for search key : guestfs-tools ] Searching... * app-emulation/guestfs-tools Latest version available: 1.48.2 Latest version installed: 1.48.2 Size of files: 12,394 KiB Homepage: https://libguestfs.org/ Description: Tools for accessing, inspecting, and modifying virtual machine (VM) disk images License: GPL-2 LGPL-2 [ Applications found : 1 ]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0edd1cb3e4587a5f0612b4c69e26d5a14e0c1475 commit 0edd1cb3e4587a5f0612b4c69e26d5a14e0c1475 Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2024-07-31 19:10:09 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2025-02-20 09:08:54 +0000 app-emulation/guestfs-tools: add 1.52.3 Closes: https://bugs.gentoo.org/892990 Closes: https://bugs.gentoo.org/913888 Closes: https://bugs.gentoo.org/934364 Closes: https://bugs.gentoo.org/936619 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-emulation/guestfs-tools/Manifest | 1 + .../guestfs-tools/guestfs-tools-1.52.3.ebuild | 154 +++++++++++++++++++++ app-emulation/guestfs-tools/metadata.xml | 3 + 3 files changed, 158 insertions(+)