This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pmpp
Recipients pmpp, vstinner
Date 2019-10-07.13:27:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570454844.33.0.763324170679.issue38393@roundup.psfhosted.org>
In-reply-to
Content
when trying to build rc1 from a b4 venv to prepare a python host for cross compilation on ubuntu xenial flavour x64

i got :


cd /tmp
python3.7 -m venv testenv
cd testenv/
. bin/activate
(testenv) /tmp/testenv $ tar xf /tmp/Python-3.8.0rc1.tar.xz && cd Python-3.8.0rc1

CC=clang ./configure --prefix=/tmp/python3.host --with-system-ffi --disable-ipv6 --without-ensurepip --with-c-locale-coercion --disable-shared && make

./python -E ./setup.py  build
step will fail for the reason i suspect is srcdir is taken from system python3.8 if installed ( /usr/local in that case )

$ ./python -E 
Python 3.8.0rc1 (default, Oct  7 2019, 15:16:07) 
[Clang 6.0.0 (tags/RELEASE_600/final)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> sysconfig.get_config_var('srcdir')
'/usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu'
>>>
History
Date User Action Args
2019-10-07 13:27:24pmppsetrecipients: + pmpp, vstinner
2019-10-07 13:27:24pmppsetmessageid: <1570454844.33.0.763324170679.issue38393@roundup.psfhosted.org>
2019-10-07 13:27:24pmpplinkissue38393 messages
2019-10-07 13:27:24pmppcreate