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>
This commit is contained in:
Paul Eggleton 2012-03-06 23:37:35 +00:00 committed by Richard Purdie
parent 67b9706ff2
commit d599d90fd5
1 changed files with 5 additions and 1 deletions

View File

@ -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]: