Skip to contentSkip to conversation

bitbake -b busted

DISCUSSION Phil Blundell 3 participants 3 messages Jun 10, 2011

lore
Share & tools
lore
#0 lore raw

Since updating this morning, it seems that oe-core master now requires bitbake 1.13.1 to be installed. (I don't recall any discussion of that change or the reasons for it, but no doubt they are good ones.)

I couldn't find a 1.13.1 tag (or in fact any tags after 1.12.0) in the bitbake repository so I pulled the head of master. Judging from the contents of the log this is pretty close to 1.13.1 if not identical.

Unfortunately, this update seems to have broken "bitbake -b <file>" altogether. Any such command now seems to give me:

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 190, in buildFile
command.cooker.buildFile(bfile, task)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 774, in buildFile
fn = self.matchFile(fn)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 752, in matchFile
matches = self.matchFiles(buildfile)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 735, in matchFiles
filelist, masked = self.collect_bbfiles()
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 994, in collect_bbfiles
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 994, 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'

p.

#1 lore raw

Op 10 jun 2011, om 16:09 heeft Phil Blundell het volgende geschreven:

Quoted 21 lines

Since updating this morning, it seems that oe-core master now requires bitbake 1.13.1 to be installed. (I don't recall any discussion of that change or the reasons for it, but no doubt they are good ones.)

I couldn't find a 1.13.1 tag (or in fact any tags after 1.12.0) in the bitbake repository so I pulled the head of master. Judging from the contents of the log this is pretty close to 1.13.1 if not identical.

Unfortunately, this update seems to have broken "bitbake -b <file>" altogether. Any such command now seems to give me:

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 190, in buildFile
command.cooker.buildFile(bfile, task)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 774, in buildFile
fn = self.matchFile(fn)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 752, in matchFile
matches = self.matchFiles(buildfile)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 735, in matchFiles

Quoted 8 lines

filelist, masked = self.collect_bbfiles()
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 994, in collect_bbfiles
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 994, 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'

Known problem:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003721.html

#2 lore raw
Quoted 32 lines · Koen Kooi

Op 10 jun 2011, om 16:09 heeft Phil Blundell het volgende geschreven:

Quoted 21 lines

Since updating this morning, it seems that oe-core master now requires bitbake 1.13.1 to be installed. (I don't recall any discussion of that change or the reasons for it, but no doubt they are good ones.)

I couldn't find a 1.13.1 tag (or in fact any tags after 1.12.0) in the bitbake repository so I pulled the head of master. Judging from the contents of the log this is pretty close to 1.13.1 if not identical.

Unfortunately, this update seems to have broken "bitbake -b <file>" altogether. Any such command now seems to give me:

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 190, in buildFile
command.cooker.buildFile(bfile, task)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 774, in buildFile
fn = self.matchFile(fn)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 752, in matchFile
matches = self.matchFiles(buildfile)
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 735, in matchFiles

Quoted 8 lines

filelist, masked = self.collect_bbfiles()
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 994, in collect_bbfiles
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 994, 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'

Quoted 3 lines

Known problem:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003721.html

Which is now fixed in bitbake master.

Cheers,

Richard