From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: bitbake-devel@lists.openembedded.org, Zhenfeng.Zhao@windriver.com
Subject: Re: [PATCH 0/1] bitbake-whatchanged: print what is about to happen
Date: Tue, 07 Aug 2012 18:12:22 +0100 [thread overview]
Message-ID: <16599840.OqlgMUDr4l@helios> (raw)
In-Reply-To: <cover.1344346253.git.liezhi.yang@windriver.com>
On Tuesday 07 August 2012 23:48:55 Robert Yang wrote:
> The following changes since commit c86d26cb976e665b1516e72153f3f686f62dedf9:
>
> subversion: Add missing build dependency on sqlite3 (2012-08-06 16:14:06
> +0100)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib robert/whatchanged
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/whatchanged
>
> Robert Yang (1):
> bitbake-whatchanged: print what is about to happen
>
> bitbake/bin/bitbake-whatchanged | 334
> ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 334 insertions(+)
> create mode 100755 bitbake/bin/bitbake-whatchanged
I tried this on top of latest master, unfortunately what I got was the
following:
-------------- snip ----------------
Figuring out the TMPDIR ...
Moving the stamps to stamps.old ...
Generating the new stamps ... (need several minutes)
ERROR occurred!!! Recovering the stamps dir ...
Removing the newly generated stamps ...
Moving the stamps.old back to stamps ...
Traceback (most recent call last):
File "/home/paul/poky/poky/bitbake/bin/bitbake-whatchanged", line 333, in <module>
sys.exit(main())
File "/home/paul/poky/poky/bitbake/bin/bitbake-whatchanged", line 291, in main
old_recon = recon_dict(old_dict)
File "/home/paul/poky/poky/bitbake/bin/bitbake-whatchanged", line 82, in recon_dict
full_path_pre = "%s/%s" % (dict_in.get(dict_out.get(pn_task).get(fn)).get('path'), k)
NameError: global name 'fn' is not defined
-------------- snip ----------------
A couple of other things:
1) We ought to be able to assume that TMPDIR is the same regardless of
the recipe specified; this avoids having to parse all of the recipes just to
get the value of this variable.
2) I'm a little concerned with the general approach - is there no way of
avoiding having to copy and move around the stamps directory? It seems
a little risky if nothing else.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2012-08-07 17:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 15:48 [PATCH 0/1] bitbake-whatchanged: print what is about to happen Robert Yang
2012-08-07 15:48 ` [PATCH 1/1] " Robert Yang
2012-08-07 17:12 ` Paul Eggleton [this message]
2012-08-07 21:01 ` [PATCH 0/1] " Richard Purdie
2012-08-08 3:40 ` Robert Yang
2012-08-08 9:12 ` Paul Eggleton
2012-08-08 9:26 ` Robert Yang
2012-08-08 9:17 ` Robert Yang
2012-08-08 9:21 ` Richard Purdie
2012-08-08 9:41 ` Robert Yang
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=16599840.OqlgMUDr4l@helios \
--to=paul.eggleton@linux.intel.com \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=liezhi.yang@windriver.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.