[oe] Bitbake syntax error

Martin Panter vadmium+floss at gmail.com
Wed Aug 3 08:17:08 UTC 2011


On 02/08/2011, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> On Tuesday 02 August 2011 02:43:05 Bernard Mentink wrote:
>> I am getting the following error while trying to build the
>> bootstrap-image, my bitbake is version 1.12.0.
>>
>>...
>> "/home/bmentink/devel/build/tmp/sysroots/i686-linux/usr/bin/opkg-make-in
>> dex", line 128
>>
>> |     print pkg_dir + "/" + old_filename
>> |
>> |                 ^
>> |
>> | SyntaxError: invalid syntax
>
> Someone posted this problem on IRC and eventually discovered that it was
> that
> /usr/bin/python was pointing to python3 (which isn't supported by BitBake).
> Is
> that what's happening on your system?

I install Bit bake with “python2 setup.py install” and this has worked for me
on my computer where the default python is python3.

Perhaps the opkg-make-index script is picking up the host’s python
program when it should be getting one out of OE’s sysroot directory or
something?




More information about the Openembedded-devel mailing list