The (old) moodbar source is incompatible to newer GLib versions: Those require the g_thread subsystem being initialized, however the moodbar standalone executable lacks doing that. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge moodbar 3. moodbar Actual Results: hexarith@loki ~ $ moodbar (process:10536): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was called, but the GLib threading system has not been initialised yet, something that must happen before any other GLib function is called. The application needs to be fixed so that it calls if (!g_thread_supported ()) g_thread_init(NULL); as very first thing in its main() function. Please file a bug against this application. moodbar aborts here Expected Results: moodbar executing normally. The issue can be easily fixed by applying this small patch: diff -r -u moodbar-0.1.2/analyzer/main.c moodbar-0.1.2-patched/analyzer/main.c --- moodbar-0.1.2/analyzer/main.c 2006-10-12 07:43:30.000000000 +0200 +++ moodbar-0.1.2-patched/analyzer/main.c 2009-03-21 01:42:52.203438900 +0100 @@ -248,6 +248,8 @@ { gint tries; + if (!g_thread_supported ()) g_thread_init(NULL); + /* Command-line parsing */ gchar *outfile = NULL, *infile = NULL; gchar **array = NULL;
Created attachment 185690 [details, diff] simple patch the fixes the problem
+ 09 May 2009; Samuli Suominen <ssuominen@gentoo.org> moodbar-0.1.2.ebuild, + +files/moodbar-0.1.2-gthread_init.patch: + Fix compability with new glib wrt #263197, thanks to Wolfgang Draxinger