Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274544 - games-fps/aaquake2-0.1 fails to compile
Summary: games-fps/aaquake2-0.1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 19:34 UTC by Marc Plano-Lesay
Modified: 2009-06-17 20:03 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 Marc Plano-Lesay 2009-06-17 19:34:41 UTC
games-fps/aaquake2-0.1 fails to compile on an amd64 system, I don't know for others, but it's speaking about "#error Unknown arch"

Reproducible: Always

Steps to Reproduce:
1. Try to emerge aaquake2

Actual Results:  
../linux/vid_so.c: In function ‘VID_LoadRefresh’:
../linux/vid_so.c:233: attention : ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -Dstricmp=strcasecmp -g -O2 -pipe -march=athlon64 -msse3 -DGENTOO_DATADIR=\"/usr/share/games/quake2/baseq2/\" -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -o releasei386-glibc/client/snd_linux.o -c ../linux/snd_linux.c
gcc -Dstricmp=strcasecmp -g -O2 -pipe -march=athlon64 -msse3 -DGENTOO_DATADIR=\"/usr/share/games/quake2/baseq2/\" -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -o releasei386-glibc/client/sys_linux.o -c ../linux/sys_linux.c
../linux/sys_linux.c:227:2: erreur: #error Unknown arch
../linux/sys_linux.c: In function ‘Sys_GetGameAPI’:
../linux/sys_linux.c:238: erreur: ‘gamename’ undeclared (first use in this function)
../linux/sys_linux.c:238: erreur: (Each undeclared identifier is reported only once
../linux/sys_linux.c:238: erreur: for each function it appears in.)
../linux/sys_linux.c:236: attention : ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
make[1]: *** [releasei386-glibc/client/sys_linux.o] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/games-fps/aaquake2-0.1/work/quake2-3.21/linux »
make: *** [build_release] Erreur 2
 * 
 * ERROR: games-fps/aaquake2-0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2606:  Called die
 * The specific snippet of code:
 *       make GENTOO_CFLAGS="${CFLAGS}" GENTOO_DATADIR="${GAMES_DATADIR}"/quake2/baseq2/ build_release || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-fps/aaquake2-0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-fps/aaquake2-0.1/temp/environment'.
 * 

>>> Failed to emerge games-fps/aaquake2-0.1, Log file:

>>>  '/var/tmp/portage/games-fps/aaquake2-0.1/temp/build.log'

Expected Results:  
A good compilation

emerge --info :
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-55-with-gentoo-2.0.1
Timestamp of tree: Wed, 17 Jun 2009 17:30:20 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnome /usr/local/portage/layman/akoya /usr/local/portage/layman/zugaina /usr/local/portage/layman/games /usr/local/portage/layman/lila-theme /usr/local/portage/layman/mozilla /usr/local/portage/layman/dotnet /usr/local/portage/layman/roslin /usr/local/portage/layman/x11 /usr/local/portage/moi"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X aalib acl acpi alsa amd64 apache2 avahi banshee bash-completion bonjour branding bzip2 bzlib cairo cdr cli consolekit cracklib cross crypt css ctype cups custom-optimization cvs dbus dia directfb dri dvd dvdr dvdread embedded emboss encode esd evo expat fam fbcon fbcondecor filter firefox fortran gd gdbm gif gimp gimpprint git glib glitz glut glx gnome gnome-keyring google-gadgets gpm graphviz gsm gstreamer gtk gtk2 hal hddtemp iconv icu imlib ipv6 irda isdnlog ithreads jabber java jpeg kdeprefix lame laptop ldap libcaca libffi libnotify lm_sensors mad maps mdnsresponder-compat meanwhile midi mikmod mmx mng mp3 mpeg mpi msn mudflap multilib mysql nano-syntax nautilus ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl php pidgin png podcast ppds pppd prediction python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl sensord session spell spl sql sqlite sse sse2 ssl startup-notification subversion suid svg sysfs tcpd tiff tools truetype unicode usb v4l v4l2 vorbis webkit wifi winpopup wma x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv yahoo zeroconf 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-17 20:03:40 UTC
It's not keyworded for amd64. Only reopen this bug report if you have a patch that does make it compile and run on amd64.