Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: ml@communistcode.co.uk,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: PLEASE READ: Major change landing shortly (python whitespace)
Date: Thu, 19 Jul 2012 17:23:41 +0200	[thread overview]
Message-ID: <20120719152341.GL3331@jama.jama.net> (raw)
In-Reply-To: <50081D62.9000204@communistcode.co.uk>

[-- Attachment #1: Type: text/plain, Size: 4324 bytes --]

On Thu, Jul 19, 2012 at 03:44:50PM +0100, Jack Mitchell wrote:
> On 18/07/12 11:06, Richard Purdie wrote:
> > snip
> >
> > So I am going to:
> >
> > a) Try and flush through as many pending patches as I can.
> > b) Check in a warning into bitbake master and increase its version
> > c) Require that version in OE-Core
> > d) Commit a significant set of whitespace changes to OE-Core, resolving
> > all the warnings for OE-Core.
> >
> > I plan to do this, tomorrow, Thursday.
> >
> 
> Richard,
> 
> I think I've hit an issue with the white spaces today:
> 
>     NOTE: Resolving any missing task queue dependencies
>     NOTE: Preparing runqueue
>     NOTE: Executing RunQueue Tasks
>     NOTE: Running task 1 of 2 (ID: 0,
> virtual:native:/mnt/storage/yoctoBuilds/poky-vanilla.git/meta/recipes-devtools/bison/bison_2.5.bb,
>     do_clean)
>     NOTE: package bison-native-2.5-r2: task do_clean: Started
>     ERROR: Error executing a python function in
> /mnt/storage/yoctoBuilds/poky-vanilla.git/meta/recipes-devtools/bison/bison_2.5.bb:
>     OSError: [Errno 39] Directory not empty:
> '/mnt/storage/yoctoBuilds/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/temp'

Do you think that this directory is full of white spaces? :)

I don't think this is related to todays white space changes, because I
see errors like this from time to time..

Cheers,


> 
>     ERROR: The stack trace of python calls that resulted in this
>     exception/failure was:
>     ERROR:   File "do_clean", line 16, in <module>
>     ERROR:
>     ERROR:   File "do_clean", line 6, in do_clean
>     ERROR:
>     ERROR:   File
> "/mnt/storage/yoctoBuilds/poky-vanilla.git/meta/lib/oe/path.py",
>     line 94, in remove
>     ERROR:     shutil.rmtree(name)
>     ERROR:
>     ERROR:   File "/usr/lib/python2.7/shutil.py", line 245, in rmtree
>     ERROR:     rmtree(fullname, ignore_errors, onerror)
>     ERROR:
>     ERROR:   File "/usr/lib/python2.7/shutil.py", line 254, in rmtree
>     ERROR:     onerror(os.rmdir, path, sys.exc_info())
>     ERROR:
>     ERROR:   File "/usr/lib/python2.7/shutil.py", line 252, in rmtree
>     ERROR:     os.rmdir(path)
>     ERROR:
>     ERROR: The code that was being executed was:
>     ERROR:      0012:    for f in (d.getVar('CLEANFUNCS', True) or
>     '').split():
>     ERROR:      0013:        bb.build.exec_func(f, d)
>     ERROR:      0014:
>     ERROR:      0015:
>     ERROR:  *** 0016:do_clean(d)
>     ERROR:      0017:
>     ERROR: (file: 'do_clean', lineno: 16, function: <module>)
>     ERROR:      0002:def do_clean(d):
>     ERROR:      0003:    """clear the build and temp directories"""
>     ERROR:      0004:    dir =
> d.expand("/mnt/storage/yoctoBuilds/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2")
>     ERROR:      0005:    bb.note("Removing " + dir)
>     ERROR:  *** 0006:    oe.path.remove(dir)
>     ERROR:      0007:
>     ERROR:      0008:    dir = "%s.*" % 
> bb.data.expand(d.getVar('STAMP'), d)
>     ERROR:      0009:    bb.note("Removing " + dir)
>     ERROR:      0010:    oe.path.remove(dir)
>     ERROR: (file: 'do_clean', lineno: 6, function: do_clean)
>     ERROR: Function failed: do_clean
>     NOTE: package bison-native-2.5-r2: task do_clean: Failed
>     ERROR: Task 0
> (virtual:native:/mnt/storage/yoctoBuilds/poky-vanilla.git/meta/recipes-devtools/bison/bison_2.5.bb,
>     do_clean) failed with exit code '1'
>     NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be
>     rerun and 1 failed.
> 
>     Summary: 1 task failed:
> virtual:native:/mnt/storage/yoctoBuilds/poky-vanilla.git/meta/recipes-devtools/bison/bison_2.5.bb,
>     do_clean
>     Summary: There was 1 WARNING message shown.
>     Summary: There were 37 ERROR messages shown, returning a non-zero
>     exit code.
> 
> 
> Cheers,
> Jack.
> 
> -- 
> 
>    Jack Mitchell (jack@embed.me.uk)
>    Embedded Systems Engineer
>    http://www.embed.me.uk
> 
> --
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2012-07-19 15:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 10:06 PLEASE READ: Major change landing shortly (python whitespace) Richard Purdie
2012-07-18 10:17 ` Burton, Ross
2012-07-18 11:40   ` Richard Purdie
2012-07-18 21:43     ` [bitbake-devel] " Martin Jansa
2012-07-19  8:26       ` Henning Heinold
2012-07-19  9:49     ` Martin Jansa
2012-07-19 10:15       ` Richard Purdie
2012-07-19 11:18         ` Martin Jansa
2012-07-19 11:27           ` Martin Jansa
2012-07-18 10:40 ` Martin Jansa
2012-07-18 13:11   ` Richard Purdie
2012-07-19 14:44 ` Jack Mitchell
2012-07-19 15:23   ` Martin Jansa [this message]
2012-07-20  9:38     ` Jack Mitchell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120719152341.GL3331@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --cc=ml@communistcode.co.uk \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox