Skip to contentSkip to conversation

siggen.py: print taskname when seeing mismatched hash in cache

PATCH Applied Kevin Tian 2 participants 2 messages Dec 17, 2010 – Dec 20, 2010

lore
Share & tools
lore

Kevin Tian

author
#0 lore raw

PATCH 1/3 siggen.py: print taskname when seeing mismatched hash in cache

---
 bitbake/lib/bb/siggen.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
bitbake/lib/bb/siggen.py +1 -1
index 3eecd75..f7c93ae 100644
@@ -169,7 +169,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
                 if k not in self.taskhash:
                     continue
                 if dataCache.basetaskhash[k] != self.basehash[k]:
-                    bb.error("Bitbake's cached basehash does not match the one we just generated!")
+                    bb.error("Bitbake's cached basehash does not match the one we just generated (%s)!" % k)
                     bb.error("The mismatched hashes were %s and %s" % (dataCache.basetaskhash[k], self.basehash[k]))
                 self.dump_sigtask(fn, task, dataCache.stamp[fn], True)
 
Signature · 1 line
1.6.0.4