Skip to contentSkip to conversation

KeyError in siggen.py

DISCUSSION Martin Jansa 2 participants 2 messages Feb 24, 2012

lore
Share & tools
lore
#0 lore raw

Any idea what could cause this?

OE qemux86-64@ ~/oe-core $ bitbake -c configure -b /OE/oe-core/openembedded-core/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb -f
WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
ERROR: Command execution failed: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/bb/command.py", line 87, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/usr/lib64/python2.7/site-packages/bb/command.py", line 203, in buildFile
command.cooker.buildFile(bfile, task)
File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 1076, in buildFile

    bb.build.del_stamp('do_%s' % task, self.status, fn)

File "/usr/lib64/python2.7/site-packages/bb/build.py", line 441, in del_stamp
stamp = stamp_internal(task, d, file_name)
File "/usr/lib64/python2.7/site-packages/bb/build.py", line 411, in stamp_internal
stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo)
File "/usr/lib64/python2.7/site-packages/bb/siggen.py", line 222, in stampfile
h = self.taskhash[k]
KeyError: '/OE/oe-core/openembedded-core/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb.do_configure'

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#1 lore raw
Quoted 10 lines · Martin Jansa

Any idea what could cause this?

OE qemux86-64@ ~/oe-core $ bitbake -c configure -b /OE/oe-core/openembedded-core/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb -f
WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
ERROR: Command execution failed: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/bb/command.py", line 87, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/usr/lib64/python2.7/site-packages/bb/command.py", line 203, in buildFile
command.cooker.buildFile(bfile, task)
File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 1076, in buildFile

Quoted 8 lines
    bb.build.del_stamp('do_%s' % task, self.status, fn)

File "/usr/lib64/python2.7/site-packages/bb/build.py", line 441, in del_stamp
stamp = stamp_internal(task, d, file_name)
File "/usr/lib64/python2.7/site-packages/bb/build.py", line 411, in stamp_internal
stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo)
File "/usr/lib64/python2.7/site-packages/bb/siggen.py", line 222, in stampfile
h = self.taskhash[k]
KeyError: '/OE/oe-core/openembedded-core/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb.do_configure'

The -f triggers a del_stamp so I'm looking at that with suspicion...

No fix but I suspect its where we need to look. I can reproduce with -b and -f combined.

Cheers,

Richard