This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, doko, xdegaye
Date 2016-07-01.13:00:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Cross-building the 3.6 source with PYTHON_FOR_BUILD using archlinux python 3.5.1 as found in PATH, fails with:

_PYTHON_PROJECT_BASE=/home/xavier/src/android/pyona/build/python3.6-android-21-x86 _PYTHON_HOST_PLATFORM=linux-x86 PYTHONPATH=/home/xavier/src/packages/android/cpython/Lib:/home/xavier/src/packages/android/cpython/Lib/plat-i386-linux-gnu python3 -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
Could not import runpy module
Traceback (most recent call last):
  File "/home/xavier/src/packages/android/cpython/Lib/", line 15, in <module>
    import importlib.util
  File "/home/xavier/src/packages/android/cpython/Lib/importlib/", line 25
    raise ValueError(f'no package specified for {repr(name)} '
SyntaxError: invalid syntax
generate-posix-vars failed

The reason is that the syntax of formatted string literals is unknown to python 3.5.
Date User Action Args
2016-07-01 13:00:22xdegayesetrecipients: + xdegaye, doko, Alex.Willmer
2016-07-01 13:00:22xdegayesetmessageid: <>
2016-07-01 13:00:21xdegayelinkissue27434 messages
2016-07-01 13:00:21xdegayecreate