This is all on a server running Ubuntu 20.04.
I installed Python 3.8.18 from source into /usr/local. I then tried installing Plone 5.2.14 again, picking /usr/local/bin/python3.8 as the version of Python to use. It gets a lot farther, but still fails with the following:
chmod 754 /opt/plone5-j2/zeocluster/bin/*'
chmod: changing permissions of '/opt/plone5-j2/zeocluster/bin/python': Operation not permitted
chmod: changing permissions of '/opt/plone5-j2/zeocluster/bin/python3': Operation not permitted
chmod: changing permissions of '/opt/plone5-j2/zeocluster/bin/python3.8': Operation not permitted
Section setpermissions
contains unused option(s): 'update-command'.
This may be an indication for either a typo in the option's name or a bug in the used recipe.
Installing precompiler.
Compiling Python files.
File "/opt/plone5-j2/buildout-cache/eggs/cp38/Zope-4.8.10-py3.8.egg/App/tests/fixtures/error.py", line 2
a = # noqa
^
SyntaxError: invalid syntax
File "/opt/plone5-j2/buildout-cache/eggs/cp38/plone.staticresources-1.4.6-py3.8.egg/plone/staticresources/static/components/jqtree/_entries/insert.py", line 44
print 'rename %s to %s' % (old_filename, new_filename)
^
SyntaxError: invalid syntax
File "/opt/plone5-j2/buildout-cache/eggs/cp38/plone.staticresources-1.4.6-py3.8.egg/plone/staticresources/static/components/jqtree/_entries/renumber.py", line 36
print 'rename %s to %s' % (old_filename, new_filename)
^
SyntaxError: invalid syntax
File "/opt/plone5-j2/buildout-cache/eggs/cp38/zodbpickle-2.6-py3.8-linux-x86_64.egg/zodbpickle/pickletools_2.py", line 1803
print "skipping %r: it doesn't look like an opcode name" % name
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("skipping %r: it doesn't look like an opcode name" % name)?
File "/opt/plone5-j2/buildout-cache/eggs/cp38/zodbpickle-2.6-py3.8-linux-x86_64.egg/zodbpickle/pickle_2.py", line 882
except _Stop, stopinst:
^
SyntaxError: invalid syntax
File "/opt/plone5-j2/buildout-cache/eggs/cp38/zodbpickle-2.6-py3.8-linux-x86_64.egg/zodbpickle/tests/pickletester_2.py", line 433
x = [0, 1L, 2.0, 3.0+0j]
^
SyntaxError: invalid syntax
Compiling locale files.
/opt/plone5-j2/buildout-cache/eggs/cp38/plone.app.contenttypes-2.2.3-py3.8.egg/plone/app/contenttypes/migration/utils.py:504: SyntaxWarning: "is" with a literal. Did you mean "=="?
if source_type is 'DX':
/opt/plone5-j2/buildout-cache/eggs/cp38/plone.app.contenttypes-2.2.3-py3.8.egg/plone/app/contenttypes/migration/utils.py:507: SyntaxWarning: "is" with a literal. Did you mean "=="?
if target_type is 'AT' and not is_referenceable(source_obj):
Buildout failed. Unable to continue
Installation has failed.