emerging xen-tools-3.0.2-r2 fails when compiling xp_ptrace.c due not all enums
are handled in a switch-case (which results in the compiler issuing a warning)
and -Werror is set!
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -D__XEN_INTERFACE_VERSION__=0x00030101 -Werror
-fno-strict-aliasing -I. -Wp,-MD,.xc_ptrace.o.d -c -o xc_ptrace.o xc_ptrace.c
xc_ptrace.c: In function `xc_ptrace':
xc_ptrace.c:611: warning: enumeration value `PTRACE_SETOPTIONS' not handled in
switch
xc_ptrace.c:611: warning: enumeration value `PTRACE_GETEVENTMSG' not handled in
switch
xc_ptrace.c:611: warning: enumeration value `PTRACE_GETSIGINFO' not handled in
switch
xc_ptrace.c:611: warning: enumeration value `PTRACE_SETSIGINFO' not handled in
switch
make[2]: *** [xc_ptrace.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
make[1]: *** [build] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
make: *** [all] Error 2
make: Leaving directory
`/var/tmp/portage/app-emulation/xen-tools-3.0.2-r3/work/xen-3.0.2/tools'
!!! ERROR: app-emulation/xen-tools-3.0.2-r3 failed.
Call stack:
ebuild.sh, line 1548: Called dyn_compile
ebuild.sh, line 937: Called src_compile
xen-tools-3.0.2-r3.ebuild, line 121: Called die
!!! compile failed
emerge --info:
server linux # emerge --info
Portage 2.1.2_pre2-r9 (default-linux/amd64/2006.1, gcc-3.4.6, glibc-2.5-r0,
2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Thu, 12 Oct 2006 12:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.18
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://pandemonium.tiscali.de/pub/gentoo/ "
LANG="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 acl apache2 avahi bash-completion berkdb bitmap-fonts cairo cdr cli
crypt cups dlloader doc dri dvd elibc_glibc emacs enscript examples fontconfig
fortran gdbm gif gmp gpm gs input_devices_keyboard input_devices_mouse isdnlog
java javamail jpeg jython kernel_linux ldap libg++ linguas_de linguas_en
logrotate mbox mysql ncurses nls nptl nptlonly offensive pam pcre pdf perl png
postgres postgresql ppds pppd python quotas readline reflection rhino samba
sasl session slp spl sqlite ssl svg syslog tcpd tetex threads tiff truetype
truetype-fonts type1-fonts udev unicode userland_GNU vhosts video_cards_nvidia
xml xorg xpm zeroconf zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS