From: Richard Purdie Date: Tue, 2 Nov 2010 13:17:06 +0000 (+0000) Subject: bitbake/siggen: Provide better warnings about empty tasks X-Git-Tag: 2011-1~4143 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=88f6f3fadf16d957bc24f5a3af4c4c67017353ad;p=openembedded-core.git bitbake/siggen: Provide better warnings about empty tasks Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 06a48f1765..1a84796759 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -74,6 +74,8 @@ class SignatureGeneratorBasic(SignatureGenerator): lookupcache[dep] = var if var: data = data + var + if data is None: + bb.error("Task %s from %s seems to be empty?!" % (task, fn)) self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest() #bb.note("Hash for %s is %s" % (task, tashhash[task]))