It seems that pango-1.28-r1 uses g_malloc0_n, which according to GLib's documentation is only available as of 2.24: http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-malloc0-n Building with glib-2.22.4 yields the following error: -----8<----------8<----------8<----- make all-am make[3]: Entering directory `/var/tmp/portage/x11-libs/pango-1.28.3-r1/work/pango-1.28.3/pango-view' CC viewer-render.o CC viewer-main.o CC pango-view.o CC viewer-pangoft2.o CC viewer-cairo.o CC viewer-pangocairo.o CCLD pango-view ../pango/.libs/libpangoft2-1.0.so: undefined reference to `g_malloc0_n' collect2: ld returned 1 exit status make[3]: *** [pango-view] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.28.3-r1/work/pango-1.28.3/pango-view' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.28.3-r1/work/pango-1.28.3/pango-view' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.28.3-r1/work/pango-1.28.3' make: *** [all] Error 2 emake failed * ERROR: x11-libs/pango-1.28.3-r1 failed (compile phase): * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3192: Called gnome2_src_compile * environment, line 2475: Called die * The specific snippet of code: * emake || die "compile failure" ----->8---------->8---------->8----- Upon emerging dev-libs/glib-2.26.1-r1, pango now builds successfully. Reproducible: Always
+ 19 Mar 2011; Pacho Ramos <pacho@gentoo.org> pango-1.28.3-r1.ebuild: + Needs >=dev-libs/glib-2.24 due g_malloc0_n usage (bug #359425 by Daniel + Díaz). +