Backporting Python Versions

Ryan Hoffmann <[email protected]>
Newsgroups org.yoctoproject.lists.yocto
Message-ID <CAD1meC74hZji20CCg2TM8YJPT+6UJCYLPffkEdfKxVdYO7=7ag@mail.gmail.com>
I have recently upgraded from Kirkstone to Scarthgap and due to
compatibility issues(arm32) I need an older version of Python to use an
older python package.
I have my preferred version set to the right version and I copied the old
Python recipe from the Kirkstone branch of openembedded-core.
When trying to build I get this error:
| if test $? -ne 0 ; then \
|       echo "generate-posix-vars failed" ; \
|       rm -f ./pybuilddir.txt ; \
|       exit 1 ; \
| fi
| /bin/sh: 1: python: not found
| generate-posix-vars failed
| make: *** [Makefile:614: pybuilddir.txt] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.

Attached is the full log.
I can see here that it's attempting to use python2 instead of python3 in
that generated file, but I'm not sure how to get it to generate it with
python3 instead.
log.do_compile.1318941 (application/octet-stream, 421.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.