[oe-commits] [meta-openembedded] 34/101: glade: fix host contamination on centos7

git at git.openembedded.org git at git.openembedded.org
Sun Aug 13 11:20:10 UTC 2017


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

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 888970ac7cd10c779542fb5000f784bca8f61d1e
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Thu Jul 27 04:44:21 2017 -0400

    glade: fix host contamination on centos7
    
    Since gobject-introspection convert to python3 in oe-core,
    incorrectly assigning PYTHON_PN with python caused host python3
    loaded.
    
    On centos7, built with qemuarm failed:
    ...
    arm-poky-linux-gnueabi-gcc: error: unrecognized argument in option
    '-mtune=generic'
    ..
    arm-poky-linux-gnueabi-gcc: error: unrecognized command line option
    '-m64'
    Traceback (most recent call last):
      File "/usr/lib64/python3.4/distutils/unixccompiler.py", line 126, in
    _compile
    ...
    
    The native python3 should be loaded.
    
    Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/glade/glade_3.20.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-oe/recipes-devtools/glade/glade_3.20.0.bb b/meta-oe/recipes-devtools/glade/glade_3.20.0.bb
index 8b35a9c..f33b6e3 100644
--- a/meta-oe/recipes-devtools/glade/glade_3.20.0.bb
+++ b/meta-oe/recipes-devtools/glade/glade_3.20.0.bb
@@ -9,7 +9,7 @@ DEPENDS = "gtk+ gtk+3 glib-2.0 libxml2 intltool-native \
 "
 
 
-inherit autotools pkgconfig pythonnative gnomebase gobject-introspection
+inherit autotools pkgconfig gnomebase gobject-introspection
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade/3.20/glade-${PV}.tar.xz \
            file://remove-yelp-help-rules-var.patch \
@@ -23,5 +23,3 @@ FILES_${PN} += "${datadir}/* ${libdir}/glade/modules/libgladegtk.so"
 FILES_${PN}-dev += "${libdir}/glade/modules/libgladegtk.la"
 FILES_${PN}-dbg += "${libdir}/glade/modules/.debug/libgladegtk.so"
 
-PYTHON_PN = "python"
-

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


More information about the Openembedded-commits mailing list