diff options
author | Michal Privoznik <michal.privoznik@gmail.com> | 2024-10-10 11:19:36 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-10-14 07:29:17 +0300 |
commit | d4efbea9d1b4dd345fd99c29fc551d12d89b016d (patch) | |
tree | 9e99c91bc0496b480f8a2f24418eefd74982371a /kde-frameworks/kdeclarative/kdeclarative-6.5.0.ebuild | |
parent | profiles: Clean up app-emulation/libvirt[virtualbox] USE flag masking (diff) | |
download | gentoo-master.tar.gz gentoo-master.tar.bz2 gentoo-master.zip |
The aim of virtualbox use flag is to drag in
app-emulation/virtualbox as dependency. Libvirt builds
without it just fine, but then fails at runtime:
error: failed to connect to the hypervisor
error: internal error: unable to initialize VirtualBox driver API
This is because VBoxXPCOMC.so is loaded at runtime (via dlopen()
[1]). But all of our ebuilds are missing the dependency because
of the commit below (which has really poor commit message and
doesn't explain why the dependency was removed).
For now, libvirt supports virtualbox-6.1 and virtualbox-7.0.
Support for virtualbox-7.1 is being worked on [2].
This reverts commit cbb7c820c7c34033be2bff54585804559145985a.
1: https://gitlab.com/libvirt/libvirt/-/blob/master/src/vbox/vbox_XPCOMCGlue.c?ref_type=heads#L110
2: https://gitlab.com/libvirt/libvirt/-/issues/681
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38937
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'kde-frameworks/kdeclarative/kdeclarative-6.5.0.ebuild')
0 files changed, 0 insertions, 0 deletions