Skip to contentSkip to conversation

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

DISCUSSION Gera Pesikoff 1 participant 1 message May 11, 2019

lore
Share & tools
lore
#0 lore raw

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:

Quoted 1 line

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])

Quoted 1 line

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)

Quoted 1 line

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])

Quoted 1 line

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):

Quoted 1 line

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:

Quoted 1 line

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])

Quoted 1 line

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)

Quoted 1 line

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])

Quoted 1 line

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):

Quoted 1 line

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?