summaryrefslogtreecommitdiffstats
path: root/lib/bb/siggen.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-03-06 23:37:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-12 02:22:34 +0000
commit56f9f8ffd92b00b916dbc2386150c83689d5beed (patch)
tree5b9580b31927969669500b1f0bec2143175b4729 /lib/bb/siggen.py
parent41f1b70206b709b5a896da57ad5bd95191450fcf (diff)
downloadopenembedded-core-contrib-56f9f8ffd92b00b916dbc2386150c83689d5beed.tar.gz
bitbake/siggen: output filename on error in finalise
If an error occurs during finalise() (when for example we might get an expansion error in SRCPV), log a note which mentions which recipe was being finalised. Fixes [YOCTO #1782] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r--lib/bb/siggen.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 975ae41ac0..eaef4a85ae 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -126,7 +126,11 @@ class SignatureGeneratorBasic(SignatureGenerator):
if variant:
fn = "virtual:" + variant + ":" + fn
- taskdeps = self._build_data(fn, d)
+ try:
+ taskdeps = self._build_data(fn, d)
+ except:
+ bb.note("Error during finalise of %s" % fn)
+ raise
#Slow but can be useful for debugging mismatched basehashes
#for task in self.taskdeps[fn]: