emerge of im-chooser-1.5.2 fails during compilation. The fix is to use the "im-chooser-1.5.1-imchooserui.patch" that is already in files/ for this version too. This can be solved by appending the below lines to the 1.5.2 ebuild: """ src_prepare() { epatch "${FILESDIR}"/im-chooser-1.5.1-imchooserui.patch gnome2-src_prepare } """ -- Compilation output: [...] libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libimchooseui\" -DIMCHOOSE_LOCALEDIR=\"/usr/share/locale\" -DUIDIR=\"/usr/share/imchooseui\" -DBUILDDIR=\"/var/tmp/portage/app-i18n/im-chooser-1.5.2/work/im-chooser-1.5.2/libimchooseui\" -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DEGG_SM_CLIENT_BACKEND_XSMP -DEGG_SM_CLIENT_BACKEND_DBUS -msse3 -fomit-frame-pointer -O2 -pipe -Wall -Wmissing-prototypes -MT libeggsmclient_la-eggsmclient-xsmp.lo -MD -MP -MF .deps/libeggsmclient_la-eggsmclient-xsmp.Tpo -c eggsmclient-xsmp.c -fPIC -DPIC -o .libs/libeggsmclient_la-eggsmclient-xsmp.o imchooseui.c:51:3: error: redefinition of typedef 'IMChooseUIPrivate' imchooseui.h:41:35: note: previous declaration of 'IMChooseUIPrivate' was here make[2]: *** [imchooseui.lo] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge =app-i18n/im-chooser-1.5.2 Actual Results: Build fails Expected Results: Build completed
aha, gcc has changed its behavior... http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ce3765bf44e49ef0568a1ad4a0b7f807591d6412 so it worked on my machine with gcc-4.6. :( Anyway I've applied the suggestion. Thanks.