Failing build on platform without python2 (or maybe without python3 being aliased to python).
Closed this issue · 3 comments
wmealing commented
Trying to build on an exotic platform, aarch64 linux.
* What went wrong:
Execution failed for task ':love:configureNdkBuildDebug[arm64-v8a]'.
> [CXX1405] error when building with ndkBuild using /home/wmealing/Projects/love-android/love/src/jni/Android.mk: C++ build system [configure] failed while executing:
/home/wmealing//Library/Android/sdk/ndk/23.2.8568313/ndk-build \
NDK_PROJECT_PATH=null \
APP_BUILD_SCRIPT=/home/wmealingProjects/love-android/love/src/jni/Android.mk \
NDK_APPLICATION_MK=/home/wmealing/Projects/love-android/love/src/jni/Application.mk \
APP_ABI=arm64-v8a \
NDK_ALL_ABIS=arm64-v8a \
NDK_DEBUG=1 \
APP_PLATFORM=android-16 \
NDK_OUT=/home/wmealing/Projects/love-android/love/build/intermediates/cxx/Debug/3l142x50/obj \
NDK_LIBS_OUT=/home/wmealing/Projects/love-android/love/build/intermediates/cxx/Debug/3l142x50/lib \
-j8 \
APP_SHORT_COMMANDS=false \
LOCAL_SHORT_COMMANDS=false \
-B \
-n
from /home/wmealing/Projects/love-android/love
fcntl(): Bad file descriptor
make: python: No such file or directory
make: python: No such file or directory
make: python: No such file or directory
I dont known if this expected, 'python2' as python, or if python3 is aliased. There seems to be a lot of requirements in the love subdir for python2.
I don't know if this is in the 'too hard' basket, or if its an an ndk issue, Figured I'd lodge the bug to let you know that I have faced the issue. Thanks.
MikuAuahDark commented
I don't think Linux aarch64 is supported platform for Android NDK to run on.
That being said, Android NDK bundles its own Python 3, so if that one fails then I don't have idea how to fix those.
wmealing commented
I'll keep at it, the ndk was built by me. Thanks.
MikuAuahDark commented
I decided to rework the checker script to plain Shell script. It should work in your platform now.