Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] glib-2.0: inherit pythonnative
  2012-11-01  8:53 [PATCH 0/1] " Xin Ouyang
@ 2012-11-01  8:53 ` Xin Ouyang
  2012-11-01 11:45   ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Xin Ouyang @ 2012-11-01  8:53 UTC (permalink / raw)
  To: openembedded-core

glib-2.0 needs to inherit pythonnative because it will run python
scripts to generate codes while do_compile.

This has caused problems on some hosts(SLED11.2) if no python-xml
installed.

[Yocto 2843]

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
---
 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
index 10c0b61..5181f9d 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb
@@ -1,8 +1,10 @@
 require glib.inc
 
-PR = "r6"
+PR = "r7"
 PE = "1"
 
+inherit pythonnative
+
 DEPENDS += "libffi python-argparse-native zlib"
 DEPENDS_virtclass-native += "libffi-native python-argparse-native"
 DEPENDS_virtclass-nativesdk += "nativesdk-libffi python-argparse-native nativesdk-zlib ${BPN}-native"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] glib-2.0: inherit pythonnative
  2012-11-01  8:53 ` [PATCH 1/1] " Xin Ouyang
@ 2012-11-01 11:45   ` Richard Purdie
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2012-11-01 11:45 UTC (permalink / raw)
  To: Xin Ouyang; +Cc: openembedded-core

On Thu, 2012-11-01 at 16:53 +0800, Xin Ouyang wrote:
> glib-2.0 needs to inherit pythonnative because it will run python
> scripts to generate codes while do_compile.
> 
> This has caused problems on some hosts(SLED11.2) if no python-xml
> installed.
> 
> [Yocto 2843]
> 
> Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
> ---
>  meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

This is going to adversely affect build speed. Can we not document that
python-xml needs to be installed on these hosts? I'd have thought that
would be available on most systems we support running on these days?

Cheers,

Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 0/1] glib-2.0: inherit pythonnative
@ 2013-07-08  3:24 jackie.huang
  2013-07-08  3:25 ` [PATCH 1/1] " jackie.huang
  0 siblings, 1 reply; 6+ messages in thread
From: jackie.huang @ 2013-07-08  3:24 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

The following changes since commit d60185a76af5ceda9dd7b074b5846464e95586b9:

  glib-2.0: add -march=i486 into CFLAGS automatically when needed. (2013-07-08 10:42:41 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib jhuang0/r_bbappend_glib_0708_3
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/r_bbappend_glib_0708_3

Jackie Huang (1):
  glib-2.0: inherit pythonnative

 meta/recipes-core/glib-2.0/glib.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.4.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/1] glib-2.0: inherit pythonnative
  2013-07-08  3:24 [PATCH 0/1] glib-2.0: inherit pythonnative jackie.huang
@ 2013-07-08  3:25 ` jackie.huang
  2013-07-09 14:56   ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: jackie.huang @ 2013-07-08  3:25 UTC (permalink / raw)
  To: openembedded-core

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(-)

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}"
 
-- 
1.7.4.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] glib-2.0: inherit pythonnative
  2013-07-08  3:25 ` [PATCH 1/1] " jackie.huang
@ 2013-07-09 14:56   ` Burton, Ross
  2013-07-10  2:12     ` jhuang0
  0 siblings, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2013-07-09 14:56 UTC (permalink / raw)
  To: jackie.huang; +Cc: openembedded-core

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/1] glib-2.0: inherit pythonnative
  2013-07-09 14:56   ` Burton, Ross
@ 2013-07-10  2:12     ` jhuang0
  0 siblings, 0 replies; 6+ messages in thread
From: jhuang0 @ 2013-07-10  2:12 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-core



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
>

-- 
Jackie Huang
WIND RIVER | China Development Center
MSN:jackielily@hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-10  2:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08  3:24 [PATCH 0/1] glib-2.0: inherit pythonnative jackie.huang
2013-07-08  3:25 ` [PATCH 1/1] " jackie.huang
2013-07-09 14:56   ` Burton, Ross
2013-07-10  2:12     ` jhuang0
  -- strict thread matches above, loose matches on Subject: below --
2012-11-01  8:53 [PATCH 0/1] " Xin Ouyang
2012-11-01  8:53 ` [PATCH 1/1] " Xin Ouyang
2012-11-01 11:45   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox