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 yan12125
Recipients Arfrever, barry, doko, freakboy3742, koobs, larry, ncoghlan, ned.deily, python-dev, rkuska, sYnfo, thomas-petazzoni, vstinner, wscullin, xdegaye, yan12125, zach.ware
Date 2016-08-30.08:05:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472544351.41.0.292099819666.issue23968@psf.upfronthosting.co.za>
In-reply-to
Content
Changeset 5c77488830bc brings a regression - Android build fails with the following message:

export H2PY; H2PY="$PYTHON_FOR_BUILD /home/yen/python3-android/src/cpython/build-target/../Tools/scripts/h2py.py"; \
cd ../Lib/plat-aarch64-linux-gnu;  ./regen
+ _PYTHON_PROJECT_BASE=/home/yen/python3-android/src/cpython/build-target _PYTHON_HOST_PLATFORM=linux-aarch64 PYTHONPATH=/home/yen/python3-android/src/cpython/build-target/build/lib.linux-aarch64-3.6:../Lib:../Lib/plat-aarch64-linux-gnu python3.6 /home/yen/python3-android/src/cpython/build-target/../Tools/scripts/h2py.py -i '(u_long)' /opt/android-ndk/platforms/android-21/arch-arm64/usr/include/sys/types.h /opt/android-ndk/platforms/android-21/arch-arm64/usr/include/netinet/in.h /opt/android-ndk/platforms/android-21/arch-arm64/usr/include/dlfcn.h
./regen: line 33: _PYTHON_PROJECT_BASE=/home/yen/python3-android/src/cpython/build-target: No such file or directory
make[1]: *** [Makefile:1324: ../Lib/plat-aarch64-linux-gnu] Error 127
make[1]: Leaving directory '/home/yen/python3-android/src/cpython/build-target'
make: *** [Makefile:36: python] Error 2

The previous changeset 1902e1d79e25 builds fine. Prepending `PYTHON_FOR_BUILD` in configure.ac with `env` makes the whole build work again.

From the message seems plat-* directories are re-generated with a different name. Is it expected?
History
Date User Action Args
2016-08-30 08:05:51yan12125setrecipients: + yan12125, barry, doko, ncoghlan, vstinner, larry, ned.deily, Arfrever, freakboy3742, xdegaye, python-dev, zach.ware, koobs, sYnfo, thomas-petazzoni, rkuska, wscullin
2016-08-30 08:05:51yan12125setmessageid: <1472544351.41.0.292099819666.issue23968@psf.upfronthosting.co.za>
2016-08-30 08:05:51yan12125linkissue23968 messages
2016-08-30 08:05:51yan12125create