]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqueue: validate_hashes(): currentcount should be a number rbt/runqueue
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 18 Sep 2019 08:27:21 +0000 (16:27 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 18 Sep 2019 08:37:26 +0000 (16:37 +0800)
commit4e0c92990453e4bc7cae058ca7e6cfde28d0d5d9
tree845dc559c6e2c78e4f3c060792691fc688ff9c40
parentf025010ee02130bd7f6bd6073a9a0b111aaa9936
runqueue: validate_hashes(): currentcount should be a number

According to sstate_checkhashes which is defined in sstate.bbclass, the
currentcoun should be a number (0, not None).

Fixed:
$ bitbake base-files -Sprintdiff
    >    bb.plain("Sstate summary: Wanted %d Found %d Missed %d Current %d (%d%% match, %d%% complete)" % (total, len(found), len(missed), currentcount, match, complete))

TypeError: %d format: a number is required, not NoneType

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
bitbake/lib/bb/runqueue.py