Created attachment 455146 [details] emerge --info It's not possible to emerge package with the following USEFLAGS: caps nls udev (-apparmor) -audit -firewalld -fuse (-glusterfs) -iscsi -libvirtd -lvm -lxc -macvtap -nfs -numa -openvz -parted -pcap -phyp -policykit -qemu -rbd -sasl (-selinux) -uml -vepa -virt-network -virtualbox (-wireshark-plugins) -xen -zeroconf Output: gdf-deployer-01 mapo # emerge -av app-emulation/libvirt * IMPORTANT: 13 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-emulation/libvirt-2.3.0:0/2.3.0::gentoo USE="caps nls udev (-apparmor) -audit -firewalld -fuse (-glusterfs) -iscsi -libvirtd -lvm -lxc -macvtap -nfs -numa -openvz -parted -pcap -phyp -policykit -qemu -rbd -sasl (-selinux) -uml -vepa -virt-network -virtualbox (-wireshark-plugins) -xen -zeroconf" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-emulation/libvirt-2.3.0::gentoo * libvirt-2.3.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Adding user 'qemu' to your system ... * - Userid: 77 * - Shell: /sbin/nologin * - Home: /dev/null * You must add group kvm to the system first * ERROR: app-emulation/libvirt-2.3.0::gentoo failed (setup phase): * kvm is not a valid GID * * Call stack: * ebuild.sh, line 133: Called pkg_setup * libvirt-2.3.0.ebuild, line 128: Called enewuser 'qemu' '77' '-1' '-1' 'qemu,kvm' * user.eclass, line 195: Called die * The specific snippet of code: * die "${g} is not a valid GID" * * If you need support, post the output of `emerge --info '=app-emulation/libvirt-2.3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-2.3.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/libvirt-2.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libvirt-2.3.0/temp/die.env'. * Working directory: '/usr/lib64/python3.4/site-packages' * S: '/var/tmp/portage/app-emulation/libvirt-2.3.0/work/libvirt-2.3.0'
Same for app-emulation/libvirt-9999 and app-emulation/libvirt-2.4.0
*** Bug 603638 has been marked as a duplicate of this bug. ***
commit 875198b0bffbe4060ddb3c3bedb52632c80a6ba7 Author: Matthias Maier <tamiko@gentoo.org> Date: Sun Jan 22 09:55:05 2017 -0600 app-emulation/libvirt: Do not create qemu user if USE=-qemu, bug #601678 Package-Manager: Portage-2.3.0, Repoman-2.3.1