gobject-introspection: stop GLib linking to GConf
PATCH 1/1 gobject-introspection: stop GLib linking to GConf
If gconf is installed in the sysroot then GLib will use it by default for the GSettings backend. This will pull a lot more libraries into the scanner processes and expands the potential for bad linking through the imperfect qemu user-mode emulation.
Set GSETTINGS_BACKEND=memory to force it to use the stub backend. It's possible that other fixes (such as glib relocation) have mitigated the damage that this causes but right now it's better to be safe than sorry.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb +1 -0
@@ -54,6 +54,7 @@ do_configure_prepend_class-target() { cat > ${B}/g-ir-scanner-qemuwrapper << EOF #!/bin/sh export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules +export GSETTINGS_BACKEND=memory $qemu_binary "\$@" if [ \$? -ne 0 ]; then
Signature · 1 line
2.7.0