bitbake -b workaround
Hello,
I updated my build environment today. Now bitbake -b fails with the following errors. Is there any workaround I can use to continue working on my project before a patch is issued?
ERROR: Command execution failed: Traceback (most recent call last):
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py", line 190, in buildFile
command.cooker.buildFile(bfile, task)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 627, in buildFile
buildfile = self.matchFile(fn)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 604, in matchFile
matches = self.matchFiles(buildfile)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 586, in matchFiles
filelist, masked = self.collect_bbfiles()
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 853, in collect_bbfiles
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 853, in <lambda>
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 397, in calc_bbfile_priority
for _, _, regex, pri in self.status.bbfile_config_priorities:
AttributeError: 'NoneType' object has no attribute 'bbfile_config_priorities'
Quoted 5 lines · Jim Qode
Hello,
I updated my build environment today. Now bitbake -b fails with the following errors. Is there any workaround I can use to continue working on my project before a patch is issued?
Have you by any chance updated python ?
Quoted 1 line · Ilya Dmitrichenko
Have you by any chance updated python ?
I may have updated, though I'm not sure. Current version is Python 2.7.1+
Hi Jim,
Quoted 3 lines · On Thursday 08 September 2011 18:50:06 Jim Qode wrote:
I updated my build environment today. Now bitbake -b fails with the following errors. Is there any workaround I can use to continue working on my project before a patch is issued?
Which version of bitbake are you using?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 33 lines · Jim Qode
Hello,
I updated my build environment today. Now bitbake -b fails with the following errors. Is there any workaround I can use to continue working on my project before a patch is issued?
ERROR: Command execution failed: Traceback (most recent call last):
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/command.py", line 190, in buildFile
command.cooker.buildFile(bfile, task)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 627, in buildFile
buildfile =self.matchFile(fn)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 604, in matchFile
matches =self.matchFiles(buildfile)
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 586, in matchFiles
filelist, masked =self.collect_bbfiles()
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 853, incollect_bbfiles
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py",
Quoted 8 lines
line 853, in <lambda>
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File
"/home/jimqode/Werk/oe/setup-scripts/sources/bitbake/lib/bb/cooker.py", line 397, incalc_bbfile_priority
for _, _, regex, pri in self.status.bbfile_config_priorities:
AttributeError: 'NoneType' object has no attribute 'bbfile_config_priorities'
If you're using last release 1.13.3 then you need IIRC this patch
http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=e7ade6dcd646b478df79f968934a0edcb63254f7
or just use bitbake/master
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]