[yocto] I can't make a minimal example for Bitbake version 1.42

Gera Pesikoff gera-pesikoff at rambler.ru
Fri May 10 23:13:23 PDT 2019


I made a simple bitbake example - hello world. An example is here:
https://github.com/GeraPesikoff/bitbake-hello-world
With the bitbake version 1.40, everything works fine, but with version 1.42, the
execution ends with an error:
ERROR: An uncaught exception occurred in
runqueue############################################ | ETA: 0:00:00
Traceback (most recent call last):
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1513, in
RunQueue.execute_runqueue():
try:
> return self._execute_runqueue()
except bb.runqueue.TaskFailure:
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1433, in
RunQueue._execute_runqueue():
[43, 967, 4, 3, 1, 5, 3, 7, 13, 1, 2, 1, 1, 246, 35, 1, 38, 1, 35, 2, 338, 204,
142, 3, 3, 37, 244])
> if self.rqdata.prepare() == 0:
self.state = runQueueComplete
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1169, in
RunQueueData.prepare():
todeal.remove(tid)
> self.prepare_task_hash(tid)
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1182, in
RunQueueData.prepare_task_hash(tid='/home/gera/research/bitbake/bbTutorial/build/../meta-tutorial/recipes-tutorial/first/first_0.1.bb:do_build'):
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(taskfn, taskname,
procdep, self.dataCaches[mc])
> self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(taskfn + "." +
taskname)
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/siggen.py", line 45, in
SignatureGenerator.get_unihash(task='/home/gera/research/bitbake/bbTutorial/build/../meta-tutorial/recipes-tutorial/first/first_0.1.bb.do_build'):
def get_unihash(self, task):
> return self.taskhash[task]
KeyError:
'/home/gera/research/bitbake/bbTutorial/build/../meta-tutorial/recipes-tutorial/first/first_0.1.bb.do_build'
ERROR: Running idle function
Traceback (most recent call last):
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1513, in
RunQueue.execute_runqueue():
try:
> return self._execute_runqueue()
except bb.runqueue.TaskFailure:
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1433, in
RunQueue._execute_runqueue():
[43, 967, 4, 3, 1, 5, 3, 7, 13, 1, 2, 1, 1, 246, 35, 1, 38, 1, 35, 2, 338, 204,
142, 3, 3, 37, 244])
> if self.rqdata.prepare() == 0:
self.state = runQueueComplete
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1169, in
RunQueueData.prepare():
todeal.remove(tid)
> self.prepare_task_hash(tid)
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/runqueue.py", line 1182, in
RunQueueData.prepare_task_hash(tid='/home/gera/research/bitbake/bbTutorial/build/../meta-tutorial/recipes-tutorial/first/first_0.1.bb:do_build'):
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(taskfn, taskname,
procdep, self.dataCaches[mc])
> self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(taskfn + "." +
taskname)
File "/home/gera/research/bitbake/bitbake-1.42/lib/bb/siggen.py", line 45, in
SignatureGenerator.get_unihash(task='/home/gera/research/bitbake/bbTutorial/build/../meta-tutorial/recipes-tutorial/first/first_0.1.bb.do_build'):
def get_unihash(self, task):
> return self.taskhash[task]
KeyError:
'/home/gera/research/bitbake/bbTutorial/build/../meta-tutorial/recipes-tutorial/first/first_0.1.bb.do_build'
Summary: There were 13 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
--------
Tell me please, what's the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190511/ad656014/attachment.html>


More information about the yocto mailing list