Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412695

Summary: [virtualization overlay] app-emulation/xen-tools-9999 fails to unpack
Product: Gentoo Linux Reporter: Michael Mair-Keimberger (iamnr3) <mmk>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Michael Mair-Keimberger (iamnr3) 2012-04-19 21:16:35 UTC
I'm trying to install the latest xen sources but xen-tools fails at unpack phase:

>>> Emerging (1 of 1) app-emulation/xen-tools-9999 from virtualization
 * ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                      [ ok ]
>>> Unpacking source...
 * Cloning to /usr/portage/distfiles/hg-src/xen-tools/xen-unstable.hg
abort: '' does not appear to be an hg repository:
---%<--- (no content-type)

 * ERROR: app-emulation/xen-tools-9999 failed (unpack phase):
 *   failed to clone
 * Call stack:
 *, line   85:  Called src_unpack
 *   environment, line 5047:  Called mercurial_src_unpack
 *   environment, line 2567:  Called mercurial_fetch
 *   environment, line 2547:  Called die
 * The specific snippet of code:
 *               die "failed to clone ${EHG_REPO_URI}"
 * If you need support, post the output of 'emerge --info =app-emulation/xen-tools-9999',
 * the complete build log and the output of 'emerge -pqv =app-emulation/xen-tools-9999'.
 * This ebuild is from an overlay named 'virtualization': '/media/public/overlays/layman/virtualization/'
 * The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-9999/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/xen-tools-9999/work/xen-unstable.hg'

Looks like the ebuild must be changed? Well app-emulation/xen itself build fine, but looking at things like xl info, xl list, xl dmesg... i'll get nice errors like :
libxl: error: libxl.c:2361:libxl_get_physinfo getting physinfo: Permission denied
libxl_physinfo failed.
libxl: error: libxl.c:2567:libxl_get_sched_id getting domain info list: Permission denied
get_sched_id sysctl failed.
xend_config_format     : 4
Looks like xen is pretty unusable without the latest xen-tools. Would be nice if someone could fix that.

emerge --info:
Portage (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-rc3 x86_64)
System uname: Linux-3.4.0-rc3-x86_64-AMD_FX-tm-8150_Eight-Core_Processor-with-gentoo-2.1
Timestamp of tree: Thu, 19 Apr 2012 04:15:01 +0000
app-shells/bash:          4.2_p24
dev-lang/python:          2.7.3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-local sunrise virtualization
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -fomit-frame-pointer -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx -march=native"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx -march=native"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/media/public/overlays/local /media/public/overlays/layman/sunrise /media/public/overlays/layman/virtualization"
USE="X acl alsa amd64 avx berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri exif flac fortran gallium gdbm gif gpm graphite iconv ipv6 jabber jpeg kde kipi lzma mmx modules mp3 mp4 mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre phonon png policykit pppd qt4 readline sdl semantic-desktop session sip sse sse2 ssl sysfs tcpd threads tiff truetype udev unicode v4l2 vpx x264 xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="net niash" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Michael Mair-Keimberger (iamnr3) 2014-05-04 13:49:55 UTC
I'm closing this bug since xen-tools-9999 switched to git, which doesn't seems to be affect by this bug.