Repository: kivy/python-for-android

Issue:
kivy build error with python3crystax
I'm not planning to use it, but since I've been asked to test things with it for another bug ticket, here is the build error I'm running into when I include "kivy" into the `--requirements` switch (full command line was: `p4a apk --debug --private /my-app/ --orientation user --window --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --requirements=python3crystax,sdl2,pysdl2,pyjnius,kivy --arch=armeabi-v7a`) :

```
...
[DEBUG]:   	[armeabi-v7a] Compile thumb  : main <= SDL_android_main.c
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -MMD -MP -MF /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/__/SDL/src/main/android/SDL_android_main.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../SDL/include -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include -I/crystax-ndk/sources/python/3.5/include/python -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src -DANDROID -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../../../../other_builds/python2/armeabi-v7a/python2/python-install/include/python2.7 -Wa,--noexecstack -Wformat -Werror=format-security -c -I/crystax-ndk/sources/crystax/include -I/crystax-ndk/platforms/android-19/arch-arm/usr/include /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../SDL/src/main/android/SDL_android_main.c -o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/__/SDL/src/main/android/SDL_android_main.o
[DEBUG]:   	[armeabi-v7a] Compile thumb  : main <= start.c
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -MMD -MP -MF /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/start.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../SDL/include -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include -I/crystax-ndk/sources/python/3.5/include/python -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src -DANDROID -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../../../../other_builds/python2/armeabi-v7a/python2/python-install/include/python2.7 -Wa,--noexecstack -Wformat -Werror=format-security -c -I/crystax-ndk/sources/crystax/include -I/crystax-ndk/platforms/android-19/arch-arm/usr/include /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/start.c -o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/start.o
[DEBUG]:   	[armeabi-v7a] Prebuilt       : libpython3.5m.so <= <NDK>/sources/python/3.5/libs/armeabi-v7a/
[DEBUG]:   	cp -f /crystax-ndk/sources/python/3.5/libs/armeabi-v7a/libpython3.5m.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libpython3.5m.so
[DEBUG]:   	[armeabi-v7a] SharedLibrary  : libmain.so
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,-soname,libmain.so -shared --sysroot=/crystax-ndk/platforms/android-19/arch-arm /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/__/SDL/src/main/android/SDL_android_main.o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/start.o -lgcc /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libSDL2.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libpython3.5m.so -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -L/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../../../../other_builds/python2/armeabi-v7a/python2/python-install/lib -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/crystax-ndk/platforms/android-19/arch-arm/usr/lib -lGLESv1_CM -lGLESv2 -llog -L/crystax-ndk/sources/crystax/empty /crystax-ndk/sources/crystax/libs/armeabi-v7a/thumb/libcrystax.so -lc -o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libmain.so
[DEBUG]:   	[armeabi-v7a] Install        : libmain.so => libs/armeabi-v7a/libmain.so
[DEBUG]:   	install -p /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libmain.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libmain.so
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded  /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libmain.so
[DEBUG]:   	[armeabi-v7a] Install        : libpython3.5m.so => libs/armeabi-v7a/libpython3.5m.so
[DEBUG]:   	install -p /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libpython3.5m.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libpython3.5m.so
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded  /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libpython3.5m.so
[INFO]:    <- directory context /
[INFO]:    Building six for armeabi-v7a
[INFO]:    six apparently isn't already in site-packages
[INFO]:    Installing six into site-packages
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/six-python3crystax/armeabi-v7a/six
[DEBUG]:   -> running python3.5 setup.py install -O2 --root=/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[DEBUG]:   	running install
[DEBUG]:   	running build
[DEBUG]:   	running build_py
[DEBUG]:   	creating build
[DEBUG]:   	creating build/lib
[DEBUG]:   	copying six.py -> build/lib
[DEBUG]:   	running install_lib
[DEBUG]:   	copying build/lib/six.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/.
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./six.py to six.cpython-36.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmptwf13rbq.py'
[DEBUG]:   	/usr/bin/python3.5 /tmp/tmptwf13rbq.py
[DEBUG]:   	removing /tmp/tmptwf13rbq.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	running egg_info
[DEBUG]:   	writing six.egg-info/PKG-INFO
[DEBUG]:   	writing dependency_links to six.egg-info/dependency_links.txt
[DEBUG]:   	writing top-level names to six.egg-info/top_level.txt
[DEBUG]:   	reading manifest file 'six.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest template 'MANIFEST.in'
[DEBUG]:   	no previously-included directories found matching 'documentation/_build'
[DEBUG]:   	writing manifest file 'six.egg-info/SOURCES.txt'
[DEBUG]:   	Copying six.egg-info to /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./six-1.9.0.egg-info
[DEBUG]:   	running install_scripts
[INFO]:    <- directory context /
[INFO]:    Building pyjnius for armeabi-v7a
[INFO]:    jnius apparently isn't already in site-packages
[INFO]:    Cythonizing anything necessary in pyjnius
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[DEBUG]:   -> running python3.5 -c import sys; print(sys.path)
[DEBUG]:   	['', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.6/dist-packages', '/root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload']
cwd is /root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[INFO]:    Trying first build of pyjnius to get cython files: this is expected to fail
[DEBUG]:   -> running python3.5 setup.py build_ext -v
[DEBUG]:   	/usr/lib/python3/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'
[DEBUG]:   	  normalized_version,
[DEBUG]:   	running build_ext
[DEBUG]:   	cythoning jnius/jnius.pyx to jnius/jnius.c
[DEBUG]:   	building 'jnius' extension
[DEBUG]:   	creating build
[DEBUG]:   	creating build/temp.linux-x86_64-3.6
[DEBUG]:   	creating build/temp.linux-x86_64-3.6/jnius
[DEBUG]:   	arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c jnius/jnius.c -o build/temp.linux-x86_64-3.6/jnius/jnius.o
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_convert_jstring_to_python':
[DEBUG]:   	jnius/jnius.c:10315:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
[DEBUG]:   	   __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL);
[DEBUG]:   	                   ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_pf_5jnius_12MetaJavaBase___instancecheck__':
[DEBUG]:   	jnius/jnius.c:18694:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[DEBUG]:   	           __pyx_t_9 = ((PyObject *)(__pyx_v_j_env[0])->CallLongMethod(__pyx_v_j_env, __pyx_v_obj, __pyx_v_meth));
[DEBUG]:   	                        ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_py_invoke0':
[DEBUG]:   	jnius/jnius.c:34139:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[DEBUG]:   	   __pyx_t_2 = ((PyObject *)((void *)__pyx_v_jptr));
[DEBUG]:   	                             ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_create_proxy_instance':
[DEBUG]:   	jnius/jnius.c:35285:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[DEBUG]:   	   __pyx_t_1 = __Pyx_PyInt_From_PY_LONG_LONG(((PY_LONG_LONG)((void *)__pyx_v_py_obj))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 168, __pyx_L1_error)
[DEBUG]:   	                                              ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_convert_python_to_jobject':
[DEBUG]:   	jnius/jnius.c:12926:21: warning: '__pyx_v_retmidinit' may be used uninitialized in this function [-Wmaybe-uninitialized]
[DEBUG]:   	   __pyx_v_retobject = (__pyx_v_j_env[0])->NewObjectA(__pyx_v_j_env, __pyx_v_retclass, __pyx_v_retmidinit, __pyx_v_j_ret);
[DEBUG]:   	                     ^
[DEBUG]:   	jnius/jnius.c:12926:21: warning: '__pyx_v_retclass' may be used uninitialized in this function [-Wmaybe-uninitialized]
[DEBUG]:   	creating build/lib.linux-x86_64-3.6
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -shared --sysroot /crystax-ndk/platforms/android-19/arch-arm -lm -L/root/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a -L/crystax-ndk/sources/crystax/libs/armeabi-v7a -lcrystax -L/crystax-ndk/sources/python/3.5/libs/armeabi-v7a -lpython3.5m -L/root/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a -L/root/.local/share/python-for-android/build/libs_collections/unnamed_dist_1 -L/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a -L/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/jnius/jnius.o -Llibs/armeabi-v7a -lSDL2 -llog -o build/lib.linux-x86_64-3.6/jnius/jnius.cpython-36m-x86_64-linux-gnu.so
[INFO]:    First build appeared to complete correctly, skipping manualcythonising.
[INFO]:    Stripping object files
[DEBUG]:   -> running find . -iname *.so -exec /usr/bin/echo {} ;
[DEBUG]:   	/usr/bin/find: '/usr/bin/echo': No such file or directory
[DEBUG]:   -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]:    <- directory context /
[INFO]:    Installing pyjnius into site-packages
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[DEBUG]:   -> running hostpython setup.py install -O2 --root=/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[DEBUG]:   	/usr/lib/python3/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'
[DEBUG]:   	  normalized_version,
[DEBUG]:   	running install
[DEBUG]:   	running build
[DEBUG]:   	running build_py
[DEBUG]:   	copying jnius_config.py -> build/lib.linux-x86_64-3.6
[DEBUG]:   	copying jnius/signatures.py -> build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	copying jnius/__init__.py -> build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	copying jnius/reflect.py -> build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius/src
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius/src/org
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius/src/org/jnius
[DEBUG]:   	copying jnius/src/org/jnius/NativeInvocationHandler.java -> build/lib.linux-x86_64-3.6/jnius/src/org/jnius
[DEBUG]:   	running build_ext
[DEBUG]:   	skipping 'jnius/jnius.c' Cython extension (up-to-date)
[DEBUG]:   	running install_lib
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/signatures.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius/src
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius/src/org
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius/src/org/jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/src/org/jnius/NativeInvocationHandler.java -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/src/org/jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/jnius.cpython-36m-x86_64-linux-gnu.so -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/reflect.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius_config.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/.
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/signatures.py to signatures.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/reflect.py to reflect.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius_config.py to jnius_config.cpython-36.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmprutumkro.py'
[DEBUG]:   	/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/hostpython /tmp/tmprutumkro.py
[DEBUG]:   	removing /tmp/tmprutumkro.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	running egg_info
[DEBUG]:   	creating pyjnius.egg-info
[DEBUG]:   	writing pyjnius.egg-info/PKG-INFO
[DEBUG]:   	writing dependency_links to pyjnius.egg-info/dependency_links.txt
[DEBUG]:   	writing requirements to pyjnius.egg-info/requires.txt
[DEBUG]:   	writing top-level names to pyjnius.egg-info/top_level.txt
[DEBUG]:   	writing manifest file 'pyjnius.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest file 'pyjnius.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest template 'MANIFEST.in'
[DEBUG]:   	writing manifest file 'pyjnius.egg-info/SOURCES.txt'
[DEBUG]:   	Copying pyjnius.egg-info to /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./pyjnius-1.1.2.dev0.egg-info
[DEBUG]:   	running install_scripts
[INFO]:    <- directory context /
[INFO]:    Building pysdl2 for armeabi-v7a
[INFO]:    pysdl2 apparently isn't already in site-packages
[INFO]:    Installing pysdl2 into site-packages
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/pysdl2/armeabi-v7a/pysdl2
[DEBUG]:   -> running python3.5 setup.py install -O2 --root=/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[DEBUG]:   	running install
[DEBUG]:   	running build
[DEBUG]:   	running build_py
[DEBUG]:   	creating build
[DEBUG]:   	creating build/lib
[DEBUG]:   	creating build/lib/sdl2
[DEBUG]:   	copying sdl2/joystick.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/haptic.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/messagebox.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/pixels.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/filesystem.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/render.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/platform.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/endian.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/mouse.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/video.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlttf.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/scancode.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/dll.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/syswm.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/rwops.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/stdinc.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlgfx.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/loadso.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/version.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/gesture.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/blendmode.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/hints.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlmixer.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/cpuinfo.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/keycode.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/gamecontroller.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/__init__.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/clipboard.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/keyboard.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/error.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/touch.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/log.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/power.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/rect.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/audio.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/surface.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/timer.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/shape.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/events.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlimage.py -> build/lib/sdl2
[DEBUG]:   	creating build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/draw.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/sprite.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/colorpalettes.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/ebs.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/gui.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/common.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/font.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/resources.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/array.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/__init__.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/window.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/image.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/surface.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/algorithms.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/particles.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/compat.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/events.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/color.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/pixelaccess.py -> build/lib/sdl2/ext
[DEBUG]:   	creating build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/pixels_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/timer_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/error_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/power_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_window_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/hints_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/video_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_ebs_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_draw_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlimage_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_image_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/version_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlttf_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_gui_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/audio_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_sprite_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_events_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/cpuinfo_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/keyboard_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/log_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/surface_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/clipboard_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_font_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/filesystem_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/render_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlmixer_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/rect_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/__init__.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_color_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/syswm_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/platform_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/mouse_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/events_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlgfx_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/endian_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/rwops_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/joystick_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_pixelaccess_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_resources_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/shape_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_array_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_algorithms_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_particles_test.py -> build/lib/sdl2/test
[DEBUG]:   	creating build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/support.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/testrunner.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/testutils.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/runtests.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/__init__.py -> build/lib/sdl2/test/util
[DEBUG]:   	creating build/lib/sdl2/examples
[DEBUG]:   	copying examples/draw.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/pong.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/colorpalettes.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/gui.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/sdl2hello.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/__init__.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/gfxdrawing.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/opengl.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/helloworld.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/particles.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/pixelaccess.py -> build/lib/sdl2/examples
[DEBUG]:   	creating build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pnm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.ppm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.jpg -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.xpm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/rwopstest.txt -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.bmp -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.webp -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pcx -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pgm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.xcf -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.ico -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.tif -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pbm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.cur -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/resources.tar.gz -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/font.bmp -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/resources.zip -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.gif -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/tuffy.ttf -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/tuffy.copy.ttf -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.png -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.tga -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.lbm -> build/lib/sdl2/test/resources
[DEBUG]:   	creating build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/square.png -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/star.png -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/circle.png -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/textentry.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/testimage.svg -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/button.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/font.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/hello.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/tuffy.ttf -> build/lib/sdl2/examples/resources
[DEBUG]:   	running install_lib
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2
[DEBUG]:   	copying build/lib/sdl2/joystick.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/haptic.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/messagebox.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/pixels.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/filesystem.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/render.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/platform.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/endian.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/draw.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/square.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/star.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/circle.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/textentry.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/testimage.svg -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/button.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/font.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/hello.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/tuffy.ttf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/pong.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/colorpalettes.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/gui.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/sdl2hello.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/gfxdrawing.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/opengl.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/helloworld.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/particles.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/pixelaccess.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/mouse.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/video.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlttf.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/scancode.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/dll.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/syswm.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/rwops.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/stdinc.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlgfx.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/loadso.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/version.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/gesture.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/blendmode.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/draw.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/sprite.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/colorpalettes.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/ebs.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/gui.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/common.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/font.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/resources.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/array.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/window.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/image.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/surface.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/algorithms.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/particles.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/compat.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/events.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/color.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/pixelaccess.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/hints.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlmixer.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/cpuinfo.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/keycode.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/gamecontroller.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/clipboard.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/keyboard.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/error.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/touch.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/log.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/power.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/rect.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/audio.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/pixels_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/timer_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/support.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/testrunner.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/testutils.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/runtests.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pnm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.ppm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.jpg -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.xpm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/rwopstest.txt -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.webp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pcx -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pgm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.xcf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.ico -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.tif -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pbm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.cur -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/resources.tar.gz -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/font.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/resources.zip -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.gif -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/tuffy.ttf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/tuffy.copy.ttf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.tga -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.lbm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/error_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/power_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_window_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/hints_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/video_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_ebs_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_draw_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlimage_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_image_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/version_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlttf_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_gui_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/audio_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_sprite_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_events_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/cpuinfo_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/keyboard_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/log_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/surface_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/clipboard_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_font_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/filesystem_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/render_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlmixer_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/rect_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_color_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/syswm_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/platform_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/mouse_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/events_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlgfx_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/endian_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/rwops_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/joystick_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_pixelaccess_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_resources_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/shape_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_array_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_algorithms_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_particles_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/surface.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/timer.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/shape.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/events.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlimage.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/joystick.py to joystick.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/haptic.py to haptic.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/messagebox.py to messagebox.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/pixels.py to pixels.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/filesystem.py to filesystem.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/render.py to render.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/platform.py to platform.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/endian.py to endian.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/draw.py to draw.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/pong.py to pong.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/colorpalettes.py to colorpalettes.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/gui.py to gui.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/sdl2hello.py to sdl2hello.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/gfxdrawing.py to gfxdrawing.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/opengl.py to opengl.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/helloworld.py to helloworld.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/particles.py to particles.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/pixelaccess.py to pixelaccess.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/mouse.py to mouse.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/video.py to video.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlttf.py to sdlttf.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/scancode.py to scancode.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/dll.py to dll.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/syswm.py to syswm.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/rwops.py to rwops.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/stdinc.py to stdinc.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlgfx.py to sdlgfx.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/loadso.py to loadso.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/version.py to version.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/gesture.py to gesture.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/blendmode.py to blendmode.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/draw.py to draw.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/sprite.py to sprite.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/colorpalettes.py to colorpalettes.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/ebs.py to ebs.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/gui.py to gui.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/common.py to common.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/font.py to font.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/resources.py to resources.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/array.py to array.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/window.py to window.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/image.py to image.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/surface.py to surface.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/algorithms.py to algorithms.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/particles.py to particles.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/compat.py to compat.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/events.py to events.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/color.py to color.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/pixelaccess.py to pixelaccess.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/hints.py to hints.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlmixer.py to sdlmixer.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/cpuinfo.py to cpuinfo.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/keycode.py to keycode.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/gamecontroller.py to gamecontroller.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/clipboard.py to clipboard.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/keyboard.py to keyboard.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/error.py to error.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/touch.py to touch.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/log.py to log.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/power.py to power.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/rect.py to rect.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/audio.py to audio.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/pixels_test.py to pixels_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/timer_test.py to timer_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/support.py to support.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/testrunner.py to testrunner.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/testutils.py to testutils.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/runtests.py to runtests.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/error_test.py to error_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/power_test.py to power_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl_test.py to sdl_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_window_test.py to sdl2ext_window_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/hints_test.py to hints_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/video_test.py to video_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_ebs_test.py to sdl2ext_ebs_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_draw_test.py to sdl2ext_draw_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlimage_test.py to sdlimage_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_image_test.py to sdl2ext_image_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/version_test.py to version_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlttf_test.py to sdlttf_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_gui_test.py to sdl2ext_gui_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/audio_test.py to audio_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_sprite_test.py to sdl2ext_sprite_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_events_test.py to sdl2ext_events_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/cpuinfo_test.py to cpuinfo_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/keyboard_test.py to keyboard_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/log_test.py to log_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/surface_test.py to surface_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/clipboard_test.py to clipboard_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_font_test.py to sdl2ext_font_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/filesystem_test.py to filesystem_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/render_test.py to render_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlmixer_test.py to sdlmixer_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/rect_test.py to rect_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_color_test.py to sdl2ext_color_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/syswm_test.py to syswm_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/platform_test.py to platform_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/mouse_test.py to mouse_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/events_test.py to events_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlgfx_test.py to sdlgfx_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_test.py to sdl2ext_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/endian_test.py to endian_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/rwops_test.py to rwops_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/joystick_test.py to joystick_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_pixelaccess_test.py to sdl2ext_pixelaccess_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_resources_test.py to sdl2ext_resources_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/shape_test.py to shape_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_array_test.py to sdl2ext_array_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_algorithms_test.py to sdl2ext_algorithms_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_particles_test.py to sdl2ext_particles_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/surface.py to surface.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/timer.py to timer.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/shape.py to shape.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/events.py to events.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlimage.py to sdlimage.cpython-36.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmpxd3pkiqu.py'
[DEBUG]:   	/usr/bin/python3.5 /tmp/tmpxd3pkiqu.py
[DEBUG]:   	removing /tmp/tmpxd3pkiqu.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	Writing /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./PySDL2-0.9.3.egg-info
[INFO]:    <- directory context /
[INFO]:    Building kivy for armeabi-v7a
[INFO]:    kivy apparently isn't already in site-packages
[INFO]:    Cythonizing anything necessary in kivy
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a/kivy
[DEBUG]:   -> running python3.5 -c import sys; print(sys.path)
[DEBUG]:   	['', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.6/dist-packages', '/root/.local/share/python-for-android/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a/kivy', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload']
cwd is /root/.local/share/python-for-android/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a/kivy
[INFO]:    Trying first build of kivy to get cython files: this is expected to fail
[DEBUG]:   -> running python3.5 setup.py build_ext -v
[DEBUG]:   	Using distutils
[DEBUG]:   	Environ change use_sdl2 -> True
[DEBUG]:   	
[DEBUG]:   	Cython check avoided.
[DEBUG]:   	Using this graphics system: OpenGL ES 2
[DEBUG]:   	WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
[DEBUG]:   	
[DEBUG]:   	b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"
[DEBUG]:   	
[DEBUG]:   	SDL2: found SDL header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include/SDL.h
[DEBUG]:   	SDL2: found SDL_mixer header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_mixer/SDL_mixer.h
[DEBUG]:   	SDL2: found SDL_ttf header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_ttf/SDL_ttf.h
[DEBUG]:   	SDL2: found SDL_image header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_image/SDL_image.h
[DEBUG]:   	fatal: not a git repository (or any of the parent directories): .git
[DEBUG]:   	 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'dependency_links'
[DEBUG]:   	   warnings.warn(msg)
[DEBUG]:   	 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
[DEBUG]:   	   warnings.warn(msg)
[DEBUG]:   	 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
[DEBUG]:   	   warnings.warn(msg)
[DEBUG]:   	running build_ext
[DEBUG]:   	Build configuration is:
[DEBUG]:   	 * use_rpi = 0
[DEBUG]:   	 * use_mali = 0
[DEBUG]:   	 * use_egl = 0
[DEBUG]:   	 * use_opengl_es2 = 1
[DEBUG]:   	 * use_opengl_mock = 0
[DEBUG]:   	 * use_sdl2 = 1
[DEBUG]:   	 * use_ios = 0
[DEBUG]:   	 * use_mesagl = 0
[DEBUG]:   	 * use_x11 = 0
[DEBUG]:   	 * use_gstreamer = 0
[DEBUG]:   	 * use_avfoundation = 0
[DEBUG]:   	 * use_osx_frameworks = 0
[DEBUG]:   	 * debug_gl = 0
[DEBUG]:   	 * debug = False
[DEBUG]:   	Updated kivy/include/config.h
[DEBUG]:   	Updated kivy/include/config.pxi
[DEBUG]:   	Updated kivy/setupconfig.py
[DEBUG]:   	Detected compiler is unix
[DEBUG]:   	building 'kivy._event' extension
[DEBUG]:   	creating build
[DEBUG]:   	creating build/temp.linux-x86_64-3.6
[DEBUG]:   	creating build/temp.linux-x86_64-3.6/kivy
[DEBUG]:   	arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.6m -c kivy/_event.c -o build/temp.linux-x86_64-3.6/kivy/_event.o
[DEBUG]:   	arm-linux-androideabi-gcc: error: kivy/_event.c: No such file or directory
[DEBUG]:   	arm-linux-androideabi-gcc: fatal error: no input files
[DEBUG]:   	compilation terminated.
[DEBUG]:   	 error: command 'arm-linux-androideabi-gcc' failed with exit status 1
Exception in thread background thread for pid 1960:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /usr/bin/python3.5 setup.py build_ext -v

  STDOUT:
Using distutils
Environ change use_sdl2 -> True

Cython check avoided.
Using this graphics system: OpenGL ES 2
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)

b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"

SDL2: found SDL header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include/SDL.h
SDL2: found SDL_mixer header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_mixer/SDL_mixer.h
SDL2: found SDL_ttf header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_ttf/SDL_ttf.h
SDL2: found SDL_image header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_image/SDL_image.h
fatal: not a git repository (or any of the parent directories): .git
 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'dependency_links'
   warnings.warn(msg)
 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
   warnings.warn(msg)
 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
   warnings.warn(msg)
running build_ext
Build configuration is:
 * use_rpi = 0
 * use_mali = 0
 * use_egl = 0
 * use_opengl_es2 = 1
 * use_opengl_mock = 0
 * use_sdl2 = 1
 * use_ios = 0
 * use_mesagl = 0
 * use_x11 = 0
 * use_gstreamer = 0
 * use_avfoundation = 0
 * use_osx_frameworks = 0
 * debug_gl = 0
 * debug = False
Updated kivy/include/config.h
Updated kivy/include/config.pxi
Updated kivy/setupconfig.py
Detected compiler is unix
building 'kivy._event' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/kivy
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.6m -c kivy/_event.c -o build/temp.linux-x86_64-3.6/kivy/_event.o
arm-linux-androideabi-gcc: error: kivy/_event.c: No such file or directory
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
 error: command 'arm-linux-androideabi-gcc' failed with exit status 1


  STDERR:



[INFO]:    kivy first build failed (as expected)
[INFO]:    Running cython where appropriate
[INFO]:    Cythonize kivy/_event.pyx
[DEBUG]:   -> running cython ./kivy/_event.pyx
[INFO]:    Cythonize kivy/weakproxy.pyx
[DEBUG]:   -> running cython ./kivy/weakproxy.pyx
[INFO]:    Cythonize kivy/properties.pyx
[DEBUG]:   -> running cython ./kivy/properties.pyx
[INFO]:    Cythonize kivy/_clock.pyx
[DEBUG]:   -> running cython ./kivy/_clock.pyx
[INFO]:    Cythonize kivy/core/camera/camera_avfoundation.pyx
[DEBUG]:   -> running cython ./kivy/core/camera/camera_avfoundation.pyx
[INFO]:    Cythonize kivy/core/text/_text_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/text/_text_sdl2.pyx
[INFO]:    Cythonize kivy/core/text/text_layout.pyx
[DEBUG]:   -> running cython ./kivy/core/text/text_layout.pyx
[INFO]:    Cythonize kivy/core/image/img_imageio.pyx
[DEBUG]:   -> running cython ./kivy/core/image/img_imageio.pyx
[INFO]:    Cythonize kivy/core/image/_img_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/image/_img_sdl2.pyx
[INFO]:    Cythonize kivy/core/audio/audio_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/audio/audio_sdl2.pyx
[INFO]:    Cythonize kivy/core/clipboard/_clipboard_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]:    Cythonize kivy/core/window/_window_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/window/_window_sdl2.pyx
[INFO]:    Cythonize kivy/graphics/shader.pyx
[DEBUG]:   -> running cython ./kivy/graphics/shader.pyx
[INFO]:    Cythonize kivy/graphics/stencil_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/stencil_instructions.pyx
[INFO]:    Cythonize kivy/graphics/svg.pyx
[DEBUG]:   -> running cython ./kivy/graphics/svg.pyx
[DEBUG]:   	warning: kivy/graphics/svg.pyx:469:9: Compatible but non-identical C method 'reload' not redeclared in definition part of extension type 'Svg'.  This may cause incorrect vtables to be generated.
[DEBUG]:   	warning: kivy/graphics/instructions.pxd:36:20: Previous declaration is here
[INFO]:    Cythonize kivy/graphics/context.pyx
[DEBUG]:   -> running cython ./kivy/graphics/context.pyx
[INFO]:    Cythonize kivy/graphics/fbo.pyx
[DEBUG]:   -> running cython ./kivy/graphics/fbo.pyx
[INFO]:    Cythonize kivy/graphics/gl_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/gl_instructions.pyx
[INFO]:    Cythonize kivy/graphics/vbo.pyx
[DEBUG]:   -> running cython ./kivy/graphics/vbo.pyx
[INFO]:    Cythonize kivy/graphics/vertex.pyx
[DEBUG]:   -> running cython ./kivy/graphics/vertex.pyx
[INFO]:    Cythonize kivy/graphics/texture.pyx
[DEBUG]:   -> running cython ./kivy/graphics/texture.pyx
[INFO]:    Cythonize kivy/graphics/opengl_utils.pyx
[DEBUG]:   -> running cython ./kivy/graphics/opengl_utils.pyx
[INFO]:    Cythonize kivy/graphics/buffer.pyx
[DEBUG]:   -> running cython ./kivy/graphics/buffer.pyx
[INFO]:    Cythonize kivy/graphics/vertex_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/vertex_instructions.pyx
[INFO]:    Cythonize kivy/graphics/compiler.pyx
[DEBUG]:   -> running cython ./kivy/graphics/compiler.pyx
[INFO]:    Cythonize kivy/graphics/transformation.pyx
[DEBUG]:   -> running cython ./kivy/graphics/transformation.pyx
[INFO]:    Cythonize kivy/graphics/context_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/context_instructions.pyx
[INFO]:    Cythonize kivy/graphics/tesselator.pyx
[DEBUG]:   -> running cython ./kivy/graphics/tesselator.pyx
[INFO]:    Cythonize kivy/graphics/instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/instructions.pyx
[INFO]:    Cythonize kivy/graphics/cgl.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl.pyx
[INFO]:    Cythonize kivy/graphics/scissor_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/scissor_instructions.pyx
[INFO]:    Cythonize kivy/graphics/opengl.pyx
[DEBUG]:   -> running cython ./kivy/graphics/opengl.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_mock.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_glew.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_gl.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_debug.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]:    Cythonize kivy/lib/gstplayer/_gstplayer.pyx
[DEBUG]:   -> running cython ./kivy/lib/gstplayer/_gstplayer.pyx
[INFO]:    Cythonize kivy/lib/vidcore_lite/bcm.pyx
[DEBUG]:   -> running cython ./kivy/lib/vidcore_lite/bcm.pyx
[INFO]:    Cythonize kivy/lib/vidcore_lite/egl.pyx
[DEBUG]:   -> running cython ./kivy/lib/vidcore_lite/egl.pyx
[DEBUG]:   	
[DEBUG]:   	Error compiling Cython file:
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	...
[DEBUG]:   	    cdef:
[DEBUG]:   	        bcm.DISPMANX_DISPLAY_HANDLE_T disp
[DEBUG]:   	        bcm.DisplayHandle D
[DEBUG]:   	    disp = bcm.vc_dispmanx_display_open( device )
[DEBUG]:   	    if disp == 0:
[DEBUG]:   	        raise bcm.BCMDisplayException("Couldn't open handle to display")
[DEBUG]:   	                ^
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	
[DEBUG]:   	kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'
[DEBUG]:   	
[DEBUG]:   	Error compiling Cython file:
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	...
[DEBUG]:   	    cdef:
[DEBUG]:   	        bcm.DISPMANX_UPDATE_HANDLE_T hdl
[DEBUG]:   	        bcm.UpdateHandle U
[DEBUG]:   	    hdl = bcm.vc_dispmanx_update_start( priority )
[DEBUG]:   	    if hdl == 0:
[DEBUG]:   	        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
[DEBUG]:   	                ^
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	
[DEBUG]:   	kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'
Exception in thread background thread for pid 2282:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /usr/bin/cython ./kivy/lib/vidcore_lite/egl.pyx

  STDOUT:

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_DISPLAY_HANDLE_T disp
        bcm.DisplayHandle D
    disp = bcm.vc_dispmanx_display_open( device )
    if disp == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to display")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_UPDATE_HANDLE_T hdl
        bcm.UpdateHandle U
    hdl = bcm.vc_dispmanx_update_start( priority )
    if hdl == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'


  STDERR:


Traceback (most recent call last):
  File "/usr/local/bin/p4a", line 11, in <module>
    load_entry_point('python-for-android==0.6.0', 'console_scripts', 'p4a')()
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 973, in main
    ToolchainCL()
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 512, in __init__
    getattr(self, args.subparser_name.replace('-', '_'))(args)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 147, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/build.py", line 573, in build_recipes
    recipe.build_arch(arch)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 961, in build_arch
    self.build_cython_components(arch)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 996, in build_cython_components
    self.cythonize_build(env=env)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/kivy/__init__.py", line 18, in cythonize_build
    super(KivyRecipe, self).cythonize_build(env, build_dir=build_dir)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 1041, in cythonize_build
    self.cythonize_file(env, build_dir, join(root, filename))
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/kivy/__init__.py", line 39, in cythonize_file
    super(KivyRecipe, self).cythonize_file(env, build_dir, filename)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 1032, in cythonize_file
    shprint(cython_command, filename, *self.cython_args, _env=cyenv)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/logger.py", line 176, in shprint
    for line in output:
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 863, in next
    self.wait()
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 792, in wait
    self.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /usr/bin/cython ./kivy/lib/vidcore_lite/egl.pyx

  STDOUT:

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_DISPLAY_HANDLE_T disp
        bcm.DisplayHandle D
    disp = bcm.vc_dispmanx_display_open( device )
    if disp == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to display")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_UPDATE_HANDLE_T hdl
        bcm.UpdateHandle U
    hdl = bcm.vc_dispmanx_update_start( priority )
    if hdl == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'


  STDERR:

root@462f19489320:/#
```
kivy build error with python3crystax
I'm not planning to use it, but since I've been asked to test things with it for another bug ticket, here is the build error I'm running into when I include "kivy" into the `--requirements` switch (full command line was: `p4a apk --debug --private /my-app/ --orientation user --window --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --requirements=python3crystax,sdl2,pysdl2,pyjnius,kivy --arch=armeabi-v7a`) :

```
...
[DEBUG]:   	[armeabi-v7a] Compile thumb  : main <= SDL_android_main.c
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -MMD -MP -MF /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/__/SDL/src/main/android/SDL_android_main.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../SDL/include -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include -I/crystax-ndk/sources/python/3.5/include/python -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src -DANDROID -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../../../../other_builds/python2/armeabi-v7a/python2/python-install/include/python2.7 -Wa,--noexecstack -Wformat -Werror=format-security -c -I/crystax-ndk/sources/crystax/include -I/crystax-ndk/platforms/android-19/arch-arm/usr/include /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../SDL/src/main/android/SDL_android_main.c -o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/__/SDL/src/main/android/SDL_android_main.o
[DEBUG]:   	[armeabi-v7a] Compile thumb  : main <= start.c
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -MMD -MP -MF /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/start.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../SDL/include -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include -I/crystax-ndk/sources/python/3.5/include/python -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src -DANDROID -I/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../../../../other_builds/python2/armeabi-v7a/python2/python-install/include/python2.7 -Wa,--noexecstack -Wformat -Werror=format-security -c -I/crystax-ndk/sources/crystax/include -I/crystax-ndk/platforms/android-19/arch-arm/usr/include /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/start.c -o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/start.o
[DEBUG]:   	[armeabi-v7a] Prebuilt       : libpython3.5m.so <= <NDK>/sources/python/3.5/libs/armeabi-v7a/
[DEBUG]:   	cp -f /crystax-ndk/sources/python/3.5/libs/armeabi-v7a/libpython3.5m.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libpython3.5m.so
[DEBUG]:   	[armeabi-v7a] SharedLibrary  : libmain.so
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,-soname,libmain.so -shared --sysroot=/crystax-ndk/platforms/android-19/arch-arm /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/__/SDL/src/main/android/SDL_android_main.o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/objs/main/start.o -lgcc /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libSDL2.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libpython3.5m.so -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -L/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/src/../../../../other_builds/python2/armeabi-v7a/python2/python-install/lib -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/crystax-ndk/platforms/android-19/arch-arm/usr/lib -lGLESv1_CM -lGLESv2 -llog -L/crystax-ndk/sources/crystax/empty /crystax-ndk/sources/crystax/libs/armeabi-v7a/thumb/libcrystax.so -lc -o /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libmain.so
[DEBUG]:   	[armeabi-v7a] Install        : libmain.so => libs/armeabi-v7a/libmain.so
[DEBUG]:   	install -p /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libmain.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libmain.so
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded  /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libmain.so
[DEBUG]:   	[armeabi-v7a] Install        : libpython3.5m.so => libs/armeabi-v7a/libpython3.5m.so
[DEBUG]:   	install -p /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a/libpython3.5m.so /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libpython3.5m.so
[DEBUG]:   	/crystax-ndk/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded  /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a/libpython3.5m.so
[INFO]:    <- directory context /
[INFO]:    Building six for armeabi-v7a
[INFO]:    six apparently isn't already in site-packages
[INFO]:    Installing six into site-packages
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/six-python3crystax/armeabi-v7a/six
[DEBUG]:   -> running python3.5 setup.py install -O2 --root=/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[DEBUG]:   	running install
[DEBUG]:   	running build
[DEBUG]:   	running build_py
[DEBUG]:   	creating build
[DEBUG]:   	creating build/lib
[DEBUG]:   	copying six.py -> build/lib
[DEBUG]:   	running install_lib
[DEBUG]:   	copying build/lib/six.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/.
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./six.py to six.cpython-36.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmptwf13rbq.py'
[DEBUG]:   	/usr/bin/python3.5 /tmp/tmptwf13rbq.py
[DEBUG]:   	removing /tmp/tmptwf13rbq.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	running egg_info
[DEBUG]:   	writing six.egg-info/PKG-INFO
[DEBUG]:   	writing dependency_links to six.egg-info/dependency_links.txt
[DEBUG]:   	writing top-level names to six.egg-info/top_level.txt
[DEBUG]:   	reading manifest file 'six.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest template 'MANIFEST.in'
[DEBUG]:   	no previously-included directories found matching 'documentation/_build'
[DEBUG]:   	writing manifest file 'six.egg-info/SOURCES.txt'
[DEBUG]:   	Copying six.egg-info to /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./six-1.9.0.egg-info
[DEBUG]:   	running install_scripts
[INFO]:    <- directory context /
[INFO]:    Building pyjnius for armeabi-v7a
[INFO]:    jnius apparently isn't already in site-packages
[INFO]:    Cythonizing anything necessary in pyjnius
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[DEBUG]:   -> running python3.5 -c import sys; print(sys.path)
[DEBUG]:   	['', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.6/dist-packages', '/root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload']
cwd is /root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[INFO]:    Trying first build of pyjnius to get cython files: this is expected to fail
[DEBUG]:   -> running python3.5 setup.py build_ext -v
[DEBUG]:   	/usr/lib/python3/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'
[DEBUG]:   	  normalized_version,
[DEBUG]:   	running build_ext
[DEBUG]:   	cythoning jnius/jnius.pyx to jnius/jnius.c
[DEBUG]:   	building 'jnius' extension
[DEBUG]:   	creating build
[DEBUG]:   	creating build/temp.linux-x86_64-3.6
[DEBUG]:   	creating build/temp.linux-x86_64-3.6/jnius
[DEBUG]:   	arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c jnius/jnius.c -o build/temp.linux-x86_64-3.6/jnius/jnius.o
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_convert_jstring_to_python':
[DEBUG]:   	jnius/jnius.c:10315:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
[DEBUG]:   	   __pyx_v_j_chars = (__pyx_v_j_env[0])->GetStringChars(__pyx_v_j_env, __pyx_v_j_string, NULL);
[DEBUG]:   	                   ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_pf_5jnius_12MetaJavaBase___instancecheck__':
[DEBUG]:   	jnius/jnius.c:18694:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[DEBUG]:   	           __pyx_t_9 = ((PyObject *)(__pyx_v_j_env[0])->CallLongMethod(__pyx_v_j_env, __pyx_v_obj, __pyx_v_meth));
[DEBUG]:   	                        ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_py_invoke0':
[DEBUG]:   	jnius/jnius.c:34139:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[DEBUG]:   	   __pyx_t_2 = ((PyObject *)((void *)__pyx_v_jptr));
[DEBUG]:   	                             ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_create_proxy_instance':
[DEBUG]:   	jnius/jnius.c:35285:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
[DEBUG]:   	   __pyx_t_1 = __Pyx_PyInt_From_PY_LONG_LONG(((PY_LONG_LONG)((void *)__pyx_v_py_obj))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 168, __pyx_L1_error)
[DEBUG]:   	                                              ^
[DEBUG]:   	jnius/jnius.c: In function '__pyx_f_5jnius_convert_python_to_jobject':
[DEBUG]:   	jnius/jnius.c:12926:21: warning: '__pyx_v_retmidinit' may be used uninitialized in this function [-Wmaybe-uninitialized]
[DEBUG]:   	   __pyx_v_retobject = (__pyx_v_j_env[0])->NewObjectA(__pyx_v_j_env, __pyx_v_retclass, __pyx_v_retmidinit, __pyx_v_j_ret);
[DEBUG]:   	                     ^
[DEBUG]:   	jnius/jnius.c:12926:21: warning: '__pyx_v_retclass' may be used uninitialized in this function [-Wmaybe-uninitialized]
[DEBUG]:   	creating build/lib.linux-x86_64-3.6
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -shared --sysroot /crystax-ndk/platforms/android-19/arch-arm -lm -L/root/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a -L/crystax-ndk/sources/crystax/libs/armeabi-v7a -lcrystax -L/crystax-ndk/sources/python/3.5/libs/armeabi-v7a -lpython3.5m -L/root/.local/share/python-for-android/build/libs_collections/unnamed_dist_1/armeabi-v7a -L/root/.local/share/python-for-android/build/libs_collections/unnamed_dist_1 -L/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/obj/local/armeabi-v7a -L/root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/libs/armeabi-v7a -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/jnius/jnius.o -Llibs/armeabi-v7a -lSDL2 -llog -o build/lib.linux-x86_64-3.6/jnius/jnius.cpython-36m-x86_64-linux-gnu.so
[INFO]:    First build appeared to complete correctly, skipping manualcythonising.
[INFO]:    Stripping object files
[DEBUG]:   -> running find . -iname *.so -exec /usr/bin/echo {} ;
[DEBUG]:   	/usr/bin/find: '/usr/bin/echo': No such file or directory
[DEBUG]:   -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]:    <- directory context /
[INFO]:    Installing pyjnius into site-packages
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a/pyjnius
[DEBUG]:   -> running hostpython setup.py install -O2 --root=/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[DEBUG]:   	/usr/lib/python3/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '1.1.2-dev' to '1.1.2.dev0'
[DEBUG]:   	  normalized_version,
[DEBUG]:   	running install
[DEBUG]:   	running build
[DEBUG]:   	running build_py
[DEBUG]:   	copying jnius_config.py -> build/lib.linux-x86_64-3.6
[DEBUG]:   	copying jnius/signatures.py -> build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	copying jnius/__init__.py -> build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	copying jnius/reflect.py -> build/lib.linux-x86_64-3.6/jnius
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius/src
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius/src/org
[DEBUG]:   	creating build/lib.linux-x86_64-3.6/jnius/src/org/jnius
[DEBUG]:   	copying jnius/src/org/jnius/NativeInvocationHandler.java -> build/lib.linux-x86_64-3.6/jnius/src/org/jnius
[DEBUG]:   	running build_ext
[DEBUG]:   	skipping 'jnius/jnius.c' Cython extension (up-to-date)
[DEBUG]:   	running install_lib
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/signatures.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius/src
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius/src/org
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/jnius/src/org/jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/src/org/jnius/NativeInvocationHandler.java -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/src/org/jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/jnius.cpython-36m-x86_64-linux-gnu.so -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius/reflect.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius
[DEBUG]:   	copying build/lib.linux-x86_64-3.6/jnius_config.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/.
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/signatures.py to signatures.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius/reflect.py to reflect.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./jnius_config.py to jnius_config.cpython-36.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmprutumkro.py'
[DEBUG]:   	/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/hostpython /tmp/tmprutumkro.py
[DEBUG]:   	removing /tmp/tmprutumkro.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	running egg_info
[DEBUG]:   	creating pyjnius.egg-info
[DEBUG]:   	writing pyjnius.egg-info/PKG-INFO
[DEBUG]:   	writing dependency_links to pyjnius.egg-info/dependency_links.txt
[DEBUG]:   	writing requirements to pyjnius.egg-info/requires.txt
[DEBUG]:   	writing top-level names to pyjnius.egg-info/top_level.txt
[DEBUG]:   	writing manifest file 'pyjnius.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest file 'pyjnius.egg-info/SOURCES.txt'
[DEBUG]:   	reading manifest template 'MANIFEST.in'
[DEBUG]:   	writing manifest file 'pyjnius.egg-info/SOURCES.txt'
[DEBUG]:   	Copying pyjnius.egg-info to /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./pyjnius-1.1.2.dev0.egg-info
[DEBUG]:   	running install_scripts
[INFO]:    <- directory context /
[INFO]:    Building pysdl2 for armeabi-v7a
[INFO]:    pysdl2 apparently isn't already in site-packages
[INFO]:    Installing pysdl2 into site-packages
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/pysdl2/armeabi-v7a/pysdl2
[DEBUG]:   -> running python3.5 setup.py install -O2 --root=/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1 --install-lib=.
[DEBUG]:   	running install
[DEBUG]:   	running build
[DEBUG]:   	running build_py
[DEBUG]:   	creating build
[DEBUG]:   	creating build/lib
[DEBUG]:   	creating build/lib/sdl2
[DEBUG]:   	copying sdl2/joystick.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/haptic.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/messagebox.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/pixels.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/filesystem.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/render.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/platform.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/endian.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/mouse.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/video.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlttf.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/scancode.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/dll.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/syswm.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/rwops.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/stdinc.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlgfx.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/loadso.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/version.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/gesture.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/blendmode.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/hints.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlmixer.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/cpuinfo.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/keycode.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/gamecontroller.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/__init__.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/clipboard.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/keyboard.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/error.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/touch.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/log.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/power.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/rect.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/audio.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/surface.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/timer.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/shape.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/events.py -> build/lib/sdl2
[DEBUG]:   	copying sdl2/sdlimage.py -> build/lib/sdl2
[DEBUG]:   	creating build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/draw.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/sprite.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/colorpalettes.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/ebs.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/gui.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/common.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/font.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/resources.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/array.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/__init__.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/window.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/image.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/surface.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/algorithms.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/particles.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/compat.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/events.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/color.py -> build/lib/sdl2/ext
[DEBUG]:   	copying sdl2/ext/pixelaccess.py -> build/lib/sdl2/ext
[DEBUG]:   	creating build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/pixels_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/timer_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/error_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/power_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_window_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/hints_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/video_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_ebs_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_draw_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlimage_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_image_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/version_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlttf_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_gui_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/audio_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_sprite_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_events_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/cpuinfo_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/keyboard_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/log_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/surface_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/clipboard_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_font_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/filesystem_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/render_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlmixer_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/rect_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/__init__.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_color_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/syswm_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/platform_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/mouse_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/events_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdlgfx_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/endian_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/rwops_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/joystick_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_pixelaccess_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_resources_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/shape_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_array_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_algorithms_test.py -> build/lib/sdl2/test
[DEBUG]:   	copying sdl2/test/sdl2ext_particles_test.py -> build/lib/sdl2/test
[DEBUG]:   	creating build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/support.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/testrunner.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/testutils.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/runtests.py -> build/lib/sdl2/test/util
[DEBUG]:   	copying sdl2/test/util/__init__.py -> build/lib/sdl2/test/util
[DEBUG]:   	creating build/lib/sdl2/examples
[DEBUG]:   	copying examples/draw.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/pong.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/colorpalettes.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/gui.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/sdl2hello.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/__init__.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/gfxdrawing.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/opengl.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/helloworld.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/particles.py -> build/lib/sdl2/examples
[DEBUG]:   	copying examples/pixelaccess.py -> build/lib/sdl2/examples
[DEBUG]:   	creating build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pnm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.ppm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.jpg -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.xpm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/rwopstest.txt -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.bmp -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.webp -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pcx -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pgm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.xcf -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.ico -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.tif -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.pbm -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.cur -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/resources.tar.gz -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/font.bmp -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/resources.zip -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.gif -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/tuffy.ttf -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/tuffy.copy.ttf -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.png -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.tga -> build/lib/sdl2/test/resources
[DEBUG]:   	copying sdl2/test/resources/surfacetest.lbm -> build/lib/sdl2/test/resources
[DEBUG]:   	creating build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/square.png -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/star.png -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/circle.png -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/textentry.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/testimage.svg -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/button.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/font.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/hello.bmp -> build/lib/sdl2/examples/resources
[DEBUG]:   	copying examples/resources/tuffy.ttf -> build/lib/sdl2/examples/resources
[DEBUG]:   	running install_lib
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2
[DEBUG]:   	copying build/lib/sdl2/joystick.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/haptic.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/messagebox.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/pixels.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/filesystem.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/render.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/platform.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/endian.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/draw.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/square.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/star.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/circle.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/textentry.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/testimage.svg -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/button.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/font.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/hello.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/resources/tuffy.ttf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/resources
[DEBUG]:   	copying build/lib/sdl2/examples/pong.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/colorpalettes.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/gui.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/sdl2hello.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/gfxdrawing.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/opengl.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/helloworld.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/particles.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/examples/pixelaccess.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples
[DEBUG]:   	copying build/lib/sdl2/mouse.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/video.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlttf.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/scancode.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/dll.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/syswm.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/rwops.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/stdinc.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlgfx.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/loadso.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/version.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/gesture.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/blendmode.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/draw.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/sprite.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/colorpalettes.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/ebs.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/gui.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/common.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/font.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/resources.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/array.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/window.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/image.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/surface.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/algorithms.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/particles.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/compat.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/events.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/color.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/ext/pixelaccess.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext
[DEBUG]:   	copying build/lib/sdl2/hints.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlmixer.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/cpuinfo.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/keycode.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/gamecontroller.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/clipboard.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/keyboard.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/error.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/touch.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/log.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/power.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/rect.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/audio.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/pixels_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/timer_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/support.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/testrunner.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/testutils.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/runtests.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	copying build/lib/sdl2/test/util/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util
[DEBUG]:   	creating /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pnm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.ppm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.jpg -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.xpm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/rwopstest.txt -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.webp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pcx -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pgm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.xcf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.ico -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.tif -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.pbm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.cur -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/resources.tar.gz -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/font.bmp -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/resources.zip -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.gif -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/tuffy.ttf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/tuffy.copy.ttf -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.png -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.tga -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/resources/surfacetest.lbm -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/resources
[DEBUG]:   	copying build/lib/sdl2/test/error_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/power_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_window_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/hints_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/video_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_ebs_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_draw_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlimage_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_image_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/version_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlttf_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_gui_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/audio_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_sprite_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_events_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/cpuinfo_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/keyboard_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/log_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/surface_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/clipboard_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_font_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/filesystem_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/render_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlmixer_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/rect_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/__init__.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_color_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/syswm_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/platform_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/mouse_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/events_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdlgfx_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/endian_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/rwops_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/joystick_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_pixelaccess_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_resources_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/shape_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_array_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_algorithms_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/test/sdl2ext_particles_test.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test
[DEBUG]:   	copying build/lib/sdl2/surface.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/timer.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/shape.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/events.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	copying build/lib/sdl2/sdlimage.py -> /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/joystick.py to joystick.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/haptic.py to haptic.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/messagebox.py to messagebox.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/pixels.py to pixels.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/filesystem.py to filesystem.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/render.py to render.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/platform.py to platform.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/endian.py to endian.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/draw.py to draw.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/pong.py to pong.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/colorpalettes.py to colorpalettes.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/gui.py to gui.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/sdl2hello.py to sdl2hello.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/gfxdrawing.py to gfxdrawing.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/opengl.py to opengl.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/helloworld.py to helloworld.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/particles.py to particles.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/examples/pixelaccess.py to pixelaccess.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/mouse.py to mouse.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/video.py to video.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlttf.py to sdlttf.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/scancode.py to scancode.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/dll.py to dll.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/syswm.py to syswm.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/rwops.py to rwops.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/stdinc.py to stdinc.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlgfx.py to sdlgfx.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/loadso.py to loadso.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/version.py to version.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/gesture.py to gesture.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/blendmode.py to blendmode.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/draw.py to draw.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/sprite.py to sprite.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/colorpalettes.py to colorpalettes.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/ebs.py to ebs.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/gui.py to gui.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/common.py to common.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/font.py to font.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/resources.py to resources.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/array.py to array.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/window.py to window.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/image.py to image.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/surface.py to surface.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/algorithms.py to algorithms.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/particles.py to particles.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/compat.py to compat.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/events.py to events.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/color.py to color.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/ext/pixelaccess.py to pixelaccess.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/hints.py to hints.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlmixer.py to sdlmixer.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/cpuinfo.py to cpuinfo.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/keycode.py to keycode.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/gamecontroller.py to gamecontroller.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/clipboard.py to clipboard.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/keyboard.py to keyboard.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/error.py to error.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/touch.py to touch.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/log.py to log.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/power.py to power.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/rect.py to rect.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/audio.py to audio.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/pixels_test.py to pixels_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/timer_test.py to timer_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/support.py to support.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/testrunner.py to testrunner.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/testutils.py to testutils.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/runtests.py to runtests.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/util/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/error_test.py to error_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/power_test.py to power_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl_test.py to sdl_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_window_test.py to sdl2ext_window_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/hints_test.py to hints_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/video_test.py to video_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_ebs_test.py to sdl2ext_ebs_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_draw_test.py to sdl2ext_draw_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlimage_test.py to sdlimage_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_image_test.py to sdl2ext_image_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/version_test.py to version_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlttf_test.py to sdlttf_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_gui_test.py to sdl2ext_gui_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/audio_test.py to audio_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_sprite_test.py to sdl2ext_sprite_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_events_test.py to sdl2ext_events_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/cpuinfo_test.py to cpuinfo_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/keyboard_test.py to keyboard_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/log_test.py to log_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/surface_test.py to surface_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/clipboard_test.py to clipboard_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_font_test.py to sdl2ext_font_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/filesystem_test.py to filesystem_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/render_test.py to render_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlmixer_test.py to sdlmixer_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/rect_test.py to rect_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/__init__.py to __init__.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_color_test.py to sdl2ext_color_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/syswm_test.py to syswm_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/platform_test.py to platform_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/mouse_test.py to mouse_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/events_test.py to events_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdlgfx_test.py to sdlgfx_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_test.py to sdl2ext_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/endian_test.py to endian_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/rwops_test.py to rwops_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/joystick_test.py to joystick_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_pixelaccess_test.py to sdl2ext_pixelaccess_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_resources_test.py to sdl2ext_resources_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/shape_test.py to shape_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_array_test.py to sdl2ext_array_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_algorithms_test.py to sdl2ext_algorithms_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/test/sdl2ext_particles_test.py to sdl2ext_particles_test.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/surface.py to surface.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/timer.py to timer.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/shape.py to shape.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/events.py to events.cpython-36.pyc
[DEBUG]:   	byte-compiling /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./sdl2/sdlimage.py to sdlimage.cpython-36.pyc
[DEBUG]:   	writing byte-compilation script '/tmp/tmpxd3pkiqu.py'
[DEBUG]:   	/usr/bin/python3.5 /tmp/tmpxd3pkiqu.py
[DEBUG]:   	removing /tmp/tmpxd3pkiqu.py
[DEBUG]:   	running install_egg_info
[DEBUG]:   	Writing /root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/./PySDL2-0.9.3.egg-info
[INFO]:    <- directory context /
[INFO]:    Building kivy for armeabi-v7a
[INFO]:    kivy apparently isn't already in site-packages
[INFO]:    Cythonizing anything necessary in kivy
[INFO]:    -> directory context /root/.local/share/python-for-android/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a/kivy
[DEBUG]:   -> running python3.5 -c import sys; print(sys.path)
[DEBUG]:   	['', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib', '/root/.local/share/python-for-android/build/other_builds/hostpython3crystax/desktop/hostpython3crystax/Lib/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.6/dist-packages', '/root/.local/share/python-for-android/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a/kivy', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload']
cwd is /root/.local/share/python-for-android/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a/kivy
[INFO]:    Trying first build of kivy to get cython files: this is expected to fail
[DEBUG]:   -> running python3.5 setup.py build_ext -v
[DEBUG]:   	Using distutils
[DEBUG]:   	Environ change use_sdl2 -> True
[DEBUG]:   	
[DEBUG]:   	Cython check avoided.
[DEBUG]:   	Using this graphics system: OpenGL ES 2
[DEBUG]:   	WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
[DEBUG]:   	
[DEBUG]:   	b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"
[DEBUG]:   	
[DEBUG]:   	SDL2: found SDL header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include/SDL.h
[DEBUG]:   	SDL2: found SDL_mixer header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_mixer/SDL_mixer.h
[DEBUG]:   	SDL2: found SDL_ttf header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_ttf/SDL_ttf.h
[DEBUG]:   	SDL2: found SDL_image header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_image/SDL_image.h
[DEBUG]:   	fatal: not a git repository (or any of the parent directories): .git
[DEBUG]:   	 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'dependency_links'
[DEBUG]:   	   warnings.warn(msg)
[DEBUG]:   	 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
[DEBUG]:   	   warnings.warn(msg)
[DEBUG]:   	 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
[DEBUG]:   	   warnings.warn(msg)
[DEBUG]:   	running build_ext
[DEBUG]:   	Build configuration is:
[DEBUG]:   	 * use_rpi = 0
[DEBUG]:   	 * use_mali = 0
[DEBUG]:   	 * use_egl = 0
[DEBUG]:   	 * use_opengl_es2 = 1
[DEBUG]:   	 * use_opengl_mock = 0
[DEBUG]:   	 * use_sdl2 = 1
[DEBUG]:   	 * use_ios = 0
[DEBUG]:   	 * use_mesagl = 0
[DEBUG]:   	 * use_x11 = 0
[DEBUG]:   	 * use_gstreamer = 0
[DEBUG]:   	 * use_avfoundation = 0
[DEBUG]:   	 * use_osx_frameworks = 0
[DEBUG]:   	 * debug_gl = 0
[DEBUG]:   	 * debug = False
[DEBUG]:   	Updated kivy/include/config.h
[DEBUG]:   	Updated kivy/include/config.pxi
[DEBUG]:   	Updated kivy/setupconfig.py
[DEBUG]:   	Detected compiler is unix
[DEBUG]:   	building 'kivy._event' extension
[DEBUG]:   	creating build
[DEBUG]:   	creating build/temp.linux-x86_64-3.6
[DEBUG]:   	creating build/temp.linux-x86_64-3.6/kivy
[DEBUG]:   	arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.6m -c kivy/_event.c -o build/temp.linux-x86_64-3.6/kivy/_event.o
[DEBUG]:   	arm-linux-androideabi-gcc: error: kivy/_event.c: No such file or directory
[DEBUG]:   	arm-linux-androideabi-gcc: fatal error: no input files
[DEBUG]:   	compilation terminated.
[DEBUG]:   	 error: command 'arm-linux-androideabi-gcc' failed with exit status 1
Exception in thread background thread for pid 1960:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /usr/bin/python3.5 setup.py build_ext -v

  STDOUT:
Using distutils
Environ change use_sdl2 -> True

Cython check avoided.
Using this graphics system: OpenGL ES 2
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)

b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"

SDL2: found SDL header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL/include/SDL.h
SDL2: found SDL_mixer header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_mixer/SDL_mixer.h
SDL2: found SDL_ttf header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_ttf/SDL_ttf.h
SDL2: found SDL_image header at /root/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle-python3crystax/jni/SDL2_image/SDL_image.h
fatal: not a git repository (or any of the parent directories): .git
 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'dependency_links'
   warnings.warn(msg)
 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
   warnings.warn(msg)
 /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'setup_requires'
   warnings.warn(msg)
running build_ext
Build configuration is:
 * use_rpi = 0
 * use_mali = 0
 * use_egl = 0
 * use_opengl_es2 = 1
 * use_opengl_mock = 0
 * use_sdl2 = 1
 * use_ios = 0
 * use_mesagl = 0
 * use_x11 = 0
 * use_gstreamer = 0
 * use_avfoundation = 0
 * use_osx_frameworks = 0
 * debug_gl = 0
 * debug = False
Updated kivy/include/config.h
Updated kivy/include/config.pxi
Updated kivy/setupconfig.py
Detected compiler is unix
building 'kivy._event' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/kivy
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/crystax-ndk/platforms/android-19/arch-arm -isysroot /crystax-ndk/platforms/android-19/arch-arm -I/root/.local/share/python-for-android/build/python-installs/unnamed_dist_1/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -I/crystax-ndk/sources/python/3.5/include/python -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ikivy/include -I/usr/include/python3.6m -c kivy/_event.c -o build/temp.linux-x86_64-3.6/kivy/_event.o
arm-linux-androideabi-gcc: error: kivy/_event.c: No such file or directory
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
 error: command 'arm-linux-androideabi-gcc' failed with exit status 1


  STDERR:



[INFO]:    kivy first build failed (as expected)
[INFO]:    Running cython where appropriate
[INFO]:    Cythonize kivy/_event.pyx
[DEBUG]:   -> running cython ./kivy/_event.pyx
[INFO]:    Cythonize kivy/weakproxy.pyx
[DEBUG]:   -> running cython ./kivy/weakproxy.pyx
[INFO]:    Cythonize kivy/properties.pyx
[DEBUG]:   -> running cython ./kivy/properties.pyx
[INFO]:    Cythonize kivy/_clock.pyx
[DEBUG]:   -> running cython ./kivy/_clock.pyx
[INFO]:    Cythonize kivy/core/camera/camera_avfoundation.pyx
[DEBUG]:   -> running cython ./kivy/core/camera/camera_avfoundation.pyx
[INFO]:    Cythonize kivy/core/text/_text_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/text/_text_sdl2.pyx
[INFO]:    Cythonize kivy/core/text/text_layout.pyx
[DEBUG]:   -> running cython ./kivy/core/text/text_layout.pyx
[INFO]:    Cythonize kivy/core/image/img_imageio.pyx
[DEBUG]:   -> running cython ./kivy/core/image/img_imageio.pyx
[INFO]:    Cythonize kivy/core/image/_img_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/image/_img_sdl2.pyx
[INFO]:    Cythonize kivy/core/audio/audio_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/audio/audio_sdl2.pyx
[INFO]:    Cythonize kivy/core/clipboard/_clipboard_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]:    Cythonize kivy/core/window/_window_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/core/window/_window_sdl2.pyx
[INFO]:    Cythonize kivy/graphics/shader.pyx
[DEBUG]:   -> running cython ./kivy/graphics/shader.pyx
[INFO]:    Cythonize kivy/graphics/stencil_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/stencil_instructions.pyx
[INFO]:    Cythonize kivy/graphics/svg.pyx
[DEBUG]:   -> running cython ./kivy/graphics/svg.pyx
[DEBUG]:   	warning: kivy/graphics/svg.pyx:469:9: Compatible but non-identical C method 'reload' not redeclared in definition part of extension type 'Svg'.  This may cause incorrect vtables to be generated.
[DEBUG]:   	warning: kivy/graphics/instructions.pxd:36:20: Previous declaration is here
[INFO]:    Cythonize kivy/graphics/context.pyx
[DEBUG]:   -> running cython ./kivy/graphics/context.pyx
[INFO]:    Cythonize kivy/graphics/fbo.pyx
[DEBUG]:   -> running cython ./kivy/graphics/fbo.pyx
[INFO]:    Cythonize kivy/graphics/gl_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/gl_instructions.pyx
[INFO]:    Cythonize kivy/graphics/vbo.pyx
[DEBUG]:   -> running cython ./kivy/graphics/vbo.pyx
[INFO]:    Cythonize kivy/graphics/vertex.pyx
[DEBUG]:   -> running cython ./kivy/graphics/vertex.pyx
[INFO]:    Cythonize kivy/graphics/texture.pyx
[DEBUG]:   -> running cython ./kivy/graphics/texture.pyx
[INFO]:    Cythonize kivy/graphics/opengl_utils.pyx
[DEBUG]:   -> running cython ./kivy/graphics/opengl_utils.pyx
[INFO]:    Cythonize kivy/graphics/buffer.pyx
[DEBUG]:   -> running cython ./kivy/graphics/buffer.pyx
[INFO]:    Cythonize kivy/graphics/vertex_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/vertex_instructions.pyx
[INFO]:    Cythonize kivy/graphics/compiler.pyx
[DEBUG]:   -> running cython ./kivy/graphics/compiler.pyx
[INFO]:    Cythonize kivy/graphics/transformation.pyx
[DEBUG]:   -> running cython ./kivy/graphics/transformation.pyx
[INFO]:    Cythonize kivy/graphics/context_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/context_instructions.pyx
[INFO]:    Cythonize kivy/graphics/tesselator.pyx
[DEBUG]:   -> running cython ./kivy/graphics/tesselator.pyx
[INFO]:    Cythonize kivy/graphics/instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/instructions.pyx
[INFO]:    Cythonize kivy/graphics/cgl.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl.pyx
[INFO]:    Cythonize kivy/graphics/scissor_instructions.pyx
[DEBUG]:   -> running cython ./kivy/graphics/scissor_instructions.pyx
[INFO]:    Cythonize kivy/graphics/opengl.pyx
[DEBUG]:   -> running cython ./kivy/graphics/opengl.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_sdl2.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_mock.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_glew.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_gl.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]:    Cythonize kivy/graphics/cgl_backend/cgl_debug.pyx
[DEBUG]:   -> running cython ./kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]:    Cythonize kivy/lib/gstplayer/_gstplayer.pyx
[DEBUG]:   -> running cython ./kivy/lib/gstplayer/_gstplayer.pyx
[INFO]:    Cythonize kivy/lib/vidcore_lite/bcm.pyx
[DEBUG]:   -> running cython ./kivy/lib/vidcore_lite/bcm.pyx
[INFO]:    Cythonize kivy/lib/vidcore_lite/egl.pyx
[DEBUG]:   -> running cython ./kivy/lib/vidcore_lite/egl.pyx
[DEBUG]:   	
[DEBUG]:   	Error compiling Cython file:
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	...
[DEBUG]:   	    cdef:
[DEBUG]:   	        bcm.DISPMANX_DISPLAY_HANDLE_T disp
[DEBUG]:   	        bcm.DisplayHandle D
[DEBUG]:   	    disp = bcm.vc_dispmanx_display_open( device )
[DEBUG]:   	    if disp == 0:
[DEBUG]:   	        raise bcm.BCMDisplayException("Couldn't open handle to display")
[DEBUG]:   	                ^
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	
[DEBUG]:   	kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'
[DEBUG]:   	
[DEBUG]:   	Error compiling Cython file:
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	...
[DEBUG]:   	    cdef:
[DEBUG]:   	        bcm.DISPMANX_UPDATE_HANDLE_T hdl
[DEBUG]:   	        bcm.UpdateHandle U
[DEBUG]:   	    hdl = bcm.vc_dispmanx_update_start( priority )
[DEBUG]:   	    if hdl == 0:
[DEBUG]:   	        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
[DEBUG]:   	                ^
[DEBUG]:   	------------------------------------------------------------
[DEBUG]:   	
[DEBUG]:   	kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'
Exception in thread background thread for pid 2282:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /usr/bin/cython ./kivy/lib/vidcore_lite/egl.pyx

  STDOUT:

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_DISPLAY_HANDLE_T disp
        bcm.DisplayHandle D
    disp = bcm.vc_dispmanx_display_open( device )
    if disp == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to display")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_UPDATE_HANDLE_T hdl
        bcm.UpdateHandle U
    hdl = bcm.vc_dispmanx_update_start( priority )
    if hdl == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'


  STDERR:


Traceback (most recent call last):
  File "/usr/local/bin/p4a", line 11, in <module>
    load_entry_point('python-for-android==0.6.0', 'console_scripts', 'p4a')()
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 973, in main
    ToolchainCL()
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 512, in __init__
    getattr(self, args.subparser_name.replace('-', '_'))(args)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 147, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/build.py", line 573, in build_recipes
    recipe.build_arch(arch)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 961, in build_arch
    self.build_cython_components(arch)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 996, in build_cython_components
    self.cythonize_build(env=env)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/kivy/__init__.py", line 18, in cythonize_build
    super(KivyRecipe, self).cythonize_build(env, build_dir=build_dir)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 1041, in cythonize_build
    self.cythonize_file(env, build_dir, join(root, filename))
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/kivy/__init__.py", line 39, in cythonize_file
    super(KivyRecipe, self).cythonize_file(env, build_dir, filename)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipe.py", line 1032, in cythonize_file
    shprint(cython_command, filename, *self.cython_args, _env=cyenv)
  File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/logger.py", line 176, in shprint
    for line in output:
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 863, in next
    self.wait()
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 792, in wait
    self.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.6/dist-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1: 

  RAN: /usr/bin/cython ./kivy/lib/vidcore_lite/egl.pyx

  STDOUT:

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_DISPLAY_HANDLE_T disp
        bcm.DisplayHandle D
    disp = bcm.vc_dispmanx_display_open( device )
    if disp == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to display")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'

Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_UPDATE_HANDLE_T hdl
        bcm.UpdateHandle U
    hdl = bcm.vc_dispmanx_update_start( priority )
    if hdl == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'


  STDERR:

root@462f19489320:/#
```
Google requiring API Target 26 in Aug/Nov 2018
Just wanted to put it on the devs’ radar. We’ve been limited to 19 for the last couple years, afaik, but kivy will need to support targeting 26 for new apps starting in August, and for app updates starting in November: https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html?m=1 

If there’s currently a straightforward way to target 21 or higher then I’ll stand corrected and be very interested in hearing how. 


Discussion:
I think this error arose from a cython version issue that should be fixed if using p4a master with Kivy master and an up to date cython.
I already use git master: `pip3 install -U https://github.com/kivy/python-for-android/archive/master.zip` (I build inside a `Ubuntu 18.04` docker container)

Cython is the version currently shipped in `Ubuntu 18.04`: `0.26.1-0.4` (both cython2/cython3)

Edit: ah. But I'm getting kivy via `--requirements=kivy` of course, so that one is probably not the git master version
I think the documentation recommends `cython==0.21` https://github.com/kivy/buildozer//blob/master/docs/source/installation.rst#android-on-ubuntu-1804-64bit
I usually install it with pip but in user site-package to not mess up with my sys dependencies.
```
pip install --user cython==0.21
```
Then yes also I recommend you to give it a try to latest kivy release in your `--requirements=kivy==1.10.1`. We should definitely update the recipe to pick this up by default here https://github.com/kivy/python-for-android/blob/master/pythonforandroid/recipes/kivy/__init__.py#L9 but I haven't had time to test it up myself before updating.
Yup, `kivy==1.10.1` fixes it, so it appears the recipe needs to be updated
I think this error arose from a cython version issue that should be fixed if using p4a master with Kivy master and an up to date cython.
I already use git master: `pip3 install -U https://github.com/kivy/python-for-android/archive/master.zip` (I build inside a `Ubuntu 18.04` docker container)

Cython is the version currently shipped in `Ubuntu 18.04`: `0.26.1-0.4` (both cython2/cython3)

Edit: ah. But I'm getting kivy via `--requirements=kivy` of course, so that one is probably not the git master version
I think the documentation recommends `cython==0.21` https://github.com/kivy/buildozer//blob/master/docs/source/installation.rst#android-on-ubuntu-1804-64bit
I usually install it with pip but in user site-package to not mess up with my sys dependencies.
```
pip install --user cython==0.21
```
Then yes also I recommend you to give it a try to latest kivy release in your `--requirements=kivy==1.10.1`. We should definitely update the recipe to pick this up by default here https://github.com/kivy/python-for-android/blob/master/pythonforandroid/recipes/kivy/__init__.py#L9 but I haven't had time to test it up myself before updating.
Yup, `kivy==1.10.1` fixes it, so it appears the recipe needs to be updated
Looking into this now, when setting target API as  as 26, it tries to download:
```
    Downloading http://dl.google.com/android/android-sdk_r26-linux.tgz
```
which fails as this file does not exist. The one below does, so that's why it works with sdk 23. 
```
   Downloading http://dl.google.com/android/android-sdk_r23-linux.tgz
```
So google have altered the path of the downloads? It also appears they have changed the location of some files and deprecated the "./android" command which now says you should use the "bin/sdkmanager" tool instead to install sdk's. But I can't find any mention of where they have moved the sdks for downloading. It seems "buildozer/target/android.py " file would need to be changed to use these need tools? 
Google post mentioned at the beginning of this discussion reads:

 In order to provide users with the best Android experience possible, the Google Play Console will require that apps target a recent API level:
- August 2018: New apps required to target API level 26 (Android 8.0) or higher.
-     November 2018: Updates to existing apps required to target API level 26 or higher.
-     2019 onwards: Each year the targetSdkVersion requirement will advance. Within one year following each Android dessert release, new apps and app updates will need to target the corresponding API level or higher.

Existing apps that are not receiving updates are unaffected. Developers remain free to use a minSdkVersion of their choice, so there is no change to your ability to build apps for older Android versions. We encourage developers to provide backwards compatibility as far as reasonably possible. Future Android versions will also restrict apps that don't target a recent API level and adversely impact performance or security. 

Current p4a documentation says ndk r7, SDK 14 - this is years behind current versions. I've tried to build app with SDK=26 and NDK 15c but it has failed. API 27 requires NDK 16, since its platform is not supported in 15c. I haven't tried to use it but I presume it will fail. I've notices p4a uses gcc, gcc was deprecated in NDK r11 and replaced by Clang. Android development team retired ant form SDK a year ago (see https://stackoverflow.com/questions/42912824/the-ant-folder-is-suddenly-missing-from-android-sdk-did-google-remove-it). P4a adopted gradle only last summer. It looks there is plenty to be done and not much time left to catch up. Fortunately Google made revamp easier: it only makes sense to use latest SDK/NdK while building and Android app...

This seems to be the biggest issue facing Kivy (at least for Android devs). Is there some hope that there will be a re-vamp to support SDK 26+? In August, just 3 months away, no one will be able to create a new Kivy app for Android, and in November, any existing apps will be stuck as-is until/unless this is addressed. I need to figure out what I'm doing for current and in-development apps asap. Do we need a bounty?
Unless someone steps in to do the work (which would be welcome, and I can give some guidance), this is waiting on me having some serious time to work on p4a. I hope to get to it soon enough, but I'm not going to make any guarantees right now.

Edit: The hard part as far as I'm concerned is moving to clang. This probably shouldn't actually be a big issue, but I think it's the most unknown quantity involved.
@inclement. I would be happy to help out here, but it's not an area I am familiar with. I was going to take the following approach:

a. Get a VM building against API 27 on an 18.04 Mate Ubuntu OS using AndroidStudio for the SDK installation.
b. Once that is working, clean up, snapshot that and make it publically available for those who need it.
c. Dig into the the python-for-android and buildozer parts that need to automate this process 

I think it's urgent to get a working build VM so the deadline is not a do-or-die. The full solution can then follow in time? 

edit: I should probably  try as use the commandline tools to install the sdk's, as we will probably need to use those via buildozer for the final solution?
Sounds great to me!
On Fri, May 11, 2018 at 5:31 AM Richard Larkin <notifications@github.com>
wrote:

> @inclement <https://github.com/inclement>. I would be happy to help out
> here, but it's not an area I am familiar with. I was going to take the
> following approach:
>
> a. Get a VM building against API 27 on an 18.04 Mate Ubuntu OS using
> AndroidStudio for the SDK installation.
> b. Once that is working, clean up, snapshot that and make it publically
> available for those who need it.
> c. Dig into the the python-for-android and buildozer parts that need to
> automate this process
>
> I think it's urgent to get a working build VM so the deadline is not a
> do-or-die. The full solution can then follow in time?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/kivy/python-for-android/issues/1219#issuecomment-388349993>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AKTLxybbp6nWO0_nTmyvmsk1o0HArVaLks5txYScgaJpZM4RZ5U5>
> .
>

From my point of view, this issue is not with creating a VM but with changing p4a's code to support the latest NDK and SDK. The important steps (which can be done semi-independently) are:

1) Make sure p4a works with API 27, using an up to date Android SDK. I haven't tried this at all, but it shouldn't be too hard, even if it requires a few small changes.

2) Make p4a work with the current NDK. This means making it use clang instead of gcc, as gcc is no longer available. I think this is already working with jni recipes (like sdl2), but the other recipe types use gcc explicitly. In principle this shouldn't be too hard, the process for switching to clang is fairly clear (I've tried it briefly before), but messing with the compiler toolchain inevitably brings up issues to fix and I can't predict how much work will be needed. It could also be possible that using clang would have bigger problems to solve but I hopefully not.
Yes, the VM is my thing for a few reasons. I wanted to (a) check building works on 18.04, (b) be able to experiment with safe snapshots and (c) be able to distribute a working build VM.

But that need not concern you. I will post here when I hit issues and need your assistance. If you need to make changes to p4a, you could perhaps do that on a branch that I can pull and test on. I can also push there with any changes I need to make. I will try with sdk = 27 in the buildozer.spec. You mention a different NDK? What should that be?

Lastly,with regards to gcc vs. clang, don't know much but am willing to learn if you can point me to some docs on changes that will need to be made, which version I need to install etc.

I may need a bit of baby sitting getting started, but will document my learning so this whole process is a bit less "black box" like. I think many people would like to help, but it's not at all obvious how to on a project this size. And it's a bit daunting getting started when no docs exists. I know you do tons, and would like to help relieve you, but how to do that is the question...:-)

> You mention a different NDK? What should that be?

I just mean the latest NDK release from https://developer.android.com/ndk/downloads/ , currently r17. The main change is likely to be the need to move to clang, I don't expect anything else in particular to break.

> Lastly,with regards to gcc vs. clang, don't know much but am willing to learn if you can point me to some docs on changes that will need to be made, which version I need to install etc.

On p4a's side, it currently chooses a gcc toolchain to use, and uses the path to that later in the build process. It does this [here](https://github.com/kivy/python-for-android/blob/master/pythonforandroid/build.py#L414). I think this needs to be changed to look for the clang toolchain instead.

Beyond that, I would basically proceed by trying to change it and seeing what breaks. I don't have a deep idea about what will need doing. There is some clang documentation at https://developer.android.com/ndk/guides/standalone_toolchain#working_with_clang , and I've found before that since many projects have had to make the same change there are plenty of questions already asked online about the problems that come up.

Just to note, while this does need doing, NDK r16 should actually work currently using gcc. I don't think this is going to break in the near future, unlike targeting older apis, although moving to clang is obviously still important.


Okay, so I've got the API-27 SDK installed and unzipped the latest NDK. Working from buildozer master. 
```
# Android SDK found at /home/kivy/Android/Sdk
# Android NDK found at /home/kivy/Android/android-ndk-r16b
```
When I run 'buidozer android debug', I get.
https://gist.github.com/Zen-CODE/9f982e93f437276b9968e1160061a26f

I am using the default-jre/default-jdk with ubuntu 18.04, which seems to be Java 11. Should I be using another java version? Or how to fix? 


This error results from using a recent SDK with older versions of python-for-android, but it should be okay if you use p4a master. Did you set the `p4a.branch = master` option in buildozer.spec? (I think that's the right option name, it should already be there but commented out and set to the default value of stable).
Okay, I have done a git clone of https://github.xom/kivy/python-for-android into /home/kivy/Repos. So the clone lies in /home/kivy/Repos/python-for-android.
In the buildozer.spec file, I have set
```
p4a.source_dir = /home/kivy/Repos/python-for-android

```
and I get
```
# Apache ANT found at /home/kivy/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/kivy/Android/Sdk
# Android NDK found at /home/kivy/Android/android-ndk-r16b
# Run '/home/kivy/Android/Sdk/tools/android list sdk -u -e'
# Cwd /home/kivy/.buildozer/android/platform
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
"android" SDK commands can be translated to sdkmanager commands on a best-effort basis.
Continue? (This prompt can be suppressed with the --use-sdk-wrapper command-line argument
or by setting the USE_SDK_WRAPPER environment variable) [y/N]: y
Running /home/kivy/Android/Sdk/tools/bin/sdkmanager --list --verbose

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
	at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
	at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
	at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
	at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
	at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
	... 5 more
# Command failed: /home/kivy/Android/Sdk/tools/android list sdk -u -e
# 
# 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
kivy@kivy-VirtualBox:~/Repos/kivy/examples/demo/touchtracer$ 

```
edit: master is definitely checked out in the python-for-android clone.
Ah, my mistake, the actual issue is that buildozer itself is not compatible with newer SDKs. It's still good that you're set up with p4a master, your clone method is what I'd recommend for working on this, but it isn't the immediate problem

The issue is that, as outlined by the message, newer SDKs replaced the android binary with sdkmanager. That means buildozer's attempt to query the sdk list [here](https://github.com/kivy/buildozer/blob/master/buildozer/targets/android.py#L324) needs to be changed to use sdkmanager, or ideally to use sdkmanager or android depending on what's available.

The correct command is something like `sdkmanager --list`, as has automatically been guessed in your log, but in that case it looks like some java error has occurred. Does running `/home/kivy/Android/Sdk/tools/bin/sdkmanager --list --verbose` work if you do it directly?
Running "./android list sdk" gives the same error as does the sdkmanager. So I downgraded to openjdk-8 and it sorted that issue. Now I get a venv issue?

https://gist.github.com/Zen-CODE/d2210ec72984eebd48f286d9fc96b315
 
Do you have virtualenv installed?
```
kivy@kivy-VirtualBox:~/Repos/kivy/examples/demo/touchtracer$ pip install virtualenv
Collecting virtualenv
  Using cached https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl
Installing collected packages: virtualenv
Successfully installed virtualenv-16.0.0
```
But still get same error.
Is the virtualenv executable in your $PATH, so you get some answer from `which virtualenv`? That's the method p4a uses to find it, I'm not sure what would cause it to not work here.
Okay, progress. I now get
```
Error compiling Cython file:
------------------------------------------------------------
...
    cdef:
        bcm.DISPMANX_UPDATE_HANDLE_T hdl
        bcm.UpdateHandle U
    hdl = bcm.vc_dispmanx_update_start( priority )
    if hdl == 0:
        raise bcm.BCMDisplayException("Couldn't open handle to update-start")
                ^
------------------------------------------------------------

kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'


  STDERR:

# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Repos/kivy/examples/demo/touchtracer/.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
```
Which I think is a cython version issue. Will downgrade cython and try again....
Rather than downgrading cython, could you make sure you're using kivy master? You can set `kivy==master` in the requirements, as normal.
Still get the same error. It did pull master now. cython version is 28.3. Perhaps a clean or distclean?
Might be worth it. I do recognise this error as a cython problem that was fixed at some point, so some cython version should definitely work.
clean fixed that. Now getting to java errors?
https://gist.github.com/Zen-CODE/36db7280eba0d98207241b10c18f10d4
Ah, this is good, it looks like the build is almost completed at the point it fails.

This error is new to me, though. It looks like some kind of ssl problem when downloading gradle. Do you get the same message (without the p4a stuff) if you navigate to `home/kivy/Repos/kivy/examples/demo/touchtracer/.buildozer/android/platform/build/dists/myapp/` and run `./gradlew assembleDebug`?
Yes. https://gist.github.com/Zen-CODE/e9624b4f8eb27635e9472a5525bade3a
Downloading gradle now. Fixed via the 18.04 tip here: https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty
Oh, nice find, I've never seen anything like it before.
Built!!! :-)
```
# Android packaging done!
# APK myapp-0.1-debug.apk available in the bin directory
```
Will test shortly
Thanks for working on this guys! Hopefully there's a recap or updated build
process down the line, but I'm really looking forward to upgrading my apps
to the latest sdks. I haven't had to deal with runtime permissions requests
on Android yet, but I'm guessing we'll need to update (for instance) the
plyer gps for android to handle this permission request like it already
does on iOS :-P

On Fri, May 18, 2018 at 3:07 PM Richard Larkin <notifications@github.com>
wrote:

> Built!!! :-)
>
> # Android packaging done!
> # APK myapp-0.1-debug.apk available in the bin directory
>
> Will test shortly
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/kivy/python-for-android/issues/1219#issuecomment-390345284>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AKTLx5AJSEuhWzSt0Dm_ZjMVaDHrn1RQks5tz0YXgaJpZM4RZ5U5>
> .
>

The APK installs but the app crashes. Will launch with buildozer and post the logs....
@gorgonaut04. My pleasure. I see my submission to the iStore today also warned that we need to build using the iOS 11 SDK. It all keeps moving! :-)
```
We identified one or more issues with a recent delivery for your app, "CAMI-Apps". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
SDK Version Issue - In July 2018, iOS app updates submitted to the App Store will need to be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Make sure to update Xcode for future app deliveries.
```
Looks like the SDL compile/loading is faililng.
```
V/pythonutil( 3869): Checking pattern libcrypto.*\.so against libSDL2_image.so
V/pythonutil( 3869): Loading library: SDL2
D/dalvikvm( 3869): Trying to load lib /data/app-lib/org.test.myapp-2/libSDL2.so 0x4351f520
D/houdini ( 3869): [3869] Loading library(version: 3.4.7.44914 RELEASE)... successfully.
D/houdini ( 3869): [3869] Open Native Library /data/app-lib/org.test.myapp-2/libSDL2.so failed.
E/dalvikvm( 3869): dlopen("/data/app-lib/org.test.myapp-2/libSDL2.so") failed: dlopen failed: "/data/app-lib/org.test.myapp-2/libSDL2.so" has unexpected e_machine: 40
V/pythonutil( 3869): Library loading error: dlopen failed: "/data/app-lib/org.test.myapp-2/libSDL2.so" has unexpected e_machine: 40
V/pythonutil( 3869): An UnsatisfiedLinkError occurred loading SDL2
W/System.err( 3869): dlopen failed: "/data/app-lib/org.test.myapp-2/libSDL2.so" has unexpected e_machine: 40
D/dalvikvm( 3869): GC_FOR_ALLOC freed 1652K, 44% free 6805K/11948K, paused 6ms, total 6ms
W/dalvikvm( 3869): No implementation found for native Lorg/libsdl/app/SDLActivity;.nativeSetEnv:(Ljava/lang/String;Ljava/lang/String;)V
D/AndroidRuntime( 3869): Shutting down VM
W/dalvikvm( 3869): threadid=1: thread exiting with uncaught exception (group=0x42f05500)
E/AndroidRuntime( 3869): FATAL EXCEPTION: main

```
Edit: This is part of the output. Please say if you need more. The splash screen displays, they then "The application has stopped working" message dispalys.
Are you running on an x86 device or emulator? I think the e-machine thing means libSDL2.so is compiled for arm but that this doesn't match your device architecture.
An atom based tablet but libhoudini takes care of that. Our current apk
runs on this device no probs. I will test on an ARM device though and post
those logs too...

On Sun, 20 May 2018, 16:33 Alexander Taylor <notifications@github.com>
wrote:

> Are you running on an x86 device or emulator? I think the e-machine thing
> means libSDL2.so is compiled for arm but that this doesn't match your
> device architecture.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/kivy/python-for-android/issues/1219#issuecomment-390487111>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADYDK63HhluwjWbUhKewOVFpo2x_1FlHks5t0X6ngaJpZM4RZ5U5>
> .
>

On a Mecer ARM
```
V/pythonutil( 4416): Checking pattern libcrypto.*\.so against libSDL2_image.so
V/pythonutil( 4416): Loading library: SDL2
D/dalvikvm( 4416): Trying to load lib /data/app-lib/org.test.myapp-2/libSDL2.so 0x413ad490
E/dalvikvm( 4416): dlopen("/data/app-lib/org.test.myapp-2/libSDL2.so") failed: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "srand" referenced by "libSDL2.so"...
V/pythonutil( 4416): Library loading error: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "srand" referenced by "libSDL2.so"...
V/pythonutil( 4416): An UnsatisfiedLinkError occurred loading SDL2
W/System.err( 4416): Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "srand" referenced by "libSDL2.so"...
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/dalvikvm( 4416): GC_FOR_ALLOC freed 2424K (5898), 51% free 3176K/6452K, paused 10ms, total 10ms
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/dalvikvm( 4416): GC_FOR_ALLOC freed 694K (448), 45% free 3594K/6452K, paused 9ms, total 9ms
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
D/skia    ( 4416): Flag is not 10
V/WindowManager(  504): Changing focus from Window{419df058 u0 org.test.myapp/org.kivy.android.PythonActivity} to Window{41c41628 u0 org.test.myapp/org.kivy.android.PythonActivity}
I/WindowManager(  504): Gaining focus: Window{41c41628 u0 org.test.myapp/org.kivy.android.PythonActivity}
W/dalvikvm( 4416): No implementation found for native Lorg/libsdl/app/SDLActivity;.nativeSetEnv:(Ljava/lang/String;Ljava/lang/String;)V
D/AndroidRuntime( 4416): Shutting down VM
W/dalvikvm( 4416): threadid=1: thread exiting with uncaught exception (group=0x410fa9a8)
E/AndroidRuntime( 4416): FATAL EXCEPTION: main
```
Complete log of "buildozer android debug" after "buildozer distclean" here:
https://gist.github.com/Zen-CODE/ca841508c5c4a48b6c7b864e86c942b9
@inclement. Any suggestions as to what I can look at? Willing to read/learn/try, but not sure where to start?
Just to check I understand where you currently are (I think I misunderstoood the previous post), testing on an arm device gives the `No implementation found for native Lorg/libsdl/app/SDLActivity;.nativeSetEnv:(Ljava/lang/String;Ljava/lang/String;)V` error?

I don't know what would cause this, I don't think I've seen this error before. Is it with python2 or python3crystax, and if so does using the other one work?
The ARM device fails with the below.
```
D/dalvikvm( 4416): Trying to load lib /data/app-lib/org.test.myapp-2/libSDL2.so 0x413ad490
E/dalvikvm( 4416): dlopen("/data/app-lib/org.test.myapp-2/libSDL2.so") failed: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "srand" referenced by "libSDL2.so"...
```
Complete: https://gist.github.com/Zen-CODE/ca841508c5c4a48b6c7b864e86c942b9

The build is successful, but running fails with that message...


I found some old links suggesting using NDK 10 or higher to fix this, but it looks like you're using r16b, is that correct?

I guess that does suggest it could be an NDK version error, but it's a bit mysterious to me how or why. You could try using the CrystaX NDK just in case, since it's somewhat different to the current Android NDK.
Yes, using r16b. Would I need to use Python3 for the Crystax NDK? I've only been trying using 2.7, but I can setup 3 if you think it's worth it...
No, python 2 is fine. The CrystaX NDK is just a drop-in replacement for 
the normal NDK in most circumstances.


On 06/06/18 22:11, Richard Larkin wrote:
>
> Yes, using r16b. Would I need to use Python3 for the Crystax NDK? I've 
> only been trying using 2.7, but I can setup 3 if you think it's worth 
> it...
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub 
> <https://github.com/kivy/python-for-android/issues/1219#issuecomment-395215167>, 
> or mute the thread 
> <https://github.com/notifications/unsubscribe-auth/ABNQm3zifMJGoaLn2CQ6peN0mdAWdGiKks5t6EVvgaJpZM4RZ5U5>.
>


Thanks so much for working on this @Zen-CODE & @inclement ! EDIT: actually I was able to get roll-out started. My fault rookie mistake!
@40four. No worries :-) Are you sure it's not just a warning, and won't actually allow you to submit? What is exact message it gives you?
Yeah my fault, I just didn't know what I was doing in the play console. I hadn't finished some of the other requirements! 
@inclement. Looking in the crystax platform folder, it only seems to support up to API 21...
```
[INFO]:    Using Crystax NDK r16b
[INFO]:    Found virtualenv at /usr/bin/virtualenv
[INFO]:    ccache is missing, the build will not be optimized in the future.
[WARNING]: ndk_platform doesn't exist: /home/kivy/Android/crystax-ndk-10.3.2/platforms/android-27/arch-arm
[INFO]:    Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
[INFO]:    Picking the latest gcc toolchain, here 5
[ERROR]:   python-for-android cannot continue; aborting
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy==master,crystax --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Repos/kivy/examples/demo/touchtracer/.buildozer/android/platform/build
```

Update: Fixed the above by copying the android-27 folder from the r16b zip. Running a new build now...
It now builds with crystax and still fails on the SDL2, but with a different error.

https://gist.github.com/Zen-CODE/7ed1bbcb562bfa93ea745ac8c50904e9
```
06-08 15:16:47.987 24752 24752 V pythonutil: Checking pattern libcrypto.*\.so against libmain.so
06-08 15:16:47.987 24752 24752 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2.so
06-08 15:16:47.988 24752 24752 V pythonutil: Checking pattern libcrypto.*\.so against libSDL2_image.so
06-08 15:16:47.988 24752 24752 V pythonutil: Loading library: SDL2
06-08 15:16:47.995 24752 24752 V pythonutil: Library loading error: dlopen failed: cannot locate symbol "__aeabi_memclr8" referenced by "/data/app/org.test.myapp-1/lib/arm/libSDL2.so"...
06-08 15:16:47.995 24752 24752 V pythonutil: An UnsatisfiedLinkError occurred loading SDL2
06-08 15:16:47.995 24752 24752 W System.err: dlopen failed: cannot locate symbol "__aeabi_memclr8" referenced by "/data/app/org.test.myapp-1/lib/arm/libSDL2.so"...
06-08 15:16:47.999 24752 24752 D PhoneWindowEx: Ex2. SystemProperties.get result >> #ff000000
```
Update: It seems like the building of SDL2 is the cause of both these APK's failing. How can I look more closely at that? Is there a way I can get buildozer to halt when it builds that file? Or tell it only to build libSDL2.so?
Hi guys, TL;DR the whole conversation. But I think I can help for the new SDK part @inclement 
In fact I already use a very up to to date SDK with p4a/buildozer and it works OK, see https://github.com/AndreMiras/EtherollApp/blob/v20180531/dockerfiles/Dockerfile-android#L57

Basically I download SDK tools version 3859397 from https://developer.android.com/studio/index.html and call `sdkmanager` a few time to update and install API.
I have a Makefile here which is pretty straightforward, see https://github.com/AndreMiras/dockerfiles/blob/master/buildozer_android_new/android_sdk.mk

I can convert it to a python to make a buildozer pull request if you guys are interested.
Currently I just symlink it directly to `${HOME}/.buildozer/android/platform/android-sdk-20` and it works like a drop-in replacement with existing `buildozer` code.
If you're interested then I would split this conversation in a dedicated buildozer ticket and start working from here.
Thanks, will look into that. Sorry for the delay, but currently working on urgent projects. Will get back to this as soon as time allows.
Great news. Just successfully build and run touchtracer using ndk r16b and API 27 for python 2. I've tried so much that I'm not sure exactly what the crucial step was. I suspect it was using the android tool to handle updates and platform tools installations. But can't be 100% sure. Either way, it's a big relief to know API 27 is do-able :-)

Will try python 3 this week...
Great, very nice work!


On 08/07/18 10:08, Richard Larkin wrote:
>
> Great news. Just successfully build and run touchtracer using ndk r16b 
> and API 27 for python 2. I've tried so much that I'm not sure exactly 
> what the crucial step was. I suspect it was using the android tool to 
> handle updates and platform tools installations. But can be 100% sure. 
> Either way, it's a big relied to know API 27 is do-able :-)
>
> Will try python 3 this week...
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub 
> <https://github.com/kivy/python-for-android/issues/1219#issuecomment-403273811>, 
> or mute the thread 
> <https://github.com/notifications/unsubscribe-auth/ABNQmyBbDsWAlZi_0Zounql8N_dLB1aHks5uEcwFgaJpZM4RZ5U5>.
>


Okay, so now I'm trying (on 16.04) with Python 3.5.2 using the crystax 10.3.2 NDK and I get the following:
```
[INFO]:    Prebuilding kivy for armeabi-v7a
[INFO]:    kivy has no prebuild_armeabi_v7a, skipping
[INFO]:    # Building recipes
[INFO]:    Building hostpython3crystax for armeabi-v7a
[INFO]:    Building sdl2_image for armeabi-v7a
[INFO]:    Building sdl2_mixer for armeabi-v7a
[INFO]:    Building sdl2_ttf for armeabi-v7a
[INFO]:    Building python3crystax for armeabi-v7a
[INFO]:    Building sdl2 for armeabi-v7a
[WARNING]: Couldn't find executable for CC. This indicates a problem locating the {} executable in the Android NDK, not that you don't have a normal compiler installed. Exiting.
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=touchtracer --bootstrap=sdl2 --requirements=python3crystax,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/Repos/Python3/kivy/examples/demo/touchtracer/.buildozer/android/platform/build
```
Frikkin yay! Got Python3 building with the CrystaxNDK, API 27. It required me to copy the "platform/android-27" folder from a newer SDK into the Crystax NDK "platform/android-27" folder and that works. Lots of trials and tribulations along the way, but such is the journey of learning.

But to the point. I will now finalise, clean and compact the "Kivy Complete VM", upload it and announce it's availability on the forums. It will be able build Python2 or Python3 APK's with API 19 or 27. I've removed support for other API's as they are not really valuable and quite size-able on disk.

@inclement. Regarding making this work easily with buildozer as is, I think I will need to start from scratch now that I have a better understanding of how stuff fits together and what the end-system looks like. Its (seems) good news we can still use the android 23 SDK as the "android" executable functionality seems to move to "bin/sdkmanager" with later SDK's. That can be addressed in time....

Thanks again for all the great work you have+are doing. Respect.


> It required me to copy the "platform/android-27" folder from a newer SDK into the Crystax NDK "platform/android-27" folder and that works.

Nice, a convenient hack!

> Its (seems) good news we can still use the android 23 SDK as the "android" executable functionality seems to move to "bin/sdkmanager" with later SDK's.

python-for-android should already work with this, if it doesn't it's a bug rather than a totally missing feature.
Hi Zen-Code,
How did you build apk using ndk r16b and API 27 for python 2?
I can generate the apk but there is always an error in the execution: SDL Error dlopen failed: can not locate simbol "ftello64" referenced by "libpython2.7.so"
Hi

I am about to make a post announcing the release to a VM for building those
APKs and with instructions that might help. I will let you know when that
is done.

Cheers

On Tue, 17 Jul 2018, 00:19 edsonitk, <notifications@github.com> wrote:

> Hi Zen-Code,
> How did you build apk using ndk r16b and API 27 for python 2?
> I can generate the apk but there is always an error in the execution: SDL
> Error dlopen failed: can not locate simbol "ftello64" referenced by "
> libpython2.7.so"
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/kivy/python-for-android/issues/1219#issuecomment-405399268>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADYDK14i9JRxvMn_wWYJHZjhRfNCPRVtks5uHRGKgaJpZM4RZ5U5>
> .
>


Resolving patch:
diff --git a/pythonforandroid/recipes/kivy/__init__.py b/pythonforandroid/recipes/kivy/__init__.py
--- a/pythonforandroid/recipes/kivy/__init__.py
+++ b/pythonforandroid/recipes/kivy/__init__.py
@@ -6,14 +6,12 @@
 
 
 class KivyRecipe(CythonRecipe):
-    version = '1.10.0'
+    version = '1.10.1'
     url = 'https://github.com/kivy/kivy/archive/{version}.zip'
     name = 'kivy'
 
     depends = [('sdl2', 'pygame'), 'pyjnius']
 
-    # patches = ['setargv.patch']
-
     def cythonize_build(self, env, build_dir='.'):
         super(KivyRecipe, self).cythonize_build(env, build_dir=build_dir)
 


Test patch: