[OE-core] bitbake -b busted again?

Martin Jansa martin.jansa at gmail.com
Thu Aug 11 06:44:38 UTC 2011


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..

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-core/attachments/20110811/d43ab2c0/attachment-0002.sig>


More information about the Openembedded-core mailing list