[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-07 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62802d373e9f by Xavier de Gaye in branch 'default': Issue #27434: Version of interpreter running a cross-build and source version must be the same. https://hg.python.org/cpython/rev/62802d373e9f -- nosy: +python-dev

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: I think the way the condition was written previously is more expressive, so the patch does not change that. The 'not' here expresses the fact that in the shell syntax, the condition is true when the test returns 0 [1], but we still want to express the fact

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-06 Thread STINNER Victor
STINNER Victor added the comment: restrict_interp_2.patch: LGTM. not ... == '...' can be written ... != '...', no? -- nosy: +haypo ___ Python tracker

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch that gets rid of the changes in configure made by my version of autoconf. This version is 2.69 though, i.e. the same as the generated configure file that is under control of mercurial in the default branch. -- assignee: -> xdegaye stage:

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-01 Thread Xavier de Gaye
Xavier de Gaye added the comment: With this patch, cross-building the 3.6 source with only python 3.5.1 on the PATH, produces the following configure error: checking for python interpreter for cross build... configure: error: python3.6 interpreter not found -- keywords: +patch

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-01 Thread Matthias Klose
Matthias Klose added the comment: yes, I think we have to limit the choice of the interpreter for the build to the same major version. -- ___ Python tracker

[issue27434] cross-building python 3.6 with an older interpreter fails

2016-07-01 Thread Xavier de Gaye
New submission from Xavier de Gaye: 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