Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66263 - keyword games-action/armagetron-0.2.6.0 for amd64
Summary: keyword games-action/armagetron-0.2.6.0 for amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 68580
Blocks:
  Show dependency tree
 
Reported: 2004-10-03 16:24 UTC by Tyler Montbriand
Modified: 2005-02-07 11:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
unified diff of the changes for amd64 (armagetron-amd64.diff,3.04 KB, text/plain)
2004-10-03 16:26 UTC, Tyler Montbriand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Montbriand 2004-10-03 16:24:31 UTC
There were a few integer-size issues that broke compilation, using reinterpret_cast<int> where reinterpret_cast<long int> was needed.  There were also some errors where, apparently NET_SIZE types are identical in size to socklen_t under 32-bit platforms but not under amd64.  armagetron compiled, installed, and ran fine once these substitutions were made in eWall.cpp, nNetwork.cpp, nServerInfo.cpp, and net_udp.cpp.  I will attach a patch.

Reproducible: Always
Steps to Reproduce:
1.  Add amd64 keyword to /usr/portage/games-action/armagetron/armagetron-0.2.6.ebuild
2. ACCEPT_KEYWORDS="~amd64" emerge armagetron

Actual Results:  
Armagetron failed to compile.

Expected Results:  
It should have compiled.

Portage 2.0.51_rc1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040808-r0,
2.6.4-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.4-gentoo-r1 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.91.0.1-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo
ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd
encode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 guile imlib jpeg kde
libg++ libwww mikmod motif mozilla mpeg multilib mysql ncurses nls nogcj
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline
scanner sdl slang spell ssl tcltk tcpd truetype usb xml2 xmms xprint xv zlib"
Comment 1 Tyler Montbriand 2004-10-03 16:26:26 UTC
Created attachment 41029 [details]
unified diff of the changes for amd64

These changes fix it for amd64, and shouldn't break other platforms.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-09 01:47:24 UTC
I added the patch.  I'll change the summary to reflect what needs to happen now...
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2004-12-14 11:23:00 UTC
this fails with tons of errors (not arch-specific), see bug #68580 for only a few of them
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-02-07 11:25:41 UTC
-> invalid