[Openembedded-users] Need Help with BB Error

pierreyvesfadet pierreyvesfadet at free.fr
Tue Aug 4 20:19:24 UTC 2009


Hi,

I have bitbake error (COW.py:29:DeprecationWarning: the sets module is 
deprecated) when I build package for openmoko (SHR) project in OE 
environment.  I add python-native to the list of ASSUME_PROVIDED 
packages in build/conf/site.conf.
But I have the same error. Maybe I must clean (bitbake -c clean) and 
re-build some package as *python*?

Any suggestion?
Thanks.

below error log:

$ bitbake -b openembedded/recipes/dictator/dictator_0.2.bb
/var/lib/python-support/python2.6/bb/COW.py:29: DeprecationWarning: the 
sets module is deprecated
 import types, sets
Traceback (most recent call last):
 File "/usr/bin/bitbake", line 143, in <module>
   main()
 File "/usr/bin/bitbake", line 140, in main
   cooker.cook()
 File "/var/lib/python-support/python2.6/bb/cooker.py", line 611, in cook
   if not self.buildFile(self.configuration.buildfile):
 File "/var/lib/python-support/python2.6/bb/cooker.py", line 479, in 
buildFile
   self.bb_cache.loadData(fn, self.configuration.data)
 File "/var/lib/python-support/python2.6/bb/cache.py", line 170, in loadData
   bb_data, skipped = self.load_bbfile(fn, cfgData)
 File "/var/lib/python-support/python2.6/bb/cache.py", line 407, in 
load_bbfile
   bb_data = parse.handle(bbfile, bb_data) # read .bb data
 File "/var/lib/python-support/python2.6/bb/parse/__init__.py", line 75, 
in handle
   return h['handle'](fn, data, include)
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/BBHandler.py", line 
141, in handle
   feeder(lineno, s, fn, base_name, d)
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/BBHandler.py", line 
360, in feeder
   inherit(n, d)
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/BBHandler.py", line 
75, in inherit
   include(fn, file, d, "inherit")
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/ConfHandler.py", 
line 109, in include
   raise ParseError("Could not %(error_out)s file %(fn)s" % vars() )
bb.parse.ParseError: Could not inherit file classes/distutils.bbclass
pyf at pyf-laptop:/media/shr/shr/shr-unstable$ bitbake -b 
openembedded/recipes/dictator/dictator_0.2.bb
/var/lib/python-support/python2.6/bb/COW.py:29: DeprecationWarning: the 
sets module is deprecated
 import types, sets
Traceback (most recent call last):
 File "/usr/bin/bitbake", line 143, in <module>
   main()
 File "/usr/bin/bitbake", line 140, in main
   cooker.cook()
 File "/var/lib/python-support/python2.6/bb/cooker.py", line 611, in cook
   if not self.buildFile(self.configuration.buildfile):
 File "/var/lib/python-support/python2.6/bb/cooker.py", line 479, in 
buildFile
   self.bb_cache.loadData(fn, self.configuration.data)
 File "/var/lib/python-support/python2.6/bb/cache.py", line 170, in loadData
   bb_data, skipped = self.load_bbfile(fn, cfgData)
 File "/var/lib/python-support/python2.6/bb/cache.py", line 407, in 
load_bbfile
   bb_data = parse.handle(bbfile, bb_data) # read .bb data
 File "/var/lib/python-support/python2.6/bb/parse/__init__.py", line 75, 
in handle
   return h['handle'](fn, data, include)
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/BBHandler.py", line 
141, in handle
   feeder(lineno, s, fn, base_name, d)
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/BBHandler.py", line 
360, in feeder
   inherit(n, d)
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/BBHandler.py", line 
75, in inherit
   include(fn, file, d, "inherit")
 File 
"/var/lib/python-support/python2.6/bb/parse/parse_py/ConfHandler.py", 
line 109, in include
   raise ParseError("Could not %(error_out)s file %(fn)s" % vars() )
bb.parse.ParseError: Could not inherit file classes/distutils.bbclass





More information about the Openembedded-users mailing list