Package: src:gmime Version: 2.6.18-1 Severity: serious Tags: upstream patch
Hi, gmime FTBFS in unstable in the testsuite: ,---- | Testing Mbox parser: no tests performed | GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Invalid argument. Aborting. | Testing addr-spec parser: passed | Testing date parser: passed | Testing rfc2047 encoding/decoding: passed | Testing rfc2184 encoding/decoding: passed | Testing quoted-strings: passed | /bin/bash: line 4: 23034 Aborted (core dumped) ./${test} -v ${testdir} | Results: 7 tests passed; 1 tests failed. | Failed tests: | test-mime | make[4]: *** [check-local] Error 255 | make[4]: Leaving directory `/«PKGBUILDDIR»/tests' | make[3]: *** [check-am] Error 2 | make[3]: Leaving directory `/«PKGBUILDDIR»/tests' | make[2]: *** [check-recursive] Error 1 | make[2]: Leaving directory `/«PKGBUILDDIR»/tests' | make[1]: *** [check-recursive] Error 1 | make[1]: Leaving directory `/«PKGBUILDDIR»' | dh_auto_test: make -j1 check returned exit code 2 | make: *** [binary] Error 2 | dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 `---- It's fixed upstream in bb1c6094e04ce54de52289cd5ba7f9b73694ef1f, which I've also attached. Can NMU if you want. Cheers, -- Iain Lane [ i...@orangesquash.org.uk ] Debian Developer [ la...@debian.org ] Ubuntu Developer [ la...@ubuntu.com ]
>From bb1c6094e04ce54de52289cd5ba7f9b73694ef1f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast <f...@gnome.org> Date: Thu, 26 Sep 2013 08:46:10 -0400 Subject: [PATCH] Initialize mutexes earlier in g_mime_init 2013-09-26 Jeffrey Stedfast <f...@gnome.org> * gmime/gmime.c (g_mime_init): Initialize the mutexes earlier. Fixes bug #708818. --- ChangeLog | 5 +++++ gmime/gmime.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) Index: b/gmime/gmime.c =================================================================== --- a/gmime/gmime.c +++ b/gmime/gmime.c @@ -132,6 +132,13 @@ g_type_init (); #endif +#ifdef G_THREADS_ENABLED + g_mutex_init (&G_LOCK_NAME (iconv_cache)); + g_mutex_init (&G_LOCK_NAME (iconv_utils)); + g_mutex_init (&G_LOCK_NAME (charset)); + g_mutex_init (&G_LOCK_NAME (msgid)); +#endif + g_mime_charset_map_init (); g_mime_iconv_utils_init (); g_mime_iconv_init (); @@ -144,13 +151,6 @@ gmime_gpgme_error_quark = g_quark_from_static_string ("gmime-gpgme"); gmime_error_quark = g_quark_from_static_string ("gmime"); -#ifdef G_THREADS_ENABLED - g_mutex_init (&G_LOCK_NAME (iconv_cache)); - g_mutex_init (&G_LOCK_NAME (iconv_utils)); - g_mutex_init (&G_LOCK_NAME (charset)); - g_mutex_init (&G_LOCK_NAME (msgid)); -#endif - /* register our GObject types with the GType system */ g_mime_crypto_context_get_type (); g_mime_decrypt_result_get_type ();