[New-bugs-announce] [issue22724] byte-compile fails for cross-builds

Benedikt Morbach report at bugs.python.org
Sat Oct 25 01:52:39 CEST 2014


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 for a different architecture.

However, this directory also contains _sysconfigdata.py, which is needed at all times.

A possible fix would be to separate those two.

----------
components: Cross-Build
messages: 229969
nosy: Benedikt.Morbach
priority: normal
severity: normal
status: open
title: byte-compile fails for cross-builds
type: compile error
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list