Packagers of Cockpit might be interested in this pull request. We'll
start to describe our dependency on GLib more accurately. Since versions
of GLib before 2.37.4 crash with cockpit-ws, we'll refuse to build on
those versions.
https://github.com/cockpit-project/cockpit/pull/1586
This is the bug in question:
https://bugzilla.gnome.org/show_bug.cgi?id=701283
https://bugzilla.redhat.com/show_bug.cgi?id=1143943
However if your distro has patched GLib to fix this bug (I think CentOS
has done this), you can use the mechanism provided by pkg-config to
override the check in question. This is described in the failure output
of configure when this dependency are not met:
Alternatively, you may set the environment variables GLIB_TLS_CFLAGS
and GLIB_TLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Cheers,
Stef