After updating to x11-libs/gtk+-2.24.20 firefox & co crash right after the print dialog has disappeared (print or even cancel). Problem: After a bisect I can tell the problem is related to upstream commit a057ed26dc623dff0fc0c62ef287f6583b2710d0 which introduces the use of function g_clear_pointer() (https://git.gnome.org/browse/gtk+/commit/modules/printbackends/cups/gtkprintbackendcups.c?h=gtk-2-24&id=a057ed26dc623dff0fc0c62ef287f6583b2710d0 ) This very function has been introduced by >=dev-libs/glib-2.34. Compiling with glib-2.32.4-r1 works although it gives a warning: "implicit declaration of function ‘g_clear_pointer’ [-Wimplicit-function-declaration]" However firefox crashes on printing operations (and even page settings) with the output: "symbol lookup error: /usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so: undefined symbol: g_clear_pointer" Solution: Depend x11-libs/gtk+-2.24.20 on >=dev-libs/glib-2.34:2
Thanks. I've fixed the dependency and alerted upstream to the issue. + 26 Sep 2013; Alexandre Rostovtsev <tetromino@gentoo.org> gtk+-2.24.20.ebuild: + Require glib-2.34 due to g_clear_pointer (bug #486006, thanks to Thomas + Bettler).