[yocto] Error cross-building python 3.5.2

Matthew Clark linux.matthew at gmail.com
Fri Jun 1 12:36:16 PDT 2018


I'm trying to build yocto for two different ARM boards using a rocko and a
sumo distro, but am running into the same problem:


PYTHON_PROJECT_BASE=/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/build
\
_PYTHON_HOST_PLATFORM=linux-aarch64  PYTHONPATH=\
/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/recipe-sysroot-native/usr/lib/python3.5/lib-dynload/:
/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/build/build/lib.linux-aarch64-3.5:\
/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/Python-3.5.5/Lib:\
/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/Python-3.5.5/Lib/plat-linux
\
python -S -m sysconfig --generate-posix-vars

Traceback (most recent call last):
  File
"/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/Python-3.5.5/Lib/encodings/__init__.py",
line 31, in <module>
    import codecs
  File
"/home/mclark/Code/Yocto/ODroid/build/tmp/work/aarch64-poky-linux/python3/3.5.5-r1.0/Python-3.5.5/Lib/codecs.py",
line 95
    *, _is_text_encoding=None):
     ^
SyntaxError: invalid syntax

I've not been able to to identify a solid lead on why this is bailing, but
its blocking my builds.  Does anyone one know why it's crapping here?

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180601/ea74f1ce/attachment.html>


More information about the yocto mailing list