Since without SOFTMMU targets, /usr/libexec/qemu-bridge-helper does not exist, the ebuild fails setting fcaps. See change: https://github.com/qemu/qemu/commit/206d1b9c38daed50fcc08d2e743e649fbb82d60b * Messages for package app-emulation/qemu-3.1.0: * FAILED postinst: 1 * ERROR: app-emulation/qemu-3.1.0::gentoo failed (postinst phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called pkg_postinst * environment, line 3763: Called fcaps 'cap_net_admin' '/usr/libexec/qemu-bridge-helper' * environment, line 2343: Called die * The specific snippet of code: * chmod ${caps_mode} "${file}" || die; * * If you need support, post the output of `emerge --info '=app-emulation/qemu-3.1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-3.1.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-3.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-3.1.0/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/qemu-3.1.0/homedir' * S: '/var/tmp/portage/app-emulation/qemu-3.1.0/work/qemu-3.1.0'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9060c3c166cdabb33564aba054fa1206c5b0b4d commit c9060c3c166cdabb33564aba054fa1206c5b0b4d Author: Doug Goldstein <cardoe@gentoo.org> AuthorDate: 2019-01-28 01:07:50 +0000 Commit: Doug Goldstein <cardoe@gentoo.org> CommitDate: 2019-01-28 01:08:30 +0000 app-emulation/qemu: fix build with SOFTMMU_TARGETS empty When SOFTMMU_TARGETS are empty the qemu-bridge-helper isn't installed anymore causing a failure to build due to the fcaps call. Closes: https://bugs.gentoo.org/675110 Signed-off-by: Doug Goldstein <cardoe@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-emulation/qemu/qemu-3.1.0.ebuild | 3 ++- app-emulation/qemu/qemu-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)