[oe-commits] [openembedded-core] 01/17: gobject-introspection: unset LD_LIBRARY_PATH prior to running qemu

git at git.openembedded.org git at git.openembedded.org
Tue Jan 2 22:39:45 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e21ad4431e0b413894c19601fa622b5325d9fc68
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Tue Jan 2 18:04:14 2018 +0200

    gobject-introspection: unset LD_LIBRARY_PATH prior to running qemu
    
    Latest g-i upstream adds target paths to this variable which breaks
    qemu in various confusing ways.
    
    Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../gobject-introspection/gobject-introspection_1.54.1.bb              | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
index 156dac7..ef1d561 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
@@ -52,6 +52,9 @@ do_configure_prepend_class-target() {
 # Use a modules directory which doesn't exist so we don't load random things
 # which may then get deleted (or their dependencies) and potentially segfault
 export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
+# g-ir-scanner (which executes this script) adds some target library paths to LD_LIBRARY_PATH
+# which fails horribly when running native qemu
+unset LD_LIBRARY_PATH
 
 $qemu_binary "\$@"
 if [ \$? -ne 0 ]; then

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list