[oe] bitbake -b workaround

Martin Jansa martin.jansa at gmail.com
Fri Sep 9 14:54:41 UTC 2011


On Thu, Sep 08, 2011 at 08:50:06PM +0300, Jim Qode wrote:
> 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'

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,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110909/73636792/attachment-0002.sig>


More information about the Openembedded-devel mailing list