New submission from Benedikt Morbach:
At
http://hg.python.org/cpython/file/1043cc2cb0ff/Lib/distutils/command/build_ext.py#l247
build_ext.py compares sys.executable against sys.exec_prefix.
When cross compiling cpython, it notices that the interpreter running the build
is located at
Benedikt Morbach added the comment:
fixed with issue17219
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by Benedikt Morbach :
--
versions: +Python 3.5, Python 3.6 -Python 3.2
___
Python tracker
<http://bugs.python.org/issue22724>
___
___
Python-bugs-list m
New submission from Benedikt Morbach:
For cross-builds the byte-compiling and 2to3 Grammar generation fail.
This is because PYTHONPATH/sys.path includes 'build/lib.$PLATFORM', in which
the compiled .so modules reside.
The host python obviously barfs on those, as they are comp
Benedikt Morbach added the comment:
alternatively, introduce a $(PYTHON_FOR_INSTALL), which doesn't set PYTHONPATH.
Then run those steps using that, with the Makefile setting
PYTHONPATH=$(DESTDIR)$(LIBDEST), which doesn't contain the compiled modules at
that point.
The first solu