Backtrace in bitbake with OE archiver
A message that is not in the archive (sent off-list or not yet received): [email protected]
One more note.. Adding the following and then it works fine:
INITRAMFS_IMAGE = "core-image-minimal"
I suspect it works simply because the task processing order has changed in some way..
Quoted 60 lines · Mark Hatle
Cross posting cause I'm not sure where the bug is, I suspect bitbake -- but it could be in OE's archiver class. I have been able to reproduce this in both Zeus and master.
When I start a new project, and add the following to the local.conf:
INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"COPYLEFT_LICENSE_INCLUDE= ""COPYLEFT_LICENSE_EXCLUDE= ""Then I run it with:
bitbake core-image-minimal --runall=deploy_archives
and I get a backtrace in bitbake:
ERROR: Running idle function
Traceback (most recent call last):
File "/scratch1/fray/poky/bitbake/lib/bb/runqueue.py", line 1527, inRunQueue.execute_runqueue():
try:
> returnself._execute_runqueue()
except bb.runqueue.TaskFailure:
File "/scratch1/fray/poky/bitbake/lib/bb/runqueue.py", line 1444, inRunQueue._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 "/scratch1/fray/poky/bitbake/lib/bb/runqueue.py", line 935, inRunQueueData.prepare():
for tid inlist(runall_tids):
>mark_active(tid,1)
if self.cooker.configuration.force:
File "/scratch1/fray/poky/bitbake/lib/bb/runqueue.py", line 850, in
mark_active(tid='/scratch1/fray/poky/meta/recipes-core/images/core-image-minimal.bb:do_deploy_archives', depth=1):
for depend in depends:
>mark_active(depend, depth+1)File "/scratch1/fray/poky/bitbake/lib/bb/runqueue.py", line 848, in
mark_active(tid='/scratch1/fray/poky/meta/recipes-core/images/core-image-minimal.bb:do_ar_original', depth=2):Quoted 1 line
depends = self.runtaskentries[tid].depends
for depend in depends:
KeyError:
'/scratch1/fray/poky/meta/recipes-core/images/core-image-minimal.bb:do_ar_original'As you see above the system in the
mark_activefunction ofrunqueue.pyis trying to reference the key of the task core-image-minimal:do_ar_original, and it can't find it and crashes out.