Changes by Benedikt Morbach benedikt.morb...@googlemail.com:
--
versions: +Python 3.5, Python 3.6 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22724
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 compiled
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 solution looks
Benedikt Morbach added the comment:
fixed with issue17219
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18976
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