Providing a fix
Created attachment 77969 [details, diff] gngb-20040115-gcc34.patch fixing compilation
Created attachment 77970 [details, diff] gngb-20040115.ebuild Applying previous patch
I couldn't compile the one 20040115 in portage either, but this patch worked for me as well. Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk/ http://mirrors.uni-c.dk/gentoo/" LANG="en_GB.UTF8" LINGUAS="da da-DK en-IE en-GB en en-US ga ga-IE" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 avi berkdb bitmap-fonts cdr crypt custom-cflags dbus dlloader dvd dvdr dvdread eds emboss encode esd fbcon firefox flac fortran gif gnome gpm gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp howl idn imlib ipv6 jpeg logrotate lzw lzw-tiff mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pdflib perl pic png pnp python quicktime readline real sdl spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xml xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_da linguas_da-DK linguas_en-IE linguas_en-GB linguas_en linguas_en-US linguas_ga linguas_ga-IE userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
fixed in gngb-20060204.ebuild. Thanks for the bug report and patch.