Skip to contentSkip to conversation

unable to build any package using bitbake command

DISCUSSION prasad 2 participants 2 messages Jun 5, 2012

lore
Share & tools
lore

prasad

author
#0 lore raw

Hi,
i am trying to build bsp-5.0 for an picochip using openembedded if i use any bitbake commands like
#bitbake helloworld;bitbake nano;etc...
am getting the below error

ERROR: Error evaluating '${@oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE}', 'BASE_PACKAGE_ARCH')}'
Traceback (most recent call last):
File "/home/svprasad/oe/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/home/svprasad/oe/bitbake/lib/bb/data_smart.py", line 69, in python_sub
codeobj = compile(code.strip(), self.varname or "<expansion>", "eval")
File "MACHINE_ARCH", line 1

    oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE
                                                              ^

SyntaxError: EOL while scanning string literal

ERROR: Error parsing /home/svprasad/oe/openembedded/recipes/squeezeclient/squeezeslave_svn.bb: EOL while scanning string literal (MACHINE_ARCH, line 1)
ERROR: Command execution failed: Exited with 1

Even i Google,i got the issue but i did not get any proper solution. can you help me what might be the wrong.

Thanks
prasad

#1 lore raw
Quoted 34 lines · prasad

Hi,
i am trying to build bsp-5.0 for an picochip using openembedded if i use any bitbake commands like
#bitbake helloworld;bitbake nano;etc...
am getting the below error

ERROR: Error evaluating '${@oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE}', 'BASE_PACKAGE_ARCH')}'
Traceback (most recent call last):
File "/home/svprasad/oe/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/home/svprasad/oe/bitbake/lib/bb/data_smart.py", line 69, in python_sub
codeobj = compile(code.strip(), self.varname or "<expansion>", "eval")
File "MACHINE_ARCH", line 1

     oe.utils.ifelse(bool(d.getVar('MACHINE', True)), '${MACHINE
                                                               ^

SyntaxError: EOL while scanning string literal

ERROR: Error parsing /home/svprasad/oe/openembedded/recipes/squeezeclient/squeezeslave_svn.bb: EOL while scanning string literal (MACHINE_ARCH, line 1)
ERROR: Command execution failed: Exited with 1

Even i Google,i got the issue but i did not get any proper solution. can you help me what might be the wrong.

Thanks
prasad

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Can you paste your local.conf please.