Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failure to emerge app-emulation/xen-pvgrub (libelf)
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message

Joined: 20 Jul 2007
Posts: 5

PostPosted: Fri Jan 25, 2013 10:02 am    Post subject: Failure to emerge app-emulation/xen-pvgrub (libelf) Reply with quote

Trying to emerge 'app-emulation/xen-pvgrub-4.1.1-r1, but fails with the error:

 * ERROR: app-emulation/xen-pvgrub-4.1.1-r1 failed (compile phase):
 *   prepare libelf headers failed

Here's the output of ` emerge --info '=app-emulation/xen-pvgrub-4.1.1-r1' `

Portage (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo x86_64)
                         System Settings
System uname: Linux-3.6.11-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1
Timestamp of tree: Thu, 24 Jan 2013 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
CFLAGS="-O2 -pipe -march=native"
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 -march=native"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
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"
USE="acl amd64 avahi berkdb bzip2 cli cracklib crypt cxx dbus dri fortran gdbm gpm hpcups hvm iconv ipv6 mdnsresponder-compat mmx modules mudflap multilib ncurses nls nptl openmp pae pam pcre ppds pygrub python qemu readline screen session sse sse2 ssl swat tcpd unicode usb xinetd 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="authn_core authz_core socache_shmcb unixd 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"

This is the build log from /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/temp/build.log:

 * Package:    app-emulation/xen-pvgrub-4.1.1-r1
 * Repository: gentoo
 * Maintainer:
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking xen-4.1.1.tar.gz to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Unpacking grub-0.97.tar.gz to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Unpacking zlib-1.2.3.tar.gz to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Unpacking pciutils-2.2.9.tar.bz2 to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Unpacking lwip-1.3.0.tar.gz to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Unpacking newlib-1.16.0.tar.gz to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Unpacking ocaml-3.11 to /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
unpack ocaml-3.11: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work
>>> Preparing source in /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1 ...
 * files copied to stubdom
-rw-r--r-- 1 root root 496597 Jan 25 03:55 stubdom/zlib-1.2.3.tar.gz
-rw-r--r-- 1 root root 14425 Jan 25 03:55 stubdom/Makefile
 * 1st Makefile adjusted
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1 ...
make -j4 CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-ld -C tools/include
make: Entering directory `/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1/tools/include'
make -C xen-foreign
mkdir -p xen/libelf
ln -sf ../../../xen/include/public/COPYING xen
ln -sf ../../../xen/include/public/vcpu.h ../../../xen/include/public/sysctl.h ../../../xen/include/public/kexec.h ../../../xen/include/public/arch-ia64.h ../../../xen/include/public/xen.h ../../../xen/include/public/nmi.h ../../../xen/include/public/xencomm.h ../../../xen/include/public/xenoprof.h ../../../xen/include/public/event_channel.h ../../../xen/include/public/version.h ../../../xen/include/public/mem_event.h ../../../xen/include/public/dom0_ops.h ../../../xen/include/public/arch-x86_32.h ../../../xen/include/public/features.h ../../../xen/include/public/memory.h ../../../xen/include/public/sched.h ../../../xen/include/public/xen-compat.h ../../../xen/include/public/callback.h ../../../xen/include/public/grant_table.h ../../../xen/include/public/physdev.h ../../../xen/include/public/arch-x86_64.h ../../../xen/include/public/platform.h ../../../xen/include/public/tmem.h ../../../xen/include/public/elfnote.h ../../../xen/include/public/trace.h ../../../xen/include/public/domctl.h xen
ln -sf ../../../xen/include/public/arch-ia64 ../../../xen/include/public/arch-x86 ../../../xen/include/public/hvm ../../../xen/include/public/io ../../../xen/include/public/xsm xen
ln -sf ../xen-sys/Linux xen/sys
ln -sf ../../../../xen/include/xen/libelf.h ../../../../xen/include/xen/elfstructs.h xen/libelf/
ln -s ../xen-foreign xen/foreign
touch xen/.dir
make[1]: Entering directory `/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1/tools/include/xen-foreign'
python x86_32 x86_32.h ../../../xen/include/public/arch-x86/xen-x86_32.h ../../../xen/include/public/arch-x86/xen.h ../../../xen/include/public/xen.h
python x86_64 x86_64.h ../../../xen/include/public/arch-x86/xen-x86_64.h ../../../xen/include/public/arch-x86/xen.h ../../../xen/include/public/xen.h
python ia64 ia64.h ../../../xen/include/public/arch-ia64.h ../../../xen/include/public/xen.h
python checker.c x86_32 x86_64 ia64
Traceback (most recent call last):
  File "", line 159, in <module>
    integers.sort(lambda a, b: cmp(len(b),len(a)));
AttributeError: 'dict_keys' object has no attribute 'sort'
Traceback (most recent call last):
  File "", line 159, in <module>
    integers.sort(lambda a, b: cmp(len(b),len(a)));
AttributeError: 'dict_keys' object has no attribute 'sort'
Traceback (most recent call last):
  File "", line 159, in <module>
make[1]: *** [x86_32.h] Error 1
make[1]: *** Waiting for unfinished jobs....
    integers.sort(lambda a, b: cmp(len(b),len(a)));
AttributeError: 'dict_keys' object has no attribute 'sort'
make[1]: *** [x86_64.h] Error 1
make[1]: *** [ia64.h] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1/tools/include/xen-foreign'
make: *** [xen-foreign] Error 2
make: Leaving directory `/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1/tools/include'
emake failed
 * ERROR: app-emulation/xen-pvgrub-4.1.1-r1 failed (compile phase):
 *   prepare libelf headers failed
 * Call stack:
 *, line  93:  Called src_compile
 *   environment, line 2332:  Called die
 * The specific snippet of code:
 *       emake CC=$(tc-getCC) LD=$(tc-getLD) -C tools/include || die "prepare libelf headers failed";
 * If you need support, post the output of `emerge --info '=app-emulation/xen-pvgrub-4.1.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/xen-pvgrub-4.1.1-r1'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1'
 * S: '/var/tmp/portage/app-emulation/xen-pvgrub-4.1.1-r1/work/xen-4.1.1'

Has anyone had any similar issues? I'm thinking this has to do with the recent gcc upgrade, but that's kind of a shot in the dark guess.
Any help would be appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum