Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754888 - app-emulation/libvirt-6.8.0-r1[-pcap] needs net-libs/libpcap at runtime
Summary: app-emulation/libvirt-6.8.0-r1[-pcap] needs net-libs/libpcap at runtime
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Matthias Maier
Depends on:
Reported: 2020-11-16 09:01 UTC by Agostino Sarubbo
Modified: 2020-12-07 08:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-11-16 09:01:10 UTC
[binary   R    ] app-emulation/libvirt-6.8.0-r1:0/6.8.0::gentoo  USE="caps dbus libvirtd qemu udev -apparmor -audit -dtrace -firewalld -fuse -glusterfs -iscsi -iscsi-direct -libssh -lvm -lxc -macvtap -nfs -nls -numa (-openvz) -parted -pcap -policykit -rbd -sasl (-selinux) -vepa -virt-network -virtualbox -wireshark-plugins -xen -zfs" 0 KiB

# /usr/sbin/libvirtd 
2020-11-16 08:56:09.845+0000: 314: info : libvirt version: 6.8.0
2020-11-16 08:56:09.845+0000: 314: info : hostname: $HOSTNAME
2020-11-16 08:56:09.845+0000: 314: error : virModuleLoadFile:53 : internal error: Failed to load module '/usr/lib64/libvirt/connection-driver/': cannot open shared object file: No such file or directory
Comment 1 Michal Privoznik 2020-12-06 19:43:58 UTC
This was fixed by the following upstream commit:

We need to backport it.
Comment 2 Larry the Git Cow gentoo-dev 2020-12-07 08:53:23 UTC
The bug has been closed via the following commit(s):

commit ad451bce337625b991035a0816d03127336e0b21
Author:     Michal Privoznik <>
AuthorDate: 2020-12-06 20:00:00 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2020-12-07 08:53:19 +0000

    app-emulation/libvirt-6.8.0: Properly handle libpcap if it's explicitly disabled
    This is a direct backport of an upstream commit of:
    It was merged in 6.9.0 release, so 6.8.0 is the only release
    which is still buggy.
    Signed-off-by: Michal Privoznik <>
    Signed-off-by: Sergei Trofimovich <>

 ...rly-handle-libpcap-if-it-s-explicitly-dis.patch | 56 ++++++++++++++++++++++
 ...irt-6.8.0-r1.ebuild => libvirt-6.8.0-r2.ebuild} |  1 +
 2 files changed, 57 insertions(+)