[OE-core] bitbake -b busted again?

Phil Blundell pb at pbcl.net
Wed Jun 29 15:11:03 UTC 2011


On Wed, 2011-06-29 at 16:07 +0100, Phil Blundell wrote:
> It seems that the main problem I was having was that (coincidentally in
> light of the earlier gst discussion) the recipe I was trying to build
> was unluckily named and being skipped because base.bbclass thought I
> wasn't licensed to use it.

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.

p.






More information about the Openembedded-core mailing list