Message 336698 - Python tracker

Message336698

Author rossburton
Recipients rossburton
Date 2019-02-26.17:01:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551200518.52.0.85801529343.issue36125@roundup.psfhosted.org>
In-reply-to
Content
From what I can tell:

configure.ac sets PYTHON_FOR_BUILD like this if cross-compiling:

PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$interp

Note how PYTHONPATH is set to the source and build paths for Lib/.

The intention appears to be that the sysconfig.py in the build is used.  In my case that directory is also full of shared libraries that Python happily loads, and then fails.
History
Date User Action Args
2019-02-26 17:01:58rossburtonsetrecipients: + rossburton
2019-02-26 17:01:58rossburtonsetmessageid: <1551200518.52.0.85801529343.issue36125@roundup.psfhosted.org>
2019-02-26 17:01:58rossburtonlinkissue36125 messages
2019-02-26 17:01:58rossburtoncreate