Hi Christian,
Some of the answers to your questions may possibly be found in PR 1629:
bpo-30386: Add a build infrastructure for Android
https://github.com/python/cpython/pull/1629
Please note that the purpose of this PR was not to give clear instructions
on how to cross-compile android, but to add an android buildbot to the
Python buildbots, hence its relative complexity.

The README created by this PR provide some of the links that you are
looking for:
https://github.com/python/cpython/blob/0a51515a634872275aaeafb2e8a198289e6cf3d3/Android/README.rst

> we would like to have clear instructions how to
> reproduce the problem ourselves
It is difficult to miss the irony in this sentence because at the time of
this PR I was a Python core developer and the 'we' in your sentence would
have included me then. So at this time 'we' had all the knowledge to
fulfill your requests. The irony is that the reason why I resigned from
being a core developer was because of the handling of this PR.

Xavier de Gaye


On Thu, Jun 16, 2022 at 7:54 PM Christian Heimes <christ...@python.org>
wrote:

> On 16/06/2022 16.29, Xavier de Gaye wrote:
> > Victor Stinner wrote:
> >  > https://github.com/python/cpython/issues/66913
> > <https://github.com/python/cpython/issues/66913> doesn't explain how to
> > reproduce the issue, it only gives some info about what doesn't work.
> >  > I don't know how to reproduce the issue.
> >
> > Yes this issue does explain how to reproduce the problem. It even shows
> > the backtrace printed when attempting to cross-build Android x86_64 on a
> > linux x86_64.
> > To reproduce the issue, just cross-build python for android x86_64
> > following the well documented process by the Android team.
> > It is not clear how this backtrace can be missed when reading the issue !
> >
> > There is also a patch provided in this issue that is straightforward and
> > that does not involve any change on distutils, only the Makefile and
> > configure.
>
> What Victor means that we would like to have clear instructions how to
> reproduce the problem ourselves. Could you please provide step by step
> instructions how I could set up a build environment on a X86_64 PC with
> a standard Linux distro (Fedora, Debian/Ubuntu)?
>
> What packages have to be installed? Do I have to download any extra
> packages? How do I have to set up my build environment? Which commands
> do I have to execute? Is there a container image available that comes
> with everything pre-installed?
>
> You mentioned well-documented process by the Android team. Could you
> please provide links to the relevant documents?
>
> Christian
>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/EKJ2PFUFUCV3DOP55UAIRFYECX4NYLIU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to