[OE-core] bitbake -b busted again?
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Aug 11 12:03:59 UTC 2011
On Thu, 2011-08-11 at 08:44 +0200, Martin Jansa wrote:
> On Wed, Aug 10, 2011 at 11:48:33AM +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.
>
> RP's patch makes -e working again, but local files are still not found
> when used with -b. Something like ignoring FILESDIR/FILESPATH..
Can you provide some further details please as I don't understand
exactly what you mean...
Cheers,
Richard
More information about the Openembedded-core
mailing list