Created attachment 324188 [details] build log dev-libs/totem-pl-parser-3.4.3 fails to build like this: CCLD libtotem-plparser-mini.la GISCAN TotemPlParser-1.0.gir ./.libs/libtotem-plparser.so: undefined reference to `g_clear_pointer' collect2: ld returned 1 exit status linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/var/tmp/portage/dev-libs/totem-pl-parser-3.4.3/work/totem-pl-parser-3.4.3/plparse/tmp -introspectRW4m9M/TotemPlParser-1.0', '-export-dynamic', '-Wall', '-Wchar-subscripts', '-Wmissing-declarations', '-Wmissing-prototypes', '-Wnested-externs', '-Wpointer-arith', '-Wcast-align', '-Wsign-compare', '-fno-strict-aliasing', '-ggdb', '-O2', '-march=amdfam10', '-pipe', '/var/tmp/portage/dev-libs/totem-pl-parser-3.4.3/work/totem-pl-parser-3.4.3/plparse/tmp-introspectRW4m9M/TotemPlParser-1.0.o', '-L.', 'libtotem-plparser.la', '-pthread', '-Wl,--export-dynamic', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lgmodule-2.0', '-lrt', '-lglib-2.0']' returned non-zero exit status 1 make[4]: *** [TotemPlParser-1.0.gir] Error 1 The g_clear_pointer function it is calling is introduced in glib 2.34, which has not been released yet (see http://developer.gnome.org/glib/2.33/api-index-2-34.html ). It is likely the call can just be replaced with "if (mimetype) { g_free (mimetype); mimetype = NULL; }", but upstream should confirm that (and might want to fix this on their end as their configure does not check for this recent a glib).
Thanks for noticing! Fixed in tree to allow building with glib-2.32; problem reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=684292 > 18 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > totem-pl-parser-3.4.3.ebuild, > +files/totem-pl-parser-3.4.3-no-g_clear_pointer.patch: > Fix build error with <glib-2.33 (bug #435408, thanks to Marien Zwart).
*** Bug 435416 has been marked as a duplicate of this bug. ***
*** Bug 435418 has been marked as a duplicate of this bug. ***