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.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to