GNOME Bugzilla – Bug 673110
Uses GMutex but does not require GLib 2.32
Last modified: 2019-02-22 11:57:05 UTC
Hi, While building Gcr 3.4.0 with GLib 2.30, I got: gcr-dbus-generated.c:2197:10: error: field 'lock' has incomplete type Build with GLib 2.32 succeeds, so configure.ac should check for the version of GLib that made this available.
This looks like a bug in gdbus-codegen. It shouldn't use a GMutex in this way when building on 2.30.x
The problem is that gcr is bundling generated code in its tarballs - you are not supposed to be doing that. Instead, set up your buildsystem so gdbus-codegen(1) is invoked by your buildsystem.
commit 5854d4968f6892bbf48109840500563e8b813866 Author: Stef Walter <stefw@gnome.org> Date: Tue Apr 3 08:47:23 2012 +0200 Don't distribute built sources * This caused problems with gdbus-codegen generated files https://bugzilla.gnome.org/show_bug.cgi?id=673110