[issue15822] installed python may fail incorrectly trying to rebuild lib2to3 grammar pickles

Ronald Oussoren report at bugs.python.org
Sat Sep 8 07:42:06 CEST 2012


Ronald Oussoren added the comment:

The other alternative to fix this is to revert the patch in issue 15645  and then remove the -E flag from PYTHON_FOR_BUILD.

PYTHON_FOR_BUILD was introduced by a, possibly incomplete, attempt to introduce support for cross compiling. In particular, the variable was introduced in issue 14330. Neither the patch, nor the tracker discussion explains why the -E is necessary. It might be because all uses of $(BUILDPYTHON) that were replaced by PYTHON_FOR_BUILD had the -E flag at the time.

BTW. There also doesn't seem to documentation for cross building.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15822>
_______________________________________


More information about the Python-bugs-list mailing list