[INFO]: This python-for-android revamp is an experimental alpha release!
[INFO]: It should work (mostly), but you may experience missing features or bugs.
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (14, 19, 20, 22)
[INFO]: Requested API target 14 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[WARNING]: NDK version was set as r10e, but checking the NDK dir claims it is r10e-rc4.
[WARNING]: The build will try to continue, but it may fail and you should check that your setting is correct.
[WARNING]: If the NDK dir result is correct, you don't need to manually set the NDK ver.
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[DEBUG]: Found toolchain version: 4.9
[DEBUG]: Found toolchain version: 4.8
[DEBUG]: Found toolchain version: clang3.5
[DEBUG]: Found toolchain version: clang3.6
[INFO]: Found the following toolchain versions: ['4.8', '4.9', 'clang3.5', 'clang3.6']
[INFO]: Picking the latest gcc toolchain, here 4.9
[WARNING]: Missing executable: libtoolize is not installed
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Bootstrap requires recipes ['hostpython2', 'python2', 'pyjnius', 'sdl', 'pygame', 'android', 'kivy']
[INFO]: No recipe named kivy==master; will attempt to install with pip
[INFO]: Loaded recipe hostpython2 (depends on [], conflicts ['hostpython3'])
[INFO]: Loaded recipe pygame (depends on ['python2', 'sdl'], conflicts ['sdl2'])
[INFO]: Loaded recipe kivy (depends on [('sdl2', 'pygame'), 'pyjnius'])
[INFO]: Loaded recipe sdl (depends on ['python2', 'pygame_bootstrap_components'], conflicts ['sdl2'])
[INFO]: Loaded recipe pyjnius (depends on ['python2', ('sdl2', 'sdl')])
[INFO]: Loaded recipe android (depends on ['pygame'], conflicts ['sdl2'])
[INFO]: Loaded recipe python2 (depends on ['hostpython2'], conflicts ['python3'])
[INFO]: Loaded recipe pygame_bootstrap_components (depends on [])
[INFO]: Found a single valid recipe set (this is good)
[INFO]: The selected bootstrap is pygame
[INFO]: # Creating dist with pygame bootstrap
[INFO]: Dist will have name AwesomeCNN and recipes (pyjnius, kivy==master)
[DEBUG]: running cp -r /home/dave/.local/lib/python2.7/site-packages/python_for_android-0.3-py2.7.egg/pythonforandroid/bootstraps/pygame/build /home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Recipe build order is ['hostpython2', 'pygame_bootstrap_components', 'python2', 'sdl', 'pygame', 'pyjnius', 'android', 'kivy']
[INFO]: The requirements (kivy==master) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[DEBUG]: running mkdir -p /home/dave/.local/share/python-for-android/packages/hostpython2
[INFO]: -> directory context /home/dave/.local/share/python-for-android/packages/hostpython2
[DEBUG]: running basename
http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2[DEBUG]: Python-2.7.2.tar.bz2
[INFO]: hostpython2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Downloading pygame_bootstrap_components
[DEBUG]: running mkdir -p /home/dave/.local/share/python-for-android/packages/pygame_bootstrap_components
[INFO]: -> directory context /home/dave/.local/share/python-for-android/packages/pygame_bootstrap_components
[DEBUG]: running basename
https://github.com/inclement/p4a-pygame-bootstrap-components/archive/master.zip[DEBUG]: master.zip
[INFO]: pygame_bootstrap_components download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Downloading python2
[DEBUG]: running mkdir -p /home/dave/.local/share/python-for-android/packages/python2
[INFO]: -> directory context /home/dave/.local/share/python-for-android/packages/python2
[DEBUG]: running basename
http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2[DEBUG]: Python-2.7.2.tar.bz2
[INFO]: python2 download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Downloading sdl
[INFO]: Skipping sdl download as no URL is set
[INFO]: Downloading pygame
[DEBUG]: running mkdir -p /home/dave/.local/share/python-for-android/packages/pygame
[INFO]: -> directory context /home/dave/.local/share/python-for-android/packages/pygame
[DEBUG]: running basename
http://pygame.org/ftp/pygame-1.9.1release.tar.gz[DEBUG]: pygame-1.9.1release.tar.gz
[INFO]: pygame download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Downloading pyjnius
[DEBUG]: running mkdir -p /home/dave/.local/share/python-for-android/packages/pyjnius
[INFO]: -> directory context /home/dave/.local/share/python-for-android/packages/pyjnius
[DEBUG]: running basename
https://github.com/kivy/pyjnius/archive/master.zip[DEBUG]: master.zip
[INFO]: pyjnius download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Downloading android
[INFO]: Skipping android download as no URL is set
[INFO]: Downloading kivy
[DEBUG]: running mkdir -p /home/dave/.local/share/python-for-android/packages/kivy
[INFO]: -> directory context /home/dave/.local/share/python-for-android/packages/kivy
[DEBUG]: running basename
https://github.com/kivy/kivy/archive/master.zip[DEBUG]: master.zip
[INFO]: kivy download already cached, skipping
[WARNING]: Should check headers here! Skipping for now.
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: # Building all recipes for arch armeabi
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython2 for armeabi
[DEBUG]: running basename
http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2[DEBUG]: Python-2.7.2.tar.bz2
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/other_builds/hostpython2/armeabi
[INFO]: hostpython2 is already unpacked, skipping
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Unpacking pygame_bootstrap_components for armeabi
[DEBUG]: running basename
https://github.com/inclement/p4a-pygame-bootstrap-components/archive/master.zip[DEBUG]: master.zip
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame/jni
[INFO]: pygame_bootstrap_components is already unpacked, skipping
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Unpacking python2 for armeabi
[DEBUG]: running basename
http://python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2[DEBUG]: Python-2.7.2.tar.bz2
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/other_builds/python2/armeabi
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Unpacking sdl for armeabi
[INFO]: Skipping sdl unpack as no URL is set
[INFO]: Unpacking pygame for armeabi
[DEBUG]: running basename
http://pygame.org/ftp/pygame-1.9.1release.tar.gz[DEBUG]: pygame-1.9.1release.tar.gz
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/other_builds/pygame/armeabi
[INFO]: pygame is already unpacked, skipping
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: Unpacking pyjnius for armeabi
[DEBUG]: running basename
https://github.com/kivy/pyjnius/archive/master.zip[DEBUG]: master.zip
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/other_builds/pyjnius-sdl/armeabi
[INFO]: pyjnius is already unpacked, skipping
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[DEBUG]: running cp -a /home/dave/.local/lib/python2.7/site-packages/python_for_android-0.3-py2.7.egg/pythonforandroid/recipes/android/src /home/dave/.local/share/python-for-android/build/other_builds/android/armeabi/android
[INFO]: Unpacking kivy for armeabi
[DEBUG]: running basename
https://github.com/kivy/kivy/archive/master.zip[DEBUG]: master.zip
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/other_builds/kivy-pygame/armeabi
[INFO]: kivy is already unpacked, skipping
[INFO]: <- directory context /home/dave/workspace/awesome-cnn
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi
[DEBUG]: running cp /home/dave/.local/lib/python2.7/site-packages/python_for_android-0.3-py2.7.egg/pythonforandroid/recipes/hostpython2/Setup /home/dave/.local/share/python-for-android/build/other_builds/hostpython2/armeabi/hostpython2/Modules/Setup
[INFO]: Prebuilding pygame_bootstrap_components for armeabi
[INFO]: Unpacking pygame bootstrap JNI dir components
[INFO]: -> directory context /home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame/jni
File "/home/dave/.local/lib/python2.7/site-packages/python_for_android-0.3-py2.7.egg/pythonforandroid/toolchain.py", line 1771, in build_arch
getattr(self, build)()
File "/home/dave/.local/lib/python2.7/site-packages/python_for_android-0.3-py2.7.egg/pythonforandroid/recipes/pygame/__init__.py", line 62, in build_armeabi
shprint(hostpython, 'setup.py', 'install', '-O2', _env=env)
RAN: '/home/dave/.local/share/python-for-android/build/python-installs/AwesomeCNN/bin/python.host setup.py install -O2'
STDOUT:
running install
running build
running build_py
running build_ext
building 'pygame.imageext' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dave/bin/android-ndk-r10e/platforms/android-14/arch-arm -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dave/bin/android-ndk-r10e/platforms/android-14/arch-arm -I/home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/png -I/home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/jpeg -I/home/dave/.local/share/python-for-android/build/bootstrap_builds/pygame/jni/sdl/include -I/home/dave/.local/share/python-for-android/build/bootstrap_builds... (765 more, please see e.stdout)
STDERR: