[oe] Unable to build system
Kousik Maiti
kousiklinux at gmail.com
Mon Aug 16 07:44:39 UTC 2010
Hi List,
I am new to openembeded.
I read the usermanual of openembeded. I configured my system as given in the
manual. But when I run
$ bitbake -b /home/kousikm/work/oe/openembedded/recipes/linux/
linux_2.6.34.bb
It gives the error:-
/var/lib/python-support/python2.6/bb/COW.py:29: DeprecationWarning: the sets
module is deprecated
import types, sets
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${@oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE}',
'BASE_PACKAGE_ARCH')}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${MACHINE_ARCH}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${PACKAGE_ARCH}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${WORKDIR}/${BP}
NOTE: <type 'exceptions.SyntaxError'>:EOL while scanning string literal
(<string>, line 1) while evaluating:
${S}
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 160, in handle
build.exec_func("__anonfunc", d)
File "/var/lib/python-support/python2.6/bb/build.py", line 98, in
exec_func
adir = data.getVar('B', d, 1)
File "/var/lib/python-support/python2.6/bb/data.py", line 97, in getVar
return d.getVar(var,exp)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 61, in
var_sub
var = self.getVar(key, 1)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 61, in
var_sub
var = self.getVar(key, 1)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 61, in
var_sub
var = self.getVar(key, 1)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 61, in
var_sub
var = self.getVar(key, 1)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 61, in
var_sub
var = self.getVar(key, 1)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 61, in
var_sub
var = self.getVar(key, 1)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 85, in
expand
s = __expand_python_regexp__.sub(python_sub, s)
File "/var/lib/python-support/python2.6/bb/data_smart.py", line 71, in
python_sub
s = eval(code)
File "<string>", line 1
oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE
^
SyntaxError: EOL while scanning string literal
Can anybody help? I tried to resolve it by googleing. But failed.
Thanks in advanced.
With regards,
Kousik
More information about the Openembedded-devel
mailing list