From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: Zhenfeng.Zhao@windriver.com
Subject: Re: [PATCH 0/2 V3] scripts/bitbake-whatchanged: print what is about to happen
Date: Sun, 26 Aug 2012 22:15:10 +0100 [thread overview]
Message-ID: <1346015710.7252.24.camel@ted> (raw)
In-Reply-To: <cover.1345084532.git.liezhi.yang@windriver.com>
On Thu, 2012-08-16 at 14:46 +0800, Robert Yang wrote:
> Changes of V3:
> * Move it from bitbake/bin/ to oe-core/scripts
>
> * Change BB_STAMPS_DIR to STAMPS_DIR
>
> * Use "which bitbake-diffsigs" to locate where is the bitbake/lib/bb since it
> needs bb.siggen.compare_sigfiles (must) and bb.process.run (optional).
>
> Changes of V2:
> * Fix a typo fn -> 'fn'
>
> * Use "bitbake -e" rather than "bitbake -e recipe" to get the BB_STAMPS_DIR
>
> * Use "BB_STAMPS_DIR=<path> bitbake -S recipe" to regenerate the stamps
>
> * Change the summary format a little, now it looks like:
> - (without -v):
> === Summary: (3653 changed, 1927 unchanged)
> Newly added: 807
> PV changed: 48
> PR changed: 276
> Depends changed: 2522
>
> - (with -v):
> === Summary: (3653 changed, 1927 unchanged)
> Newly added: 807
> Depends changed: 2846
>
> Changes of V1:
> Initial version
I tried this:
$ MACHINE=qemux86 bitbake-whatchanged nativesdk-perl
Figuring out the STAMPS_DIR ...
Generating the new stamps ... (need several minutes)
ERROR occurred!
Traceback (most recent call last):
File "/media/build1/poky/scripts/bitbake-whatchanged", line 342, in <module>
sys.exit(main())
File "/media/build1/poky/scripts/bitbake-whatchanged", line 303, in main
old_recon = recon_dict(old_dict)
File "/media/build1/poky/scripts/bitbake-whatchanged", line 96, in recon_dict
if os.stat(full_path_pre).st_mtime > os.stat(full_path_cur).st_mtime:
OSError: [Errno 2] No such file or directory: '/media/build1/poky/build/tmp/stamps/armv7a-vfp-neon-poky-linux-gnueabi/bash-4.2-r4.do_compile.sigdata.80ff8a0bb7180f101517f35e8cf4ba8b'
and it looks like the environment isn't preserved since this is
defaulting to beagleboard which is what is in my local.conf, not the
MACHINE=qemux86 I expected.
Cheers,
Richard
prev parent reply other threads:[~2012-08-26 21:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-16 6:46 [PATCH 0/2 V3] scripts/bitbake-whatchanged: print what is about to happen Robert Yang
2012-08-16 6:46 ` [PATCH 1/2 V3] bitbake.conf: add STAMPS_DIR for constructing STAMP Robert Yang
2012-08-16 6:46 ` [PATCH 2/2 V3] bitbake-whatchanged: print what is about to happen Robert Yang
2012-08-26 21:15 ` Richard Purdie [this message]
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=1346015710.7252.24.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=Zhenfeng.Zhao@windriver.com \
--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 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.