Simple error - there's an extra pair of parentheses on one line in one file that shouldn't be there. This breaks compilation. The attached patch fixes it. Reproducible: Always Steps to Reproduce:
Created attachment 30215 [details, diff] Patch to fix compilation error
this patch works for me with gcc 3.4 on x86
This patch works for me too with gcc3.4 on ~amd64
Created attachment 32853 [details] Ebuild for 0.18 0.18 is out, and works unpatched here. Please test, as this is much nicer than patching a CVS snapshot...
*** Bug 53243 has been marked as a duplicate of this bug. ***
0.18 with patch added to portage.
Just wanted to retract my previous comment - the patch is still needed in all cases. Hadn't realised I was applying it!
hmm, i still get that parentheses error while trying to compile gnome-cups-manager-0.18 with gcc-3.4.1-r1. it seems that the patch somehow isn't getting applied, eventhough i made sure it's there and the ebuild looks good to me as well. any ideas?
What's your exact error? It's possible that the same kind of error could be being thrown up, but in a different place, perhaps due to a local setting. Also, please post "emerge info", as we could do with knowing what version of Portage/glibc etc. you have, amongst other things.
thanks for answering so quickly. error message: 'https://n.ethz.ch/student/simoschw/download/linux/error.png' sorry, but i've got only the console right now (writing this on another machine) and i haven't been able to catch the error message in a text file. output of 'emerge info': Gentoo Base System version 1.5.1 Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current /usr/local/bmg-main" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xv zlib"
i found the cause of my problem. portage was using the ebuild from 'bmg-gnome-current' which hasn't got that error fixed yet. sorry about that, it's working fine now.