Closed juanchrisniady closed 5 years ago
Can you try with p4a.branch = master
because by default you're on stable
which doesn't include all the fix that were pushed recently.
BTW I formatted the logs with triple back quotes to make it more readable.
I change the branch into master, and this happen:
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.18.10 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /usr/local/bin/cython
# Search for Java compiler (javac)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Run 'pip install -q --user "appdirs" "colorama>=0.3.3" "sh>=1.10,<1.12.5" "jinja2" "six"'
# Cwd None
# Apache ANT found at /home/kivy/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/kivy/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/kivy/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Desktop/project/.buildozer/android/platform/build'
# Cwd /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain
[1m[INFO][0m: Will compile for the following archs: armeabi-v7a
[1m[INFO][0m: Found Android API target in $ANDROIDAPI
[1m[INFO][0m: Available Android APIs are (19)
[1m[INFO][0m: Requested API target 19 is available, continuing.
[1m[INFO][0m: Found NDK dir in $ANDROIDNDK
[1m[INFO][0m: Got NDK version from $ANDROIDNDKVER
[1m[INFO][0m: Using Google NDK r9c
[1m[INFO][0m: Found virtualenv at /usr/local/bin/virtualenv
[1m[INFO][0m: ccache is missing, the build will not be optimized in the future.
[1m[INFO][0m: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[1m[INFO][0m: Picking the latest gcc toolchain, here 4.8
[1m[31m[WARNING][39m[0m: Missing executable: autoconf is not installed
[1m[31m[WARNING][39m[0m: Missing executable: automake is not installed
[1m[31m[WARNING][39m[0m: Missing executable: libtoolize is not installed
[1m[INFO][0m: No existing dists meet the given requirements!
[1m[INFO][0m: [1m[94mNo dist exists that meets your requirements, so one will be built.[0m
[1m[INFO][0m: Found multiple valid dependency orders:
[1m[INFO][0m: ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', u'opencv', 'pyjnius', u'kivy']
[1m[INFO][0m: ['hostpython2', 'pygame_bootstrap_components', 'python2', 'numpy', 'sdl', 'six', u'opencv', 'pygame', 'pyjnius', u'kivy']
[1m[INFO][0m: Using the first of these: ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', u'opencv', 'pyjnius', u'kivy']
[1m[INFO][0m: The selected bootstrap is sdl2_gradle
[1m[INFO][0m: [1m[32m# Creating dist with sdl2_gradle bootstrap[0m[39m
[1m[INFO][0m: [1m[94mDist will have name myapp and recipes (kivy, opencv)[0m
[1m[INFO][0m: Dist will also contain modules () installed from pip
[1m[INFO][0m: [90m->[0m running cp -r /home/kivy/Desktop/proje...(and 206 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2[39m
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[94mRecipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', u'opencv', 'pyjnius', u'kivy'][0m
[1m[INFO][0m: [1m[32m# Downloading recipes [0m[39m
[1m[INFO][0m: [1m[32mDownloading hostpython2[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 60 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/hostpython2[39m
[1m[INFO][0m: [90m->[0m running basename https://python.org/ftp...(and 34 more)[0m
[1m[INFO][0m: hostpython2 download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading sdl2_image[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 59 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/sdl2_image[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.or...(and 52 more)[0m
[1m[INFO][0m: sdl2_image download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading sdl2_mixer[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 59 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/sdl2_mixer[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.or...(and 52 more)[0m
[1m[INFO][0m: sdl2_mixer download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading sdl2_ttf[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 57 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/sdl2_ttf[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.org...(and 48 more)[0m
[1m[INFO][0m: sdl2_ttf download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading python2[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 56 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/python2[39m
[1m[INFO][0m: [90m->[0m running basename https://python.org/ftp...(and 34 more)[0m
[1m[INFO][0m: python2 download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading numpy[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 54 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/numpy[39m
[1m[INFO][0m: [90m->[0m running basename https://pypi.python.or...(and 44 more)[0m
[1m[INFO][0m: numpy download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading sdl2[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 53 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/sdl2[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.org...(and 26 more)[0m
[1m[INFO][0m: sdl2 download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading six[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 52 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/six[39m
[1m[INFO][0m: [90m->[0m running basename https://pypi.python.or...(and 40 more)[0m
[1m[INFO][0m: six download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading opencv[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 55 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/opencv[39m
[1m[INFO][0m: [90m->[0m running basename https://github.com/Its...(and 31 more)[0m
[1m[INFO][0m: opencv download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading pyjnius[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 56 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/pyjnius[39m
[1m[INFO][0m: [90m->[0m running basename https://github.com/kiv...(and 28 more)[0m
[1m[INFO][0m: pyjnius download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mDownloading kivy[0m[39m
[1m[INFO][0m: [90m->[0m running mkdir -p /home/kivy/Desktop/pr...(and 53 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/packages/kivy[39m
[1m[INFO][0m: [90m->[0m running basename https://github.com/kiv...(and 25 more)[0m
[1m[INFO][0m: kivy download already cached, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32m# Building all recipes for arch armeabi-v7a[0m[39m
[1m[INFO][0m: [1m[32m# Unpacking recipes[0m[39m
[1m[INFO][0m: [1m[32mUnpacking hostpython2 for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://python.org/ftp...(and 34 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop[39m
[1m[INFO][0m: hostpython2 is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking sdl2_image for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.or...(and 52 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni[39m
[1m[INFO][0m: sdl2_image is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking sdl2_mixer for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.or...(and 52 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni[39m
[1m[INFO][0m: sdl2_mixer is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking sdl2_ttf for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.org...(and 48 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni[39m
[1m[INFO][0m: sdl2_ttf is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking python2 for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://python.org/ftp...(and 34 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a[39m
[1m[INFO][0m: python2 is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking numpy for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://pypi.python.or...(and 44 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a[39m
[1m[INFO][0m: numpy is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking sdl2 for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://www.libsdl.org...(and 26 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni[39m
[1m[INFO][0m: sdl2 is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking six for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://pypi.python.or...(and 40 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a[39m
[1m[INFO][0m: six is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking opencv for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://github.com/Its...(and 31 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a[39m
[1m[INFO][0m: opencv is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking pyjnius for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://github.com/kiv...(and 28 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a[39m
[1m[INFO][0m: pyjnius is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mUnpacking kivy for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running basename https://github.com/kiv...(and 25 more)[0m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a[39m
[1m[INFO][0m: kivy is already unpacked, skipping
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32m# Prebuilding recipes[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding hostpython2 for armeabi-v7a[0m[39m
[1m[INFO][0m: [90m->[0m running cp /home/kivy/Desktop/project/...(and 229 more)[0m
[1m[INFO][0m: [1m[32mPrebuilding sdl2_image for armeabi-v7a[0m[39m
[1m[INFO][0m: sdl2_image has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mApplying patches for sdl2_image[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32msdl2_image already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding sdl2_mixer for armeabi-v7a[0m[39m
[1m[INFO][0m: sdl2_mixer has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mApplying patches for sdl2_mixer[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32msdl2_mixer already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding sdl2_ttf for armeabi-v7a[0m[39m
[1m[INFO][0m: sdl2_ttf has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mPrebuilding python2 for armeabi-v7a[0m[39m
[1m[INFO][0m: python2 has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mApplying patches for python2[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32mpython2 already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding numpy for armeabi-v7a[0m[39m
[1m[INFO][0m: numpy has no prebuild_armeabi_v7a, skipping
[1m[31m[WARNING][39m[0m: Numpy is built assuming the archiver name is arm-linux-androideabi-ar, which may not always be true!
[1m[INFO][0m: [1m[32mApplying patches for numpy[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32mnumpy already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding sdl2 for armeabi-v7a[0m[39m
[1m[INFO][0m: sdl2 has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mApplying patches for sdl2[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32msdl2 already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding six for armeabi-v7a[0m[39m
[1m[INFO][0m: six has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mPrebuilding opencv for armeabi-v7a[0m[39m
[1m[INFO][0m: [1m[32mApplying patches for opencv[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32mopencv already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mApplying patches for opencv[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32mopencv already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding pyjnius for armeabi-v7a[0m[39m
[1m[INFO][0m: pyjnius has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32mApplying patches for pyjnius[armeabi-v7a][0m[39m
[1m[INFO][0m: [1m[32mpyjnius already patched, skipping[0m[39m
[1m[INFO][0m: [1m[32mPrebuilding kivy for armeabi-v7a[0m[39m
[1m[INFO][0m: kivy has no prebuild_armeabi_v7a, skipping
[1m[INFO][0m: [1m[32m# Building recipes[0m[39m
[1m[INFO][0m: [1m[32mBuilding hostpython2 for armeabi-v7a[0m[39m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2[39m
[1m[INFO][0m: hostpython already exists, skipping build
[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mBuilding sdl2_image for armeabi-v7a[0m[39m
[1m[INFO][0m: [1m[32mBuilding sdl2_mixer for armeabi-v7a[0m[39m
[1m[INFO][0m: [1m[32mBuilding sdl2_ttf for armeabi-v7a[0m[39m
[1m[INFO][0m: [1m[32mBuilding python2 for armeabi-v7a[0m[39m
[1m[INFO][0m: Copying hostpython binary to targetpython folder
[1m[INFO][0m: [90m->[0m running cp /home/kivy/Desktop/project/...(and 200 more)[0m
[1m[INFO][0m: [1m[32mBuilding numpy for armeabi-v7a[0m[39m
[1m[INFO][0m: Python package already exists in site-packages
[1m[INFO][0m: numpy said it is already built, skipping
[1m[INFO][0m: [1m[32mBuilding sdl2 for armeabi-v7a[0m[39m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni[39m
[1m[INFO][0m: [90m->[0m running ndk-build V=1[0m
[0m
working: Python-2.7.2.tar.bz2 [0m
[0m
working: SDL2_image-2.0.1.tar.gz [0m
[0m
working: SDL2_mixer-2.0.1.tar.gz [0m
[0m
working: SDL2_ttf-2.0.14.tar.gz [0m
[0m
working: Python-2.7.2.tar.bz2 [0m
[0m
working: numpy-1.9.2.tar.gz [0m
[0m
working: SDL2-2.0.4.tar.gz [0m
[0m
working: six-1.9.0.tar.gz [0m
[0m
working: 2.4.10.1.zip [0m
[0m
working: master.zip [0m
[0m
working: 1.10.0.zip [0m
[0m
working: Python-2.7.2.tar.bz2 [0m
[0m
working: SDL2_image-2.0.1.tar.gz [0m
[0m
working: SDL2_mixer-2.0.1.tar.gz [0m
[0m
working: SDL2_ttf-2.0.14.tar.gz [0m
[0m
working: Python-2.7.2.tar.bz2 [0m
[0m
working: numpy-1.9.2.tar.gz [0m
[0m
working: SDL2-2.0.4.tar.gz [0m
[0m
working: six-1.9.0.tar.gz [0m
[0m
working: 2.4.10.1.zip [0m
[0m
working: master.zip [0m
[0m
working: 1.10.0.zip [0m
[0m
working: Android NDK: WARNING:/home/kivy/Desktop/p...(and 158 more) [0m
working: Android NDK: This is likely to result ...(and 53 more) [0m
working: Android NDK: or LOCAL_SHARED_LIBRARIES...(and 48 more) [0m
working: Android NDK: current module [0m
working: rm -f /home/kivy/[1m[INFO][0m: [36m<- directory context /home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain[39m
[1m[INFO][0m: [1m[32mBuilding six for armeabi-v7a[0m[39m
[1m[INFO][0m: Python package already exists in site-packages
[1m[INFO][0m: six said it is already built, skipping
[1m[INFO][0m: [1m[32mBuilding opencv for armeabi-v7a[0m[39m
[1m[INFO][0m: [36m-> directory context /home/kivy/Desktop/project/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a/opencv[39m
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 978, in <module>
main()
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 975, in main
ToolchainCL()
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 512, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 149, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 573, in build_recipes
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/opencv/__init__.py", line 38, in build_arch
shprint(sh.cmake,
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 3054, in __getattr__
return self.__env[name]
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2931, in __getitem__
raise CommandNotFound(k)
sh.CommandNotFound: cmake
Desktop/project/.buildoz...(and 461 more) [0m
working: rm -f /home/kivy/Desktop/project/.buildoz...(and 469 more) [0m
working: rm -f /home/kivy/Desktop/project/.buildoz...(and 469 more) [0m
working: [armeabi-v7a] Install : libSDL2.so ...(and 30 more) [0m
working: install -p /home/kivy/Desktop/project/.bu...(and 238 more) [0m
working: /home/kivy/.buildozer/android/platform/an...(and 254 more) [0m
working: [armeabi-v7a] Install : libSDL2_ima...(and 42 more) [0m
working: install -p /home/kivy/Desktop/project/.bu...(and 250 more) [0m
working: /home/kivy/.buildozer/android/platform/an...(and 260 more) [0m
working: [armeabi-v7a] Install : libSDL2_mix...(and 42 more) [0m
working: install -p /home/kivy/Desktop/project/.bu...(and 250 more) [0m
working: /home/kivy/.buildozer/android/platform/an...(and 260 more) [0m
working: [armeabi-v7a] Install : libSDL2_ttf...(and 38 more) [0m
working: install -p /home/kivy/Desktop/project/.bu...(and 246 more) [0m
working: /home/kivy/.buildozer/android/platform/an...(and 258 more) [0m
working: [armeabi-v7a] Install : libmain.so ...(and 30 more) [0m
working: install -p /home/kivy/Desktop/project/.bu...(and 238 more) [0m
working: /home/kivy/.buildozer/android/platform/an...(and 254 more) [0m
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 978, in <module>
main()
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 975, in main
ToolchainCL()
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 512, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 149, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 573, in build_recipes
File "/home/kivy/Desktop/project/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipes/opencv/__init__.py", line 38, in build_arch
shprint(sh.cmake,
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 3054, in __getattr__
return self.__env[name]
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2931, in __getitem__
raise CommandNotFound(k)
sh.CommandNotFound: cmake
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Desktop/project/.buildozer/android/platform/build
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
I think I dont have CMake yet( "which cmake" doesnt show anything). should I apt-get cmake, or pip install cmake?
You should have a least the following: https://python-for-android.readthedocs.io/en/latest/quickstart/#installing-dependencies Also described here: https://buildozer.readthedocs.io/en/latest/installation.html#android-on-ubuntu-16-04-64bit
@juanchrisniady did installing cmake solve your problem? You can apt install it, but normally one of the dependencies listed in the install section should pull it.
I believe the numpy recipe is currently working fine.
I believe there are a lot of thread about this issue, and @inclement already merge the fix for it, but I still having the issue. I'm using python 2.7. And I only add requirement opencv to the
buildozer.spec
.ERROR LOG:
BUILDOZER.SPEC