[OE-core] Tell me your build error message annoyances!

Koen Kooi koen at dominion.thruhere.net
Fri Jun 3 14:57:15 UTC 2011


Op 1 jun 2011, om 00:26 heeft Scott Garman het volgende geschreven:

> Hey folks,
> 
> I'd like to collect some feedback on error messages while building that you find confusing/annoying/unhelpful. I'm going to be working on trying to improve the situation and would like to hear from you about what could be more helpful.
> 
> I'm starting to track some of these situations with the following bugs:
> 
> http://bugzilla.pokylinux.org/show_bug.cgi?id=542
> 
> http://bugzilla.pokylinux.org/show_bug.cgi?id=1127
> 
> http://bugzilla.pokylinux.org/show_bug.cgi?id=1128
> 
> I can't promise to fix everything you come up with, but I'd like to try to make a dent in some of these issues and improve the usability of our build system.

This one popped up recently, -b doesn't work anymore:

koen at dominion:/OE/tentacle/sources/meta-texasinstruments/recipes-kernel/linux$ ls | grep omap4
linux-omap4/
linux-omap4_2.6.35.3.bb
linux-omap4-2.6.35.7/
linux-omap4_2.6.35.7.bb
koen at dominion:/OE/tentacle/sources/meta-texasinstruments/recipes-kernel/linux$ MACHINE=omap4430-panda bitbake -b $PWD/linux-omap4_2.6.35.7.bb
ERROR: Command execution failed: Traceback (most recent call last):
  File "/OE/tentacle/sources/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/OE/tentacle/sources/bitbake/lib/bb/command.py", line 190, in buildFile
    command.cooker.buildFile(bfile, task)
  File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 722, in buildFile
    fn = self.matchFile(fn)
  File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 700, in matchFile
    matches = self.matchFiles(buildfile)
  File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 683, in matchFiles
    filelist, masked = self.collect_bbfiles()
  File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 948, in collect_bbfiles
    files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
  File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 948, in <lambda>
    files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
  File "/OE/tentacle/sources/bitbake/lib/bb/cooker.py", line 411, in calc_bbfile_priority
    for _, _, regex, pri in self.status.bbfile_config_priorities:
AttributeError: 'NoneType' object has no attribute 'bbfile_config_priorities'



'bitbake linux-omap4-2.6.35.7' does work, though



More information about the Openembedded-core mailing list