Hi, i am trying to build demo touchtracer app with kivmob but failing buildozer is failing to make python2 build. The same app debugs successfully with p4a master.
log and buildozer specs >
Check that aidl can be executed
Search for Aidl
Run '/home/kivy/.buildozer/android/platform/android-sdk-23/build-tools/28.0.2/aidl'
Cwd None
Android packages installation done.
Check application requirements
Check garden requirements
Compile platform
Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=com.app --bootstrap=sdl2-admob --requirements=kivy==1.10.0,hostpython2,kivmob --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/touchtracer-admob/.buildozer/android/platform/build'
Cwd /home/kivy/python-for-android-admob
[INFO]: Recipe kivy: version "1.10.0" requested
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19, 27)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Bootstrap requires recipes ['sdl2', ('python2', 'python3crystax')]
[INFO]: No recipe named kivmob; will attempt to install with pip
[INFO]: Loaded recipe sdl2 (depends on [('python2', 'python3crystax'), 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf'], conflicts ['sdl', 'pygame', 'pygame_bootstrap_components'])
[INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]: Loaded recipe kivy (depends on ['pyjnius', ('sdl2', 'pygame'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe sdl2_image (depends on [])
[INFO]: Loaded recipe sdl2_mixer (depends on [])
[INFO]: Loaded recipe sdl2_ttf (depends on [])
[INFO]: Loaded recipe pyjnius (depends on ['six', ('sdl2', 'sdl', 'genericndkbuild'), ('python2', 'python3crystax')])
[INFO]: Loaded recipe six (depends on [('python2', 'python3crystax')])
[INFO]: Found multiple valid recipe sets:
[INFO]: ['six', 'sdl2', u'kivy', 'sdl2_ttf', u'hostpython2', 'sdl2_mixer', 'sdl2_image', 'pyjnius', 'python2']
[INFO]: ['sdl2', 'six', 'sdl2_ttf', u'hostpython2', 'python3crystax', 'sdl2_mixer', 'sdl2_image', 'pyjnius', u'kivy']
[INFO]: Using the first of these: ['six', 'sdl2', u'kivy', 'sdl2_ttf', u'hostpython2', 'sdl2_mixer', 'sdl2_image', 'pyjnius', 'python2']
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name com.app and recipes (kivy, hostpython2, kivmob)
[INFO]: -> running cp -r /home/kivy/python-for-an...(and 155 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Recipe build order is [u'hostpython2', 'python2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sdl2', 'six', 'pyjnius', u'kivy']
[INFO]: The requirements (kivmob) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 62 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/hostpython2
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: -> running rm -f .mark-Python-2.7.2.tar.bz2
[INFO]: Downloading hostpython2 from http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
-
Download 98.9[INFO]: -> running touch .mark-Python-2.7.2.tar.bz2
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading python2
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 58 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/python2
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: python2 download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 61 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/sdl2_image
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: sdl2_image download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 61 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: sdl2_mixer download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 59 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]: -> running basename https://www.libsdl.org...(and 48 more)
[INFO]: sdl2_ttf download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 55 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/sdl2
[INFO]: -> running basename https://www.libsdl.org...(and 26 more)
working: SDL2-2.0.4.tar.gz [INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading six
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 54 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/six
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: six download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 58 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: pyjnius download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /home/kivy/touchtrace...(and 55 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/packages/kivy
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: kivy download already cached, skipping
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi-v7a
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 81 more)
working: Python-2.7.2/Mac/Demo/example1/dnslookup-1.py [INFO]: -> running mv Python-2.7.2 /home/kivy/tou...(and 99 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking python2 for armeabi-v7a
[INFO]: -> running basename http://python.org/ftp/...(and 33 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 77 more)
working: Python-2.7.2/Mac/Demo/sound/morselib.py [INFO]: -> running mv Python-2.7.2 /home/kivy/tou...(and 95 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 83 more)
working: SDL2_image-2.0.1/deb[INFO]: -> running mv SDL2_image-2.0.1 /home/kivy...(and 103 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 83 more)
[INFO]: -> running mv SDL2_mixer-2.0.1 /home/kivy...(and 103 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 48 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 80 more)
working: SDL2_ttf-2.0[INFO]: -> running mv SDL2_ttf-2.0.14 /home/kivy/...(and 100 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 26 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python2/jni
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 71 more)
working: SDL2-2.0.4/acinclude/ax_gc[INFO]: -> running mv SDL2-2.0.4 /home/kivy/touch...(and 90 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a
[INFO]: -> running tar tf /home/kivy/touchtracer-...(and 69 more)
working: six-1.9.0/MANIFEST.in [INFO]: -> running mv six-1.9.0 /home/kivy/toucht...(and 92 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
[INFO]: -> running mv pyjnius-master /home/kivy/t...(and 110 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
[INFO]: -> running mv kivy-1.10.0 /home/kivy/touc...(and 101 more)
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi-v7a
[INFO]: -> running cp /home/kivy/python-for-andro...(and 179 more)
[INFO]: Prebuilding python2 for armeabi-v7a
[INFO]: python2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for python2[armeabi-v7a]
[INFO]: Applying patch patches/Python-2.7.2-xcompile.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 203 more)
[INFO]: Applying patch patches/Python-2.7.2-ctypes-disable-wchar.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 215 more)
[INFO]: Applying patch patches/disable-modules.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 197 more)
[INFO]: Applying patch patches/fix-locale.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 192 more)
working[INFO]: Applying patch patches/fix-gethostbyaddr.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 199 more)
[INFO]: Applying patch patches/fix-setup-flags.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 197 more)
[INFO]: Applying patch patches/fix-filesystemdefaultencoding.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 211 more)
[INFO]: Applying patch patches/fix-termios.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 193 more)
[INFO]: Applying patch patches/custom-loader.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 195 more)
working: patching [INFO]: Applying patch patches/verbose-compilation.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 201 more)
[INFO]: Applying patch patches/fix-remove-corefoundation.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 207 more)
[INFO]: Applying patch patches/fix-dynamic-lookup.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 200 more)
[INFO]: Applying patch patches/fix-dlfcn.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 191 more)
[INFO]: Applying patch patches/parsetuple.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 192 more)
[INFO]: Applying patch patches/ctypes-find-library-updated.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 209 more)
working: patching file Lib/c[INFO]: -> running touch /home/kivy/touchtracer-a...(and 94 more)
[INFO]: Prebuilding sdl2_image for armeabi-v7a
[INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_image[armeabi-v7a]
[INFO]: Applying patch toggle_jpg_png_webp.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 200 more)
[INFO]: Applying patch extra_cflags.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 193 more)
[INFO]: -> running touch /home/kivy/touchtracer-a...(and 98 more)
[INFO]: Prebuilding sdl2_mixer for armeabi-v7a
[INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]: Applying patch toggle_modplug_mikmod_smpeg_ogg.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 212 more)
[INFO]: -> running touch /home/kivy/touchtracer-a...(and 98 more)
[INFO]: Prebuilding sdl2_ttf for armeabi-v7a
[INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sdl2 for armeabi-v7a
[INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2[armeabi-v7a]
[INFO]: Applying patch add_nativeSetEnv.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 184 more)
[INFO]: -> running touch /home/kivy/touchtracer-a...(and 91 more)
[INFO]: Prebuilding six for armeabi-v7a
[INFO]: six has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding pyjnius for armeabi-v7a
[INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for pyjnius[armeabi-v7a]
[INFO]: Applying patch sdl2_jnienv_getter.patch
[INFO]: -> running patch -t -d /home/kivy/touchtr...(and 205 more)
working: Hunk #1 succeeded at 87 with f[INFO]: -> running touch /home/kivy/touchtracer-a...(and 107 more)
[INFO]: Prebuilding kivy for armeabi-v7a
[INFO]: kivy has no prebuild_armeabi_v7a, skipping
[INFO]: # Building recipes
[INFO]: Building hostpython2 for armeabi-v7a
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]: -> running configure
working: checking for socklen_t... yes [INFO]: -> running make -j5
working: bsddb185 bz2 [INFO]: -> running mv Parser/pgen hostpgen
[INFO]: -> running mv python hostpython
[INFO]: <- directory context /home/kivy/python-for-android-admob
[INFO]: Building python2 for armeabi-v7a
[INFO]: -> running cp /home/kivy/touchtracer-admo...(and 207 more)
[INFO]: -> running cp /home/kivy/touchtracer-admo...(and 205 more)
[INFO]: -> directory context /home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2
[INFO]: -> running cp /home/kivy/python-for-andro...(and 59 more)
[INFO]: -> running gcc -dumpmachine
[INFO]: -> running configure --host=arm-eabi --bu...(and 213 more)
working: checking for build d[INFO]: -> running make -j5 install HOSTPYTHON=/h...(and 300 more)
First install (expected to fail...
Exception in thread background thread for pid 10297:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
ErrorReturnCode_2:
RAN: /usr/bin/make -j5 install HOSTPYTHON=/home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2/hostpython HOSTPGEN=/home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2/hostpython CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
STDOUT:
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Include/pgenheaders.h:10,
from Parser/acceler.c:13:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> /* recurse down to the real one /
^
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Include/pgenheaders.h:10,
from Parser/listnode.c:4:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from Include/pgenheaders.h:10:0,
from Parser/acceler.c:13:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from ./Modules/python.c:3:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from ./Modules/python.c:3:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
In file included from Include/pgenheaders.h:10:0,
from Parser/listnode.c:4:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Parser/grammar1.c:4:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
compilation terminated.
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Parser/node.c:3:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one */
^
Makefile:1165: recipe for target 'Parser/listnode.o' failed
make: *** [Parser/listnode.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from Parser/grammar1.c:4:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
Makefile:1165: recipe for target 'Parser/acceler.o' failed
make: *** [Parser/acceler.o] Error 1
In file included from Parser/node.c:3:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
Makefile:1165: recipe for target 'Parser/grammar1.o' failed
make: *** [Parser/grammar1.o] Error 1
Makefile:558: recipe for target 'Modules/python.o' failed
make: *** [Modules/python.o] Error 1
Makefile:1165: recipe for target 'Parser/node.o' failed
make: *** [Parser/node.o] Error 1
STDERR:
[INFO]: -> running touch python.exe python
[INFO]: -> running make -j5 install HOSTPYTHON=/h...(and 300 more)
First python2 make failed. This is expected, trying again.
Second install (expected to work)
Exception in thread background thread for pid 10321:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
ErrorReturnCode_2:
RAN: /usr/bin/make -j5 install HOSTPYTHON=/home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2/hostpython HOSTPGEN=/home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2/hostpython CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
STDOUT:
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Parser/grammar1.c:4:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> /* recurse down to the real one /
^
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Include/pgenheaders.h:10,
from Parser/acceler.c:13:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from ./Modules/python.c:3:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from Include/pgenheaders.h:10:0,
from Parser/acceler.c:13:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
In file included from Parser/grammar1.c:4:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
compilation terminated.
Makefile:1165: recipe for target 'Parser/grammar1.o' failed
make: *** [Parser/grammar1.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Include/pgenheaders.h:10,
from Parser/listnode.c:4:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from ./Modules/python.c:3:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
In file included from Include/pgenheaders.h:10:0,
from Parser/listnode.c:4:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
compilation terminated.
Makefile:1165: recipe for target 'Parser/acceler.o' failed
make: *** [Parser/acceler.o] Error 1
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Parser/node.c:3:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one */
^
Makefile:558: recipe for target 'Modules/python.o' failed
make: *** [Modules/python.o] Error 1
Makefile:1165: recipe for target 'Parser/listnode.o' failed
make: *** [Parser/listnode.o] Error 1
In file included from Parser/node.c:3:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
Makefile:1165: recipe for target 'Parser/node.o' failed
make: *** [Parser/node.o] Error 1
STDERR:
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/python-for-android-admob/pythonforandroid/toolchain.py", line 903, in
main()
File "/home/kivy/python-for-android-admob/pythonforandroid/toolchain.py", line 900, in main
ToolchainCL()
File "/home/kivy/python-for-android-admob/pythonforandroid/toolchain.py", line 508, in init
getattr(self, args.subparser_name.replace('-', ''))(args)
File "/home/kivy/python-for-android-admob/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/kivy/python-for-android-admob/pythonforandroid/toolchain.py", line 190, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 564, in build_recipes
File "/home/kivy/python-for-android-admob/pythonforandroid/recipes/python2/init.py", line 44, in build_arch
self.do_python_build(arch)
File "/home/kivy/python-for-android-admob/pythonforandroid/recipes/python2/init.py", line 151, in do_python_build
_env=env)
File "pythonforandroid/logger.py", line 175, in shprint
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 720, in next
self.wait()
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 651, in wait
self.handle_command_exit_code(exit_code)
File "/home/kivy/.local/lib/python2.7/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /usr/bin/make -j5 install HOSTPYTHON=/home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2/hostpython HOSTPGEN=/home/kivy/touchtracer-admob/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a/python2/hostpython CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
STDOUT:
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -c -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/Android/android-ndk-r16b/platforms/android-19/arch-arm -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -DNO_MALLINFO -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Parser/grammar1.c:4:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> /* recurse down to the real one /
^
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Include/pgenheaders.h:10,
from Parser/acceler.c:13:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from ./Modules/python.c:3:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from Include/pgenheaders.h:10:0,
from Parser/acceler.c:13:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
In file included from Parser/grammar1.c:4:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
compilation terminated.
Makefile:1165: recipe for target 'Parser/grammar1.o' failed
make: *** [Parser/grammar1.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Include/pgenheaders.h:10,
from Parser/listnode.c:4:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one /
^
In file included from ./Modules/python.c:3:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
In file included from Include/pgenheaders.h:10:0,
from Parser/listnode.c:4:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
compilation terminated.
Makefile:1165: recipe for target 'Parser/acceler.o' failed
make: *** [Parser/acceler.o] Error 1
In file included from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/syslimits.h:7:0,
from /home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:34,
from Include/Python.h:19,
from Parser/node.c:3:
/home/kivy/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
#include_next <limits.h> / recurse down to the real one */
^
Makefile:558: recipe for target 'Modules/python.o' failed
make: *** [Modules/python.o] Error 1
Makefile:1165: recipe for target 'Parser/listnode.o' failed
make: *** [Parser/listnode.o] Error 1
In file included from Parser/node.c:3:0:
Include/Python.h:33:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^
compilation terminated.
Makefile:1165: recipe for target 'Parser/node.o' failed
make: *** [Parser/node.o] Error 1
STDERR:
Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=com.app --bootstrap=sdl2-admob --requirements=kivy==1.10.0,hostpython2,kivmob --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/touchtracer-admob/.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
___________________________________
[app]
(str) Title of your application
title = TouchTracer
(str) Package name
package.name = com.app
(str) Package domain (needed for android/ios packaging)
package.domain = org.app
(str) Source code where the main.py live
source.dir = .
(list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas
(list) List of inclusions using pattern matching
#source.include_patterns = assets/,images/.png
(list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec
(list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
(list) List of exclusions using pattern matching
#source.exclude_patterns = license,images//.jpg
(str) Application versioning (method 1)
version = 0.1
(str) Application versioning (method 2)
version.regex = version = '"['"]
version.filename = %(source.dir)s/main.py
(list) Application requirements
comma seperated e.g. requirements = sqlite3,kivy
requirements = kivy==1.10.1, hostpython2, kivmob
(str) Custom source folders for requirements
Sets custom source for any requirements with recipes
requirements.source.kivy = ../../kivy
(list) Garden requirements
#garden_requirements =
(str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png
(str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png
(str) Supported orientation (one of landscape, portrait or all)
orientation = portrait
(list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
OSX Specific
author = ยฉ Copyright Info
change the major version of python used by the app
osx.python_version = 3
Kivy version to use
osx.kivy_version = 1.9.1
Android specific
(bool) Indicate if the application should be fullscreen or not
fullscreen = 0
(string) Presplash background color (for new android toolchain)
Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
olive, purple, silver, teal.
#android.presplash_color = #FFFFFF
(list) Permissions
#android.permissions = INTERNET
(int) Android API to use
android.api = 19
(int) Minimum API required
#android.minapi = 9
(int) Android SDK version to use
android.sdk = 23
(str) Android NDK version to use
#android.ndk = 9c
(bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True
(str) Android NDK directory (if empty, it will be automatically downloaded.)
android.ndk_path = /home/kivy/Android/android-ndk-r16b/
(str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =
(str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =
(bool) If True, then skip trying to update the Android sdk
This can be useful to avoid excess Internet downloads or save time
when an update is due and you just want to test/build your package
android.skip_update = False
(str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
(list) Pattern to whitelist for the whole project
#android.whitelist =
(str) Path to a custom whitelist file
#android.whitelist_src =
(str) Path to a custom blacklist file
#android.blacklist_src =
(list) List of Java .jar files to add to the libs so that pyjnius can access
their classes. Don't add jars that you do not need, since extra jars can slow
down the build process. Allows wildcards matching, for example:
OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
(list) List of Java files to add to the android project (can be java or a
directory containing the files)
#android.add_src =
(list) Android AAR archives to add (currently works only with sdl2_gradle
bootstrap)
#android.add_aars =
(list) Gradle dependencies to add (currently works only with sdl2_gradle
bootstrap)
#android.gradle_dependencies =
(list) Java classes to add as activities to the manifest.
#android.add_activites = com.example.ExampleActivity
(str) python-for-android branch to use, defaults to stable
#p4a.branch = stable
(str) OUYA Console category. Should be one of GAME or APP
If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME
(str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
(str) XML file to include as an intent filters in tag
#android.manifest.intent_filters =
(str) launchMode to set for the main activity
#android.manifest.launch_mode = standard
(list) Android additionnal libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/.so
#android.add_libs_armeabi_v7a = libs/android-v7/.so
#android.add_libs_x86 = libs/android-x86/.so
#android.add_libs_mips = libs/android-mips/.so
(bool) Indicate whether the screen should stay on
Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False
(list) Android application meta-data to set (key=value format)
#android.meta_data =
(list) Android library project to add (will be added in the
project.properties automatically.)
#android.library_references =
(str) Android logcat filters to use
#android.logcat_filters = *:S python:D
(bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1
(str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
android.arch = armeabi-v7a
Python for android (p4a) specific
(str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
p4a.source_dir = /home/kivy/python-for-android-admob
(str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =
(str) Filename to the hook for p4a
#p4a.hook =
(str) Bootstrap to use for android builds
p4a.bootstrap = sdl2-admob
(int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =
iOS specific
(str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
(str) Name of the certificate to use for signing the debug version
Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: ()"
(str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s
[buildozer]
(int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2
(int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1
(str) Path to build artifact storage, absolute or relative to spec file
build_dir = ./.buildozer
(str) Path to build output (i.e. .apk, .ipa) storage
bin_dir = ./bin
-----------------------------------------------------------------------------
List as sections
You can define all the "list" as [section:key].
Each line will be considered as a option to the list.
Let's take [app] / source.exclude_patterns.
Instead of doing:
#[app]
#source.exclude_patterns = license,data/audio/.wav,data/images/original/
This can be translated into:
#[app:source.exclude_patterns]
#license
#data/audio/.wav
#data/images/original/
-----------------------------------------------------------------------------
Profiles
You can extend section / key with a profile
For example, you want to deploy a demo version of your application without
HD content. You could first change the title to add "(demo)" in the name
and extend the excluded directories to remove the HD content.
#[app@demo]
#title = My Application (demo)
#[app:source.exclude_patterns@demo]
#images/hd/*
Then, invoke the command line with the "demo" profile:
#buildozer --profile demo android debug