[oe-commits] [bitbake] 01/05: runqueue: Fix equiv hash handling build failures

git at git.openembedded.org git at git.openembedded.org
Wed Jan 1 11:17:04 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 40928f6991436cf687821015324483b205abfcb1
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Dec 27 20:44:34 2019 +0000

    runqueue: Fix equiv hash handling build failures
    
    Regardless of whether we remapped the hash on the server or not, we need
    to have bitbake work as if we did as we need to match how the stamp files
    look.
    
    This change resolves build failures where tasks were rerunning when they
    shouldn't.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/runqueue.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 729439e..f827998 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2302,8 +2302,9 @@ class RunQueueExecute:
                     remapped = True
                 elif tid in self.scenequeue_covered or tid in self.sq_live:
                     # Already ran this setscene task or it running. Report the new taskhash
-                    remapped = bb.parse.siggen.report_unihash_equiv(tid, newhash, origuni, newuni, self.rqdata.dataCaches)
+                    bb.parse.siggen.report_unihash_equiv(tid, newhash, origuni, newuni, self.rqdata.dataCaches)
                     logger.info("Already covered setscene for %s so ignoring rehash (remap)" % (tid))
+                    remapped = True
 
                 if not remapped:
                     #logger.debug(1, "Task %s hash changes: %s->%s %s->%s" % (tid, orighash, newhash, origuni, newuni))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list