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

Bug 140069

Summary: games-strategy/ufo-ai-0.10.040218 compile fails
Product: Gentoo Linux Reporter: Dmitri Seletski <drjoms>
Component: [OLD] GamesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: Lowest    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitri Seletski 2006-07-11 20:11:16 UTC
localhost linux # emerge ufo-ai
Calculating dependencies... done!
>>> Emerging (1 of 1) games-strategy/ufo-ai-0.10.040218 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking ufoai_source_040218.zip ;-)
>>> checking linux_ufoaidemo.zip ;-)
>>> Unpacking source...

#(HERE comes majority of compilation)


(here comes trouble)
gcc -ffast-math -funroll-loops -Dstricmp=strcasecmp -O2 -march=k8 -pipe -o releasei386-glibc/client/glob.o -c ../linux/glob.c
../linux/sys_linux.c:229:2: #error Unknown arch
../linux/sys_linux.c: In function `Sys_GetGameAPI':
../linux/sys_linux.c:240: error: `gamename' undeclared (first use in this function)
../linux/sys_linux.c:240: error: (Each undeclared identifier is reported only once
../linux/sys_linux.c:240: error: for each function it appears in.)
make[1]: *** [releasei386-glibc/client/sys_linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ufo-ai-0.10.040218/work/source/linux'
make: *** [build_release] Error 2

!!! ERROR: games-strategy/ufo-ai-0.10.040218 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ufo-ai-0.10.040218.ebuild, line 46:   Called die

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

localhost linux # uname -a
Linux localhost 2.6.16-gentoo-r9 #12 Tue Jul 11 14:44:41 GMT 2006 x86_64 AMD Athlon 64 Processor 3000+ GNU/Linux
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-12 01:03:22 UTC
> #error Unknown arch

That's why it's not keyworded for amd64 at all.