summaryrefslogtreecommitdiffstats
path: root/bitbake
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:26:22 +0000
commitd599d90fd56a7ad12a376011453513d874b512de (patch)
tree5e199e5948ea6c79714e260e1ecec02762f09de7 /bitbake
parent67b9706ff2400c0633061911d0cbd9b7f441624b (diff)
downloadpoky-d599d90fd56a7ad12a376011453513d874b512de.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] (Bitbake rev: 56f9f8ffd92b00b916dbc2386150c83689d5beed) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 975ae41ac0..eaef4a85ae 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -126,7 +126,11 @@ class SignatureGeneratorBasic(SignatureGenerator):
126 if variant: 126 if variant:
127 fn = "virtual:" + variant + ":" + fn 127 fn = "virtual:" + variant + ":" + fn
128 128
129 taskdeps = self._build_data(fn, d) 129 try:
130 taskdeps = self._build_data(fn, d)
131 except:
132 bb.note("Error during finalise of %s" % fn)
133 raise
130 134
131 #Slow but can be useful for debugging mismatched basehashes 135 #Slow but can be useful for debugging mismatched basehashes
132 #for task in self.taskdeps[fn]: 136 #for task in self.taskdeps[fn]: