With sys-devel/binutils-2.23.2 x11-libs/gtk+-3.2.4-r1 fails to link: CCLD gtk-query-immodules-3.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: queryimmodules.o: undefined reference to symbol 'g_module_symbol' /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib64/libgmodule-2.0.so.0 so try adding it to the linker command line /usr/lib64/libgmodule-2.0.so.0: could not read symbols: Invalid operation I've fixed this underlinking issue. Reproducible: Always Furthermore, and in the same go, I've fixed an (unrelated) cups-1.6 issue with the same ebuild. This is a known issue and has been adressed in gtk+-3.3 (https://bugzilla.gnome.org/show_bug.cgi?id=670373). The patches all apply with some minor offsets. I've combined all of these and included the patch as well.
diff -u /usr/portage/x11-libs/gtk+/gtk+-3.2.4-r1.ebuild /usr/local/portage/x11-libs/gtk+/gtk+-3.2.4-r1.ebuild --- /usr/portage/x11-libs/gtk+/gtk+-3.2.4-r1.ebuild 2012-12-06 07:31:33.000000000 +0100 +++ /usr/local/portage/x11-libs/gtk+/gtk+-3.2.4-r1.ebuild 2013-04-27 19:18:54.800350946 +0200 @@ -88,6 +88,15 @@ replace-flags -O3 -O2 strip-flags + # patch for cups 1.6 + # see https://bugzilla.gnome.org/show_bug.cgi?id=670373 + if ( use cups ) && ( has_version '>=net-print/cups-1.6.0' ); then + epatch "${FILESDIR}/${P}-cups-1.6.patch" || die + fi + + # underlinking patch + sed -i 's/gtk_query_immodules_3_0_LDADD = $(LDADDS)/gtk_query_immodules_3_0_LDADD = $(LDADDS) $(GLIB_LIBS)/g' gtk/Makefile.am || die + # https://bugzilla.gnome.org/show_bug.cgi?id=654108 epatch "${FILESDIR}/${PN}-3.2.4-fallback-theme.patch"
Created attachment 346722 [details, diff] gtk+-3.2.4-cups-1.6.patch
Please use gtk+-3.4.4. The gtk+-3.2.x series is obsolete and will soon be removed from portage.