[OE-core] bitbake -b busted again?
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Aug 10 13:26:25 UTC 2011
On Wed, 2011-08-10 at 11:48 +0100, Phil Blundell wrote:
> On Wed, 2011-06-29 at 16:11 +0100, Phil Blundell wrote:
> > Also, it does seem that "bitbake -e -b ..." really is broken. I get:
> >
> > ERROR: Command execution failed: Traceback (most recent call last):
> > File "/home/pb/oe/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
> > commandmethod(self.cmds_async, self, options)
> > File "/home/pb/oe/bitbake/lib/bb/command.py", line 272, in showEnvironment
> > command.cooker.showEnvironment(bfile)
> > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 259, in showEnvironment
> > fn = self.matchFile(buildfile)
> > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 753, in matchFile
> > matches = self.matchFiles(buildfile)
> > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 736, in matchFiles
> > filelist, masked = self.collect_bbfiles()
> > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 997, in collect_bbfiles
> > files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
> > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 997, in <lambda>
> > files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
> > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 463, in calc_bbfile_priority
> > for _, _, regex, pri in self.status.bbfile_config_priorities:
> > AttributeError: 'NoneType' object has no attribute 'bbfile_config_priorities'
> >
> > Using an absolute path to the .bb file doesn't seem to help in this
> > case, and I also verified that it does build successfully without the
> > -e.
>
> FWIW, I just re-tested with bitbake master from today and this still
> seems to be broken.
I've posted a patch to fix this to the bitbake list.
Cheers,
Richard
More information about the Openembedded-core
mailing list