Patchwork [1/1] glib-2.0: inherit pythonnative

login
register
mail settings
Submitter jackie huang
Date July 8, 2013, 3:25 a.m.
Message ID <226f2074b7530a82f4cf0e614eecd58f1fd2c22b.1373253853.git.jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/53267/
State New
Headers show

Comments

jackie huang - July 8, 2013, 3:25 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

glib-2.0 needs to inherit pythonnative because it depends on
python-native. This has caused problems on SLED11.2 if no
python-xml installed.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-core/glib-2.0/glib.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Ross Burton - July 9, 2013, 2:56 p.m.
On 8 July 2013 04:25,  <jackie.huang@windriver.com> wrote:
> glib-2.0 needs to inherit pythonnative because it depends on
> python-native. This has caused problems on SLED11.2 if no
> python-xml installed.

I just built glib-2.0 from scratch without python-native being
present, so can you justify this please?

Ross
jackie huang - July 10, 2013, 2:12 a.m.
On 7/9/2013 10:56 PM, Burton, Ross wrote:
> On 8 July 2013 04:25,  <jackie.huang@windriver.com> wrote:
>> glib-2.0 needs to inherit pythonnative because it depends on
>> python-native. This has caused problems on SLED11.2 if no
>> python-xml installed.
>
> I just built glib-2.0 from scratch without python-native being
> present, so can you justify this please?

The problem happened on a SUSE host without python-xml installed, Robert 
just told me that it has been taken care of by:

commit bb027a332f2f2927a6bcbc4c035b42a012d0579e
Author: Jesse Zhang <sen.zhang@windriver.com>
Date:   Mon Jun 3 07:37:48 2013 +0000

     sanity.bbclass: make sure python is a full install

     Components of the Standard Library should be available. Add a sanity
     check for xml.parsers.expat; we might add more in the future.

     [YOCTO #4424]

     Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
     Signed-off-by: Saul Wold <sgw@linux.intel.com>
     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Thanks,
Jackie

>
> Ross
>

Patch

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index aa1d400..229c4e1 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -21,7 +21,7 @@  PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
 LEAD_SONAME = "libglib-2.0.*"
 FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext"
 
-inherit autotools gettext gtk-doc pkgconfig ptest
+inherit autotools gettext gtk-doc pkgconfig ptest pythonnative
 
 S = "${WORKDIR}/glib-${PV}"