[oe] unable to build any package using bitbake command

Jack Mitchell ml at communistcode.co.uk
Tue Jun 5 08:37:49 UTC 2012


On 05/06/2012 03:02, prasad wrote:
> 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
>
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Can you paste your local.conf please.




More information about the Openembedded-devel mailing list