[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] gobject-introspection: stop GLib linking to GConf
From:       ross.burton () intel ! com (Ross Burton)
Date:       2016-03-11 17:26:30
Message-ID: 1457717190-19925-1-git-send-email-ross.burton () intel ! com
[Download RAW message or body]

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 <ross.burton at intel.com>
---
 meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb \
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb index \
                684d7cf..384204c 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
@@ -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
-- 
2.7.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic