kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.34k stars 1.85k forks source link

kivy build error with python3crystax #1328

Closed ghost closed 6 years ago

ghost commented 6 years ago

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:/#
inclement commented 6 years ago

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.

ghost commented 6 years ago

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

AndreMiras commented 6 years ago

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.

ghost commented 6 years ago

Yup, kivy==1.10.1 fixes it, so it appears the recipe needs to be updated

AndreMiras commented 6 years ago

Glad to hear, thanks, I've just created https://github.com/kivy/python-for-android/pull/1330 and I'll ping the channel to review and merge if continuous integration turns green.