Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129429 - app-emulation/xen-tools-3.0.2 emerge failed
Summary: app-emulation/xen-tools-3.0.2 emerge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-09 22:31 UTC by Tuan Van (RETIRED)
Modified: 2006-04-10 01:12 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 Tuan Van (RETIRED) gentoo-dev 2006-04-09 22:31:16 UTC
gcc -O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2 -mfpmath=sse -nopie -fno-stack-protector -DNDEBUG -m32  -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -DNDEBUG -m32  -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -Werror -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -o xenperf xenperf.o -L../../tools/libxc -lxenctrl
gcc  -O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2 -mfpmath=sse -nopie -fno-stack-protector -DNDEBUG -m32  -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -DNDEBUG -m32  -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -Werror -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -c -o xc_shadow.o xc_shadow.c
xc_shadow.c: In function `main':
xc_shadow.c:31: error: invalid lvalue in assignment
make[1]: *** [xc_shadow.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xen-tools-3.0.2/work/xen-3.0.2/tools/misc'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/xen-tools-3.0.2/work/xen-3.0.2/tools'

!!! ERROR: app-emulation/xen-tools-3.0.2 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  xen-tools-3.0.2.ebuild, line 69:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

lookup line 31 of tools/misc/xc_shadow.c:
int mode=-1 = 0

which is the result of the sed line in the build:
sed -e "s/int mode/int mode=-1/" -i ${S}/tools/misc/xc_shadow.c
Comment 1 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-10 01:12:02 UTC
thanks, I've removed the sed line so this should be fixed.