Re: [yocto] Some nightly build failures on autobuilder (on commit b9a97e07, namely, "Revert part of the unpack change...")

2011-02-15 Thread Richard Purdie
On Mon, 2011-02-14 at 09:57 -0600, Mark Hatle wrote:
> On 2/14/11 12:52 AM, Cui, Dexuan wrote:
> > 1)  Building qemumips meta-toolchain-sdk failed: 
> > http://autobuilder.pokylinux.org:8010/builders/nightly-external/builds/35/steps/shell_26/logs/stdio
> > eglibc's do_package failed: 
> > ERROR: Error executing a python function in 
> > /srv/home/pokybuild/poky-slave/nightly-external/build/meta/recipes-core/eglibc/eglibc_2.12.bb:
> > CopyFailed: Command tar -cf - -C 
> > /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/mips-poky-linux/eglibc-2.12-r13/sstate-install-package///package
> >  -ps . | tar -xf - -C 
> > /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/mips-poky-linux/eglibc-2.12-r13/package
> >  failed with return value 2
> > 
> > Looks it's related to Mark's recent commit 3e6d91ec, but what's odd is: 
> > qemumips failed here while qemux86 and qemuarm are ok... BTW: MACHINE 
> > routerstationpro and atom-pc also have the same failure as qemumips.
> 
> I've not seen this error.  The code in question would be located in
> meta/classes/package.bbclass.  There are only a couple of locations in there
> that we switched to the 'tar' method of copying.
> 
> Is there any other error messages in the logs besides the one above?
> 
> If it truly was error "2", then it means "No such file or directory".
> 
> If someone is able to reproduce this, we can figure out if the source or
> destination are missing and how that occurred.

The error is not from package.bbclass, its from a oe.utils.copytree call
in sstate.bbclass and hence from a commit I made in the same spirit as
Mark's changes. What's going wrong I don't know though.

Cheers,

Richard


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH 0/1] Build statistics base

2011-02-15 Thread Richard Purdie
On Mon, 2011-02-14 at 18:11 -0800, Elizabeth Flanagan wrote:
> This is an initial commit of buildstats.bbclass. This generates a
> directory structure in build/tmp/buildstats which contains basic build
> statistics on a build run.
> 
> What we capture:
> CPU usage on a build and task level
> Time run overall and for each tast
> Size of the uncompressed rootfs
> If the build has failures, what package failed and during what task
> 
> Overall build stats are kept in
> build/tmp/buildstats///build_stats
> with package statistics kept in /.
> 
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: eflanagan/buildstats
>   Browse:
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/buildstats
> 
> Thanks,
> Beth Flanagan 

Merged to master, thanks Beth!

Richard

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1] linux-yocto: add jasperforest BSP and fix lttng NMI bug

2011-02-15 Thread Bruce Ashfield
Richard/Saul,

During the introduction of the jasperforest BSP, a lttng
issues was picked up with NMI tracing. The upstream (and
our solution) is to revert that commit.

This change updates the meta repo for jasperforest and pushes
out the nmi revert to all BSPs.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: zedd/jasperforest
  Browse: 
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/jasperforest

Thanks,
Bruce Ashfield 
---


Bruce Ashfield (1):
  linux-yocto: add jasperforest BSP and fix lttng NMI bug

 .../conf/distro/include/poky-default-revisions.inc |   27 +--
 1 files changed, 13 insertions(+), 14 deletions(-)

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] linux-yocto: add jasperforest BSP and fix lttng NMI bug

2011-02-15 Thread Bruce Ashfield
During the introduction of the jasperforest BSP, a lttng
issues was picked up with NMI tracing. The upstream (and
our solution) is to revert that commit.

This change updates the meta repo for jasperforest and pushes
out the nmi revert to all BSPs.

Signed-off-by: Bruce Ashfield 
---
 .../conf/distro/include/poky-default-revisions.inc |   27 +--
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/meta/conf/distro/include/poky-default-revisions.inc 
b/meta/conf/distro/include/poky-default-revisions.inc
index a04fa9e..078e2ae 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -98,20 +98,19 @@ SRCREV_machine_pn-linux-yocto-stable_beagleboard ?= 
"ef7f944e773950d4016b7643f9e
 SRCREV_machine_pn-linux-yocto-stable ?= 
"72ca49ab08b8eb475cec82a10049503602325791"
 SRCREV_meta_pn-linux-yocto-stable ?= "e1f85a470934a0cf6abde5d95533e74501822c6b"
 # development SRCREVs
-SRCREV_machine_pn-linux-yocto_qemuarm ?= 
"c6d1949b479118d027a6c0f0841247cc0ea697b2"
-SRCREV_machine_pn-linux-yocto_qemumips ?= 
"cab9fb9913136549cee2f5db07134f4d9780"
-SRCREV_machine_pn-linux-yocto_qemuppc ?= 
"4ab4b22d4768f65cfadccae6d749e4f3769b0afa"
-SRCREV_machine_pn-linux-yocto_qemux86 ?= 
"cb4faf3af527e25feee584f39c3956ca0c9448c8"
-SRCREV_machine_pn-linux-yocto_qemux86-64 ?= 
"343c06b25b221aa7f7019aee83b2d976041fddce"
-SRCREV_machine_pn-linux-yocto_emenlow ?= 
"30a8b903be9cb18ba1fc11242159fa5d7bfdb1cc"
-SRCREV_machine_pn-linux-yocto_atom-pc ?= 
"343c06b25b221aa7f7019aee83b2d976041fddce"
-SRCREV_machine_pn-linux-yocto_routerstationpro ?= 
"4f1adb92fd08001ec76185c7febea7504c84f082"
-SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= 
"68fb0b8d73bbb336ffa4a47bc70ec1eab021b7f6"
-SRCREV_machine_pn-linux-yocto_beagleboard ?= 
"343c06b25b221aa7f7019aee83b2d976041fddce"
-SRCREV_machine_pn-linux-yocto ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
-SRCREV_meta_pn-linux-yocto ?= "5a32d7fe3b817868ebb697d2d883d743903685ae"
-SRCREV_machine_pn-linux-yocto ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
-SRCREV_pn-linux-libc-headers-yocto ??= 
"343c06b25b221aa7f7019aee83b2d976041fddce"
+SRCREV_machine_pn-linux-yocto_qemuarm ?= 
"33bf23ffea7cd8a31912924bafa8ea2ba3613fe2"
+SRCREV_machine_pn-linux-yocto_qemumips ?= 
"5ee86c26c3f7f2498f31fd09c283abf630fad0dc"
+SRCREV_machine_pn-linux-yocto_qemuppc ?= 
"3f5fe5067d9b911b4b93cad9d671ad20d0d099f0"
+SRCREV_machine_pn-linux-yocto_qemux86 ?= 
"b7a49018103933e8bc12f70f8d78aff5acf88bed"
+SRCREV_machine_pn-linux-yocto_qemux86-64 ?= 
"49a2e709dd41bcfa206e61b88e5562789a6b8914"
+SRCREV_machine_pn-linux-yocto_emenlow ?= 
"5e0da33b2aedc6300460bb91921b8da202d6f652"
+SRCREV_machine_pn-linux-yocto_atom-pc ?= 
"49a2e709dd41bcfa206e61b88e5562789a6b8914"
+SRCREV_machine_pn-linux-yocto_routerstationpro ?= 
"3e66595a0e6f428aa40e883fa7697ca8b145050f"
+SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= 
"aefd36272f47de297a77feaa583cbeb4935f3abb"
+SRCREV_machine_pn-linux-yocto_beagleboard ?= 
"49a2e709dd41bcfa206e61b88e5562789a6b8914"
+SRCREV_machine_pn-linux-yocto ?= "49a2e709dd41bcfa206e61b88e5562789a6b8914"
+SRCREV_meta_pn-linux-yocto ?= "29047c254624e0bd8a0ac6da92862f7c6357cb0b"
+SRCREV_pn-linux-libc-headers-yocto ??= 
"49a2e709dd41bcfa206e61b88e5562789a6b8914"
 SRCREV_pn-matchbox-config-gtk ??= "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028"
 SRCREV_pn-matchbox-desktop-sato ??= "76"
 SRCREV_pn-matchbox-desktop ??= "af7ed6775487380be73160aa0298bf6019765fad"
-- 
1.7.0.4

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH 0/1] linux-yocto: add jasperforest BSP and fix lttng NMI bug

2011-02-15 Thread Richard Purdie
On Tue, 2011-02-15 at 14:07 -0500, Bruce Ashfield wrote:
> Richard/Saul,
> 
> During the introduction of the jasperforest BSP, a lttng
> issues was picked up with NMI tracing. The upstream (and
> our solution) is to revert that commit.
> 
> This change updates the meta repo for jasperforest and pushes
> out the nmi revert to all BSPs.
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: zedd/jasperforest
>   Browse: 
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/jasperforest
> 
> Thanks,
> Bruce Ashfield 

Merged to master, thanks.

Richard

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH 0/1] linux-libc-headers-yocto: disable device tree generation

2011-02-15 Thread Richard Purdie
On Mon, 2011-02-14 at 16:42 -0500, Bruce Ashfield wrote:
> Richard/Saul,
> 
> This fixed the error picked up overnight where the libc-headers
> fails because there is no dtb to install.
> 
> Note: this could have been fixed by factoring out the include
> of linux-dtb.inc into the individual recipes rather than by
> modifying the libc-headers rule to set the KERNEL_DEVICETREE
> to nothing. But the libc-headers is the exception and most 
> any other recipe that includes linux-yocto.inc needs this
> enabled, so I opted to leave the includes as they were.
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: zedd/kernel
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
> 
> Thanks,
> Bruce Ashfield 

Merged to master, thanks.

Richard

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH 0/1] linux-yocto: add jasperforest BSP and fix lttng NMI bug

2011-02-15 Thread Richard Purdie
On Tue, 2011-02-15 at 14:07 -0500, Bruce Ashfield wrote:
> Richard/Saul,
> 
> During the introduction of the jasperforest BSP, a lttng
> issues was picked up with NMI tracing. The upstream (and
> our solution) is to revert that commit.
> 
> This change updates the meta repo for jasperforest and pushes
> out the nmi revert to all BSPs.
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: zedd/jasperforest
>   Browse: 
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/jasperforest
> 
> Thanks,
> Bruce Ashfield 
> ---
> 
> 
> Bruce Ashfield (1):
>   linux-yocto: add jasperforest BSP and fix lttng NMI bug
> 
>  .../conf/distro/include/poky-default-revisions.inc |   27 +--
>  1 files changed, 13 insertions(+), 14 deletions(-)

btw, this is not all this branch contains. Luckily I noticed and caught
that :)

Cheers,

Richard


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH 0/1] linux-yocto: add jasperforest BSP and fix lttng NMI bug

2011-02-15 Thread Bruce Ashfield

On 11-02-15 02:28 PM, Richard Purdie wrote:

On Tue, 2011-02-15 at 14:07 -0500, Bruce Ashfield wrote:

Richard/Saul,

During the introduction of the jasperforest BSP, a lttng
issues was picked up with NMI tracing. The upstream (and
our solution) is to revert that commit.

This change updates the meta repo for jasperforest and pushes
out the nmi revert to all BSPs.

Pull URL: git://git.pokylinux.org/poky-contrib.git
   Branch: zedd/jasperforest
   Browse: 
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/jasperforest

Thanks,
 Bruce Ashfield
---


Bruce Ashfield (1):
   linux-yocto: add jasperforest BSP and fix lttng NMI bug

  .../conf/distro/include/poky-default-revisions.inc |   27 +--
  1 files changed, 13 insertions(+), 14 deletions(-)


btw, this is not all this branch contains. Luckily I noticed and caught
that :)


urk. I pushed my master AND not the jasperforest branch
that I created for the submission.

Rushing as usual causes mistakes .. sorry about that.

Bruce



Cheers,

Richard




___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto IRC Bug days

2011-02-15 Thread Elizabeth Flanagan
Folks,

First, thanks for everyone's hard work. We're half way through the master 
stabilization cycle and the buildouts on the
autobuilder are looking better and better than two weeks ago. Kudos.

As we head into the final stretch of master stabilization, we'll be starting to 
hold regular irc bug scrubs on #yocto.
These should be between 30 minutes to an hour.

We currently have 168 open defects in bugzilla with a gold spin planned for 
March 19th, about 5 weeks away. We'll be
holding the following bugdays over the next few weeks to make sure Yocto 1.0 is 
as defect free as possible.

Here is the schedule for the coming weeks.

Master Stabilization Cycle Bug Days:
Thursday February 17th @ 07:00 GMT / Thurs 23:00 PST / Fri 18th 15:00 China
Tuesday February 22nd @ 17:30 GMT / Tue 09:30 PST / Wed 23rd 01:30 China
Thursday February 24th @ 07:00 GMT / Thurs 24th 23:00 PST / Fri 25th 15:00 China

Release Candidate Validation/Verification Bug Days:
Tuesday March 1st 22nd @ 17:30 GMT / Tue 09:30 PST / Wed 2nd 01:30 China
Thursday March 3rd 17th @ 07:00 GMT / Thurs 23:00 PST / Fri 4th 15:00 China
Tuesday March 8th 22nd @ 17:30 GMT / Tue 09:30 PST / Wed 9th 01:30 China
Thursday March 10th 17th @ 07:00 GMT / Thurs 23:00 PST / Fri 11th 15:00 China
Tuesday March 15th 22nd @ 17:30 GMT / Tue 09:30 PST / Wed 16th 01:30 China
Thursday March 17th 17th @ 07:00 GMT / Thurs 23:00 PST / Fri 18th 15:00 China

Please join the team in fixing defects and getting our bug count lower. I or 
Saul will be the "bug caller" during these
sessions.

You can also send email or place a bugzilla comment directly for those bugs 
that are important to you or your project.

Thanks for your support of the Yocto Project.

--
Elizabeth Flanagan
Yocto Project
Release Engineer
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1] uname -a equivalent via platform.uname()

2011-02-15 Thread Elizabeth Flanagan
Fixing buildstats to get the equivalent of uname -a. Avoiding subprocess due to 
issues.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: eflanagan/buildstats
  Browse: 
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/buildstats

Thanks,
Beth Flanagan 
---


Beth Flanagan (1):
  Doing uname without subprocess: buildstats.bbclass

 meta/classes/buildstats.bbclass |   11 +++
 1 files changed, 7 insertions(+), 4 deletions(-)

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] Doing uname without subprocess: buildstats.bbclass

2011-02-15 Thread Elizabeth Flanagan

Instead of using subprocess which is problematic, we should use platform
instead.

Signed-off-by: Beth Flanagan 
---
 meta/classes/buildstats.bbclass |   11 +++
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass
index f042dd3..0acf516 100644
--- a/meta/classes/buildstats.bbclass
+++ b/meta/classes/buildstats.bbclass
@@ -67,7 +67,7 @@ python run_buildstats () {
 import bb.build
 import bb.event
 import bb.data
-import time, subprocess
+import time, subprocess, platform

 if isinstance(e, bb.event.BuildStarted):
 ##
@@ -90,9 +90,12 @@ python run_buildstats () {
 build_time = os.path.join(bsdir, "build_stats")
 # write start of build into build_time
 file = open(build_time,"a")
-# We do this here because subprocess within BuildStarted is messy
-#host_info = subprocess.Popen(["uname", "-a"], 
stdout=subprocess.PIPE).stdout.read()
-#file.write("Host Info: %s" % host_info)
+host_info = platform.uname()
+file.write("Host Info: ")
+for x in host_info:
+if x:
+file.write(x + " ")
+file.write("\n")
 file.write("Build Started: %0.2f \n" % time.time())
 file.close()

-- 
1.7.1
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto