Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526326 - app-emulation/libvirt-9999 fails in src_prepare with FEATURES="network-sandbox"
Summary: app-emulation/libvirt-9999 fails in src_prepare with FEATURES="network-sandbox"
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 18:16 UTC by Matthias Maier
Modified: 2014-10-31 07:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Maier gentoo-dev 2014-10-21 18:16:44 UTC
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