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"
Created attachment 41029 [details] unified diff of the changes for amd64 These changes fix it for amd64, and shouldn't break other platforms.
I added the patch. I'll change the summary to reflect what needs to happen now...
this fails with tons of errors (not arch-specific), see bug #68580 for only a few of them
-> invalid