When I 'emerge gabber' on amd64 it fails: GabberWin.cc: In member function `void GabberWin::init_menus()': GabberWin.cc:294: error: `template' (as a disambiguator) is only allowed within templates GabberWin.cc:298: error: `template' (as a disambiguator) is only allowed within templates GabberWin.cc:302: error: `template' (as a disambiguator) is only allowed within templates GabberWin.cc:306: error: `template' (as a disambiguator) is only allowed within templates Reproducible: Always Steps to Reproduce: 1. 'emerge gabber' 2. 3.
please post your emerge info too. it seems not amd64-related but gcc-3.4
emerge info: Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 15 2005, 09:09:35)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.4, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon64 -pipe -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -pipe -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.pudas.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups curl esd f77 fam font-server foomaticdb fortran gif gpm gtk imagemagick imlib ipv6 jabber java jp2 jpeg libwww lzw lzw-tiff mad motif mp3 msn multilib ncurses network nls opengl oss pam perl png ppds python qt readline sdl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I have same problem. make[2]: Entering directory `/var/tmp/portage/gabber-0.8.8/work/gabber-0.8.8/src' source='GabberWin.cc' object='GabberWin.o' libtool=no \ depfile='.deps/GabberWin.Po' tmpdepfile='.deps/GabberWin.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../jabberoo/libjudo/src/expat -I../jabberoo/libjudo/src -I../jabberoo/include -I/usr/include/libglade-1.0 -I/usr/include/gnome-xml -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/lib/gnomemm/include -I/usr/include/orbit-1.0 -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr/lib/gtkmm/include -I/usr/include/gal-1.0 -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/freetype2 -DWITH_SSL -DOPENSSL_NO_KRB5 -DG_LOG_DOMAIN=\"Gabber\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -fPIC -march=athlon64 -O2 -pipe -Wall -Wno-unused -s -c -o GabberWin.o `test -f 'GabberWin.cc' || echo './'`GabberWin.cc GabberWin.cc: In member function `void GabberWin::init_menus()': GabberWin.cc:294: error: `template' (as a disambiguator) is only allowed within templates GabberWin.cc:298: error: `template' (as a disambiguator) is only allowed within templates GabberWin.cc:302: error: `template' (as a disambiguator) is only allowed within templates GabberWin.cc:306: error: `template' (as a disambiguator) is only allowed within templates make[2]: *** [GabberWin.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gabber-0.8.8/work/gabber-0.8.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gabber-0.8.8/work/gabber-0.8.8' make: *** [all] Error 2 Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 x86_64) ================================================================= System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 5 2005, 22:43:40)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-fPIC -march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-fPIC -march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X acpi aim alsa berkdb bitmap-fonts bonobo cdr crypt dba dga divx4linux dvd dvdr dvdread esd fam font-server fortran gd gif gnome gpm gstreamer gtk gtkhtml guile icq imlib ipv6 jabber jp2 jpeg lzw lzw-tiff mozilla mp3 mysql ncurses nls ogg oggvorbis opengl oracle oscar oss pam perl php png postgres python qt quicktime readline samba ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms xpm xrandr xv yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
fixed in cvs, thanks for reporting.