Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] runqueue: Add message to explain the problem if diffsigs multiple tasks don't exist
@ 2015-05-29 13:07 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-05-29 13:07 UTC (permalink / raw)
  To: bitbake-devel

I've run into this and the lack of output when this happens 
is confusing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 8544f36..52bb12f 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1298,6 +1298,8 @@ class RunQueue:
                 prevh = __find_md5__.search(latestmatch).group(0)
                 output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb)
                 bb.plain("\nTask %s:%s couldn't be used from the cache because:\n  We need hash %s, closest matching task was %s\n  " % (pn, taskname, h, prevh) + '\n  '.join(output))
+            else:
+                bb.plain("Error, can't find multiple tasks at divergence point? Was there a previously run task?")
 
 class RunQueueExecute:
 




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-29 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29 13:07 [PATCH] runqueue: Add message to explain the problem if diffsigs multiple tasks don't exist Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox