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

Bug 150474

Summary: app-emulation/xen-tools fails to build on amd64
Product: Gentoo Linux Reporter: georg.wacker <gpsw>
Component: New packagesAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description georg.wacker 2006-10-08 08:42:39 UTC
xen-tools-3.0.2-r3 fails to build on my amd64-machine. I also tried gcc-3.4.4 instead of 4.1.1 and several workarounds described in the forums, like using "custom-cflags" in the useflag. I tried r4 in this overlay, but without success (http://overlays.gentoo.org/dev/aross/browser/app-emulation/xen-tools).
I didn't find any bugs related to libcx nor fixes for that PTRACE-warning, so please have a look at this:

>>> Compiling source in /var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2 ...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-vnc --enable-sdl --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
Install prefix    /usr
BIOS directory    //usr/share/xen/qemu
binary directory  //usr/bin
Manual directory  //usr/share/man
Source path       /var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/ioemuC compiler        gcc
make              make
host CPU          amd64
host big endian   no
target list       target-i386-dm
gprof enabled     no
static build      no
VNC support       no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
FMOD support      no
make: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools'
make -C check
make[1]: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/check'
./chk build
Xen CHECK-BUILD  So Okt 8 14:48:05 CEST 2006
Checking check_python: OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[1]: Leaving directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/check'
make[1]: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
mkdir -p xen
( cd xen && ln -sf ../../../xen/include/public/*.h . )
mkdir -p xen/hvm
( cd xen/hvm && ln -sf ../../../../xen/include/public/hvm/*.h . )
mkdir -p xen/io
( cd xen/io && ln -sf ../../../../xen/include/public/io/*.h . )
mkdir -p xen/linux
( cd xen/linux && \
          ln -sf ../../../../linux-2.6-xen-sparse/include/xen/public/*.h . )
make libxenctrl.a libxenctrl.so libxenctrl.so.3.0 libxenctrl.so.3.0.0 libxenguest.a libxenguest.so libxenguest.so.3.0 libxenguest.so.3.0.0
make[2]: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
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_bvtsched.o.d -c -o xc_bvtsched.o xc_bvtsched.c
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_core.o.d -c -o xc_core.o xc_core.c
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_domain.o.d -c -o xc_domain.o xc_domain.c
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_evtchn.o.d -c -o xc_evtchn.o xc_evtchn.c
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_misc.o.d -c -o xc_misc.o xc_misc.c
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_physdev.o.d -c -o xc_physdev.o xc_physdev.c
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_private.o.d -c -o xc_private.o xc_private.c
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_sedf.o.d -c -o xc_sedf.o xc_sedf.c
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_tbuf.o.d -c -o xc_tbuf.o xc_tbuf.c
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
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_core.o.d -c -o xc_ptrace_core.o xc_ptrace_core.c
xc_ptrace.c: In function `xc_ptrace':
xc_ptrace.c:611: Warnung: Aufz
Comment 1 georg.wacker 2006-10-08 08:42:39 UTC
xen-tools-3.0.2-r3 fails to build on my amd64-machine. I also tried gcc-3.4.4 instead of 4.1.1 and several workarounds described in the forums, like using "custom-cflags" in the useflag. I tried r4 in this overlay, but without success (http://overlays.gentoo.org/dev/aross/browser/app-emulation/xen-tools).
I didn't find any bugs related to libcx nor fixes for that PTRACE-warning, so please have a look at this:

>>> Compiling source in /var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2 ...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-vnc --enable-sdl --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
Install prefix    /usr
BIOS directory    //usr/share/xen/qemu
binary directory  //usr/bin
Manual directory  //usr/share/man
Source path       /var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/ioemuC compiler        gcc
make              make
host CPU          amd64
host big endian   no
target list       target-i386-dm
gprof enabled     no
static build      no
VNC support       no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
FMOD support      no
make: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools'
make -C check
make[1]: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/check'
./chk build
Xen CHECK-BUILD  So Okt 8 14:48:05 CEST 2006
Checking check_python: OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[1]: Leaving directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/check'
make[1]: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
mkdir -p xen
( cd xen && ln -sf ../../../xen/include/public/*.h . )
mkdir -p xen/hvm
( cd xen/hvm && ln -sf ../../../../xen/include/public/hvm/*.h . )
mkdir -p xen/io
( cd xen/io && ln -sf ../../../../xen/include/public/io/*.h . )
mkdir -p xen/linux
( cd xen/linux && \
          ln -sf ../../../../linux-2.6-xen-sparse/include/xen/public/*.h . )
make libxenctrl.a libxenctrl.so libxenctrl.so.3.0 libxenctrl.so.3.0.0 libxenguest.a libxenguest.so libxenguest.so.3.0 libxenguest.so.3.0.0
make[2]: Entering directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
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_bvtsched.o.d -c -o xc_bvtsched.o xc_bvtsched.c
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_core.o.d -c -o xc_core.o xc_core.c
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_domain.o.d -c -o xc_domain.o xc_domain.c
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_evtchn.o.d -c -o xc_evtchn.o xc_evtchn.c
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_misc.o.d -c -o xc_misc.o xc_misc.c
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_physdev.o.d -c -o xc_physdev.o xc_physdev.c
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_private.o.d -c -o xc_private.o xc_private.c
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_sedf.o.d -c -o xc_sedf.o xc_sedf.c
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_tbuf.o.d -c -o xc_tbuf.o xc_tbuf.c
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
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_core.o.d -c -o xc_ptrace_core.o xc_ptrace_core.c
xc_ptrace.c: In function `xc_ptrace':
xc_ptrace.c:611: Warnung: Aufzählungswert »PTRACE_SETOPTIONS« wird nicht von switch behandelt
xc_ptrace.c:611: Warnung: Aufzählungswert »PTRACE_GETEVENTMSG« wird nicht von switch behandelt
xc_ptrace.c:611: Warnung: Aufzählungswert »PTRACE_GETSIGINFO« wird nicht von switch behandelt
xc_ptrace.c:611: Warnung: Aufzählungswert »PTRACE_SETSIGINFO« wird nicht von switch behandelt
make[2]: *** [xc_ptrace.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
make[1]: *** [build] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/xen-tools-3.0.2-r3/work/xen-3.0.2/tools/libxc'
make: *** [all] Fehler 2
make: Leaving directory `/var/tmp/portage/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 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xen-tools-3.0.2-r3.ebuild, line 121:   Called die

==================================================================

emerge --info attached
Comment 2 georg.wacker 2006-10-08 08:44:42 UTC
Created attachment 99132 [details]
emerge --info
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 10:28:32 UTC
Please, set your locales to C when reporting bugs.
Comment 4 Andrew Ross (RETIRED) gentoo-dev 2006-10-12 22:28:59 UTC
Marking as duplicate of #151014 because the other bug has an error message in English, which is all I can work with.

*** This bug has been marked as a duplicate of 151014 ***