The live ebuild has to initialize some git submodules in the src_prepare phase which requires network connection. With network-sandbox enabled this obviously fails: libvirt % ebuild libvirt-9999.ebuild prepare >>> Existing ${T}/environment for 'libvirt-9999' will be sourced. Run >>> 'clean' to start with a fresh environment. >>> WORKDIR is up-to-date, keeping... * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> It appears that 'pretend' has already executed for 'libvirt-9999'; skipping. >>> Remove '/var/tmp/portage/app-emulation/libvirt-9999/.pretended' to force pretend. >>> It appears that 'setup' has already executed for 'libvirt-9999'; skipping. >>> Remove '/var/tmp/portage/app-emulation/libvirt-9999/.setuped' to force setup. >>> It appears that 'unpack' has already executed for 'libvirt-9999'; skipping. >>> Remove '/var/tmp/portage/app-emulation/libvirt-9999/.unpacked' to force unpack. >>> Preparing source in /var/tmp/portage/app-emulation/libvirt-9999/work/libvirt-9999 ... ac-wrapper: warning: invalid WANT_AUTOCONF 'latest'; ignoring. ./bootstrap: Bootstrapping from checked-out libvirt sources... ./bootstrap: consider installing git-merge-changelog from gnulib ./bootstrap: getting gnulib files... Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path '.gnulib' Cloning into '.gnulib'... fatal: Unable to look up git.sv.gnu.org (port 9418) (Name or service not known) Clone of 'git://git.sv.gnu.org/gnulib.git' into submodule path '.gnulib' failed * ERROR: app-emulation/libvirt-9999::gentoo failed (prepare phase): * bootstrap failed * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 5099: Called die * The specific snippet of code: * ./bootstrap || die "bootstrap failed"; * * If you need support, post the output of `emerge --info '=app-emulation/libvirt-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/libvirt-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libvirt-9999/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/libvirt-9999/work/libvirt-9999' * S: '/var/tmp/portage/app-emulation/libvirt-9999/work/libvirt-9999' Reproducible: Always