diff options
author | Richard Purdie <richard@ted.(none)> | 2009-09-22 19:53:34 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-24 18:57:09 +0100 |
commit | bec200b38d96f2d766045daa36a6235151ea4e19 (patch) | |
tree | 94512e55af2d7931a6a89a15b87e6310a7f49429 /bitbake | |
parent | 81386036806d623dc32fab04adb8ba50b2b0c3e6 (diff) | |
download | openembedded-core-bec200b38d96f2d766045daa36a6235151ea4e19.tar.gz openembedded-core-bec200b38d96f2d766045daa36a6235151ea4e19.tar.bz2 openembedded-core-bec200b38d96f2d766045daa36a6235151ea4e19.zip |
bitbake/cache.py: Add warnings for leakage of SRCREVINACTION magic value
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cache.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 989dfc4207..e91967c032 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -332,7 +332,7 @@ class Cache: bb.msg.debug(2, bb.msg.domain.Cache, "Not caching %s, marked as not cacheable" % fn) del cache_data[fn] elif 'PV' in self.depends_cache[fn] and 'SRCREVINACTION' in self.depends_cache[fn]['PV']: - bb.msg.error(bb.msg.domain.Cache, "Not caching %s as it had SRCREVINACTION in PV - need to trace this bug" % fn) + bb.msg.error(bb.msg.domain.Cache, "Not caching %s as it had SRCREVINACTION in PV. Please report this bug" % fn) del cache_data[fn] p = pickle.Pickler(file(self.cachefile, "wb" ), -1 ) @@ -349,6 +349,8 @@ class Cache: pn = self.getVar('PN', file_name, True) pe = self.getVar('PE', file_name, True) or "0" pv = self.getVar('PV', file_name, True) + if 'SRCREVINACTION' in pv: + bb.note("Found SRCREVINACTION in PV (%s) or %s. Please report this bug." % (pv, file_name)) pr = self.getVar('PR', file_name, True) dp = int(self.getVar('DEFAULT_PREFERENCE', file_name, True) or "0") depends = bb.utils.explode_deps(self.getVar("DEPENDS", file_name, True) or "") |