gnubg is currently marked -amd64 The fix was found in the gnubg mailing-list archive at http://lists.gnu.org/archive/html/bug-gnubg/2006-03/msg00029.html I made patches and added the atlas patch, which is required in my machine. If anyone have any suggestions why and how to fix it otherwise, please! emerge info: Portage 2.1_pre6-r7 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo x86_64) ================================================================= System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/run/dspam /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://mirror.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.inf.elte.hu/ http://mirror.uni-c.dk/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.solnet.ch/mirror/Gentoo" LINGUAS="en fr de it fi sv" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aac acl alsa amd64 apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cli crypt cscope ctype cups curl dba directfb dri dv dvd dvdr dvdread eds emboss encode esd exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap lua lzw lzw-tiff mad memlimit mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia odbc ogg opengl pam pcre pdflib perl php plotutils png posix postgres python qt quicktime readline ruby scanner sdl session simplexml slang snmp soap sockets speex spell spl sqlite ssl tcltk tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xmms xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_fr linguas_de linguas_it linguas_fi linguas_sv userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Created attachment 83100 [details, diff] ebuild diff
Created attachment 83101 [details, diff] gnubg_0.14.3_amd64_gnubg.patch
Created attachment 83102 [details, diff] gnubg_0.14.3_amd64_renderprefs.patch
Created attachment 83103 [details, diff] gnubg_0.14.3_amd64_misc3d.patch
Created attachment 83104 [details, diff] gnubg_0.14.3_amd64_neuralnet_atlas_include.patch
Have these patches been sent upstream?
By me no, but they are from the gnubg mailing-list archive.
Can we add these patches in portage so that gnubg will be buildable on amd64? Raphael
Created attachment 97444 [details] New ebuild for amd64 The gnubg diff posted above doesn't work anymore. Here is the new patched gnubg ebuild that works currently. Copy all the patches above into files and gnubg compiles ok. Raphael
emerges without problems with the patches (the patches uses "_" instead of the default "-" as seperators) played a few games without any problems. emerge --info Portage 2.1.2_pre1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.5 Last Sync: Mon, 18 Sep 2006 16:30:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa amd apm avi berkdb bitmap-fonts cli crypt cups dlloader dri dvdr dvdread eds elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux logrotate lzw lzw-tiff mikmod mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse3 ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nv video_cards_nvidia xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Patches applied, for both amd64 and blas. Thank for report and patch. Patches are not needed to the gnubg developer, as their CVS code is already 64 bit friendly. Just they do not release major update :/ A note about blas: seems there is no way to disable blas support if blas is found on the system, so an eventual USE="-blas" is not good. Maybe we should patch the configure file