neo@athlon ~ $ emerge -p stardict These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] app-dicts/stardict-2.4.6-r1 [2.4.4] USE="gnome%" ---------------------------------------------------------------------- And there is some compile errors use this stardict-2.4.6-r1 ebuild ...... if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I.. -I../src -O2 -march=athlon -pipe -fomit-frame-pointer -O2 -march=athlon -pipe -fomit-frame-pointer -MT inifile.o -MD -MP -MF ".deps/inifile.Tpo" -c -o inifile.o `test -f '../src/inifile.cpp' || echo './'`../src/inifile.cpp; \ then mv -f ".deps/inifile.Tpo" ".deps/inifile.Po"; else rm -f ".deps/inifile.Tpo"; exit 1; fi t_config_file.cpp: In function `bool test_gconf()': t_config_file.cpp:99: error: syntax error before `+' token t_config_file.cpp:100: error: syntax error before `+' token t_config_file.cpp:101: error: request for member `c_str' in `tmp1', which is of non-aggregate type `std::string ()(...)' t_config_file.cpp:102: error: request for member `c_str' in `tmp2', which is of non-aggregate type `std::string ()(...)' t_config_file.cpp:105: error: conversion from `std::string ()(...)' to non-scalar type `tmp_file' requested t_config_file.cpp:106: error: conversion from `std::string ()(...)' to non-scalar type `tmp_file' requested if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I.. -I../src -O2 -march=athlon -pipe -fomit-frame-pointer -O2 -march=athlon -pipe -fomit-frame-pointer -MT gconf_file.o -MD -MP -MF ".deps/gconf_file.Tpo" -c -o gconf_file.o `test -f '../src/gconf_file.cpp' || echo './'`../src/gconf_file.cpp; \ then mv -f ".deps/gconf_file.Tpo" ".deps/gconf_file.Po"; else rm -f ".deps/gconf_file.Tpo"; exit 1; fi make[2]: *** [t_config_file.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/stardict-2.4.6-r1/work/stardict-2.4.6/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/stardict-2.4.6-r1/work/stardict-2.4.6' make: *** [all] Error 2 !!! ERROR: app-dicts/stardict-2.4.6-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile stardict-2.4.6-r1.ebuild, line 42: Called gnome2_src_compile !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. neo@athlon ~ $ emerge --info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.14-rc5-mm1 i686) ================================================================= System uname: 2.6.14-rc5-mm1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.12.0_pre16 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.139pay.com http://ftp.gentoo.or.kr/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.llarian.net/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portages/glc" SYNC="rsync://gentoo.139pay.com/gentoo-portage" USE="x86 3dnow X alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cjk crypt cups eds emboss encode foomaticdb fortran gdbm gif glc gnome gpm gstreamer gtk gtk2 imlib jpeg kde kdeenablefinal lcms libg++ libwww linguas_zh_CN linguas_zh_TW mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sblive sdl spell ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS neo@athlon ~ $ neo@athlon ~ $ emerge -p gtk+ These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/gtk+-2.8.12 neo@athlon ~ $ emerge -p libgnome These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] gnome-base/libgnome-2.12.0.1 USE="-esd*"
Created attachment 80610 [details, diff] patch for stardict 2.4.6
This bug related to gcc 3.3.x See attachment: http://bugs.gentoo.org/attachment.cgi?id=80610 it contains fix for this bug.
Given that gcc 3.3 is no longer supported either by the GCC devs or by Gentoo's toolchain devs, and gcc 3.4 is available even for users of the stable tree, I personally don't think this needs fixing, especially if the code is correct and the change simply works around a bug in gcc (which I'm pretty sure is what's happening; see <http://gcc.gnu.org/bugs.html#known>).
Yes, It's GCC bug. I'v tested it with upgrade gcc to 3.4, it's OK now. Close this case.