Numpy Issue: Cannot link a simple C program when using buildozer to build

70 views
Skip to first unread message

vishal dani

unread,
Jan 28, 2019, 12:08:18 AM1/28/19
to Kivy users support
I am new to kivy and was trying to implement a opencv program using it. 
I am using this repository for understanding: https://github.com/liyuanrui/kivy-for-android-opencv-demo
numpy is working fine in normal python, but while making application I am getting this error.

log: 
gb@ubuntu:~$ cd /home/gb/Downloads/kivy-for-android-opencv-demo-master
gb@ubuntu
:~/Downloads/kivy-for-android-opencv-demo-master$ . ~/mykivypython3/bin/activate
(mykivypython3) gb@ubuntu:~/Downloads/kivy-for-android-opencv-demo-master$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.0.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later
for copying conditions. There is NO warranty.
# Search for Git (git)
#  -> found at /usr/bin/git
# Search for Cython (cython)
#  -> found at /home/gb/mykivypython3/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Run "/home/gb/mykivypython3/bin/python3 -m pip install -q  'appdirs' 'colorama>=0.3.3' 'jinja2' 'six'"
# Cwd None
# Apache ANT found at /home/gb/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/gb/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/gb/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/home/gb/mykivypython3/bin/python3 -m pythonforandroid.toolchain create --dist_name=opencvdemo --bootstrap=sdl2 --requirements=kivy,python2,numpy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build"'
# Cwd /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI
[INFO]:    Available Android APIs are (19)
[INFO]:    Requested API target 19 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK
[INFO]:    Got NDK version from $ANDROIDNDKVER
[INFO]:    Using Google NDK r9c
[INFO]:    Found virtualenv at /home/gb/mykivypython3/bin/virtualenv
[INFO]:    Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]:    Picking the latest gcc toolchain, here 4.8
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
[INFO]:    Found multiple valid dependency orders:
[INFO]:        ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', 'opencv', 'pyjnius', 'kivy']
[INFO]:        ['hostpython2', 'pygame_bootstrap_components', 'python2', 'numpy', 'sdl', 'six', 'opencv', 'pygame', 'pyjnius', 'kivy']
[INFO]:    Using the first of these: ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', 'opencv', 'pyjnius', 'kivy']
[INFO]:    The selected bootstrap is sdl2_gradle
[INFO]:    # Creating dist with sdl2_gradle bootstrap
[INFO]:    Dist will have name opencvdemo and recipes (kivy, python2, numpy, opencv)
[INFO]:    Dist will also contain modules () installed from pip
[INFO]:    -> running cp -r /home/gb/Downloads/kivy-...(and 262 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', 'opencv', 'pyjnius', 'kivy']
[INFO]:    # Downloading recipes
[INFO]:    Downloading hostpython2
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 88 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/hostpython2
[INFO]:    -> running basename https://python.org/ftp...(and 34 more)
[INFO]:    hostpython2 download already cached, skipping                      
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_image
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 87 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2_image
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    sdl2_image download already cached, skipping                        
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_mixer
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 87 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    sdl2_mixer download already cached, skipping                        
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2_ttf
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 85 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]:    -> running basename https://www.libsdl.org...(and 48 more)
[INFO]:    sdl2_ttf download already cached, skipping                          
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading python2
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 84 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/python2
[INFO]:    -> running basename https://python.org/ftp...(and 34 more)
[INFO]:    python2 download already cached, skipping                          
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading numpy
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 82 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/numpy
[INFO]:    -> running basename https://pypi.python.or...(and 44 more)
[INFO]:    numpy download already cached, skipping                            
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading sdl2
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 81 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2
[INFO]:    -> running basename https://www.libsdl.org...(and 26 more)
[INFO]:    sdl2 download already cached, skipping                              
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading six
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 80 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/six
[INFO]:    -> running basename https://pypi.python.or...(and 40 more)
[INFO]:    six download already cached, skipping                              
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading opencv
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 83 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/opencv
[INFO]:    -> running basename https://github.com/Its...(and 31 more)
[INFO]:    opencv download already cached, skipping                            
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading pyjnius
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 84 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    pyjnius download already cached, skipping                          
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Downloading kivy
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 81 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/kivy
[INFO]:    -> running basename https://github.com/kiv...(and 25 more)
[INFO]:    kivy download already cached, skipping                              
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython2 for armeabi-v7a
[INFO]:    -> running basename https://python.org/ftp...(and 34 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]:    hostpython2 is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sdl2_image for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]:    sdl2_image is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sdl2_mixer for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]:    sdl2_mixer is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sdl2_ttf for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org...(and 48 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]:    sdl2_ttf is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking python2 for armeabi-v7a
[INFO]:    -> running basename https://python.org/ftp...(and 34 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
[INFO]:    python2 is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking numpy for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 44 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a
[INFO]:    numpy is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking sdl2 for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org...(and 26 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]:    sdl2 is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 40 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking opencv for armeabi-v7a
[INFO]:    -> running basename https://github.com/Its...(and 31 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a
[INFO]:    opencv is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Unpacking kivy for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 25 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
[INFO]:    kivy is already unpacked, skipping
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython2 for armeabi-v7a
[INFO]:    -> running cp /home/gb/Downloads/kivy-for...(and 285 more)
[INFO]:    Prebuilding sdl2_image for armeabi-v7a
[INFO]:    sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_image[armeabi-v7a]
[INFO]:    sdl2_image already patched, skipping
[INFO]:    Prebuilding sdl2_mixer for armeabi-v7a
[INFO]:    sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]:    sdl2_mixer already patched, skipping
[INFO]:    Prebuilding sdl2_ttf for armeabi-v7a
[INFO]:    sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding python2 for armeabi-v7a
[INFO]:    python2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for python2[armeabi-v7a]
[INFO]:    python2 already patched, skipping
[INFO]:    Prebuilding numpy for armeabi-v7a
[INFO]:    numpy has no prebuild_armeabi_v7a, skipping
[WARNING]: Numpy is built assuming the archiver name is arm-linux-androideabi-ar, which may not always be true!
[INFO]:    Applying patches for numpy[armeabi-v7a]
[INFO]:    numpy already patched, skipping
[INFO]:    Prebuilding sdl2 for armeabi-v7a
[INFO]:    sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2[armeabi-v7a]
[INFO]:    sdl2 already patched, skipping
[INFO]:    Prebuilding six for armeabi-v7a
[INFO]:    six has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding opencv for armeabi-v7a
[INFO]:    Applying patches for opencv[armeabi-v7a]
[INFO]:    opencv already patched, skipping
[INFO]:    Applying patches for opencv[armeabi-v7a]
[INFO]:    opencv already patched, skipping
[INFO]:    Prebuilding pyjnius for armeabi-v7a
[INFO]:    pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for pyjnius[armeabi-v7a]
[INFO]:    pyjnius already patched, skipping
[INFO]:    Prebuilding kivy for armeabi-v7a
[INFO]:    kivy has no prebuild_armeabi_v7a, skipping
[INFO]:    # Building recipes
[INFO]:    Building hostpython2 for armeabi-v7a
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]:    hostpython already exists, skipping build
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]:    Building sdl2_image for armeabi-v7a
[INFO]:    Building sdl2_mixer for armeabi-v7a
[INFO]:    Building sdl2_ttf for armeabi-v7a
[INFO]:    Building python2 for armeabi-v7a
[INFO]:    Copying hostpython binary to targetpython folder
[INFO]:    -> running cp /home/gb/Downloads/kivy-for...(and 261 more)
[INFO]:    Building numpy for armeabi-v7a
[INFO]:    numpy apparently isn't already in site-packages
[INFO]:    Building compiled components in numpy
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy
[INFO]:    -> running python.host setup.py build_ext -v
           working: RuntimeError: Broken toolchain: cannot lin...(and 20 more) Exception in thread background thread for pid 3150:
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 "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:


  RAN: /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/bin/python.host setup.py build_ext -v


  STDOUT:
Running from numpy source directory.
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: '
test_suite'
  warnings.warn(msg)
non-existing path in '
numpy/distutils': 'site.cfg'
non-existing path in '
numpy/f2py': 'docs'
non-existing path in '
numpy/f2py': 'f2py.1'
/bin/sh: 1: svnversion: not found
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


openblas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_3_10_blas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_blas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1604: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1613: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1616: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
  NOT AVAILABLE


/bin/sh: 1: svnversion: not found
non-existing path in '
numpy/lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


lapack_mkl_info:
mkl_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


  NOT AVAILABLE


atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_3_10_threads_info
  NOT AVAILABLE


atlas_3_10_info:
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_3_10_info
  NOT AVAILABLE


atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE


atlas_info:
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1506: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1517: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1520: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: '
define_macros'
  warnings.warn(msg)
running build_ext
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
Found executable /home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld
Found executable /home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
Found executable /home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -isysroot /home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -isysroot /home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC


compile options: '
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 -c'
ccache: _configtest.c
/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -isysroot /home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 _configtest.o -o _configtest
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
collect2: error: ld returned 1 exit status
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
  File "setup.py", line 251, in <module>
    setup_package()
  File "setup.py", line 243, in setup_package
    setup(**metadata)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_ext.py", line 59, in run
    self.run_command('
build_src')
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 153, in run
    self.build_sources()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 164, in build_sources
    self.build_library_sources(*libname_info)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 299, in build_library_sources
    sources = self.generate_sources(sources, (lib_name, build_info))
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 386, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 686, in get_mathlib_info
    raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program




  STDERR:


                                                                               
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 978, in <module>
    main()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 975, in main
    ToolchainCL()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 512, in __init__
    getattr(self, args.subparser_name.replace('
-', '_'))(args)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 149, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/build.py", line 573, in build_recipes
    recipe.build_arch(arch)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipe.py", line 843, in build_arch
    self.build_compiled_components(arch)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/recipe.py", line 855, in build_compiled_components
    _env=env, *self.setup_extra_args)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/python-for-android-new-toolchain/pythonforandroid/logger.py", line 175, in shprint
    for line in output:
  File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 863, in next
    self.wait()
  File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 792, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:


  RAN: /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/bin/python.host setup.py build_ext -v


  STDOUT:
Running from numpy source directory.
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: '
test_suite'
  warnings.warn(msg)
non-existing path in '
numpy/distutils': 'site.cfg'
non-existing path in '
numpy/f2py': 'docs'
non-existing path in '
numpy/f2py': 'f2py.1'
/bin/sh: 1: svnversion: not found
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


openblas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_3_10_blas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


atlas_blas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1604: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1613: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1616: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
  NOT AVAILABLE


/bin/sh: 1: svnversion: not found
non-existing path in '
numpy/lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


lapack_mkl_info:
mkl_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


  NOT AVAILABLE


atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_3_10_threads_info
  NOT AVAILABLE


atlas_3_10_info:
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_3_10_info
  NOT AVAILABLE


atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE


atlas_info:
  libraries  not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries lapack_atlas not found in /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib
  libraries  not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries  not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries  not found in /usr/lib/x86_64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1506: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries  not found in ['
/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1517: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/system_info.py:1520: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE


/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: '
define_macros'
  warnings.warn(msg)
running build_ext
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
Found executable /home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld
Found executable /home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
Found executable /home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -isysroot /home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -isysroot /home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC


compile options: '
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 -c'
ccache: _configtest.c
/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -isysroot /home/gb/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -I/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/include/python2.7 _configtest.o -o _configtest
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
collect2: error: ld returned 1 exit status
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/gb/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
  File "setup.py", line 251, in <module>
    setup_package()
  File "setup.py", line 243, in setup_package
    setup(**metadata)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_ext.py", line 59, in run
    self.run_command('
build_src')
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/python-installs/opencvdemo/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 153, in run
    self.build_sources()
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 164, in build_sources
    self.build_library_sources(*libname_info)
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 299, in build_library_sources
    sources = self.generate_sources(sources, (lib_name, build_info))
  File "/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 386, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 686, in get_mathlib_info
    raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program




  STDERR:


# Command failed: /home/gb/mykivypython3/bin/python3 -m pythonforandroid.toolchain create --dist_name=opencvdemo --bootstrap=sdl2 --requirements=kivy,python2,numpy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build"
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
(mykivypython3) gb@ubuntu:~/Downloads/kivy-for-android-opencv-demo-master$

Buildozer.spec:

[app]


# (str) Title of your application
title
= opencv demo


# (str) Package name
package.name = opencvdemo


# (str) Package domain (needed for android/ios packaging)
package.domain = cool.lr


# (str) Source code where the main.py live
source
.dir = .


# (list) Source files to include (let empty to include all the files)
#source.include_exts = py,png,jpg,kv,atlas


# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png


# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec


# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin


# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg


# (str) Application versioning (method 1)
version
= 0.1


# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py


# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy
requirements
= kivy,python2,numpy,opencv


# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy


# (list) Garden requirements
#garden_requirements =


# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png


# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png


# (str) Supported orientation (one of landscape, portrait or all)
orientation
= portrait


# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY


#
# OSX Specific
#


#
# author = © Copyright Info


#
# Android specific
#


# (bool) Indicate if the application should be fullscreen or not
fullscreen
= 0


# (list) Permissions
android
.permissions = CAMERA


# (int) Android API to use
#android.api = 27


# (int) Minimum API required
#android.minapi = 9


# (int) Android SDK version to use
#android.sdk = 20


# (str) Android NDK version to use
#android.ndk = 9c


# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True


# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =


# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =


# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =


# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#android.p4a_dir =


#p4a.source_dir = /home/gb/fix-numpy


# (list) python-for-android whitelist
#android.p4a_whitelist =


# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False


# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity


# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar


# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =


# (str) python-for-android branch to use, if not master, useful to try
# not yet merged features.
#android.branch = master


# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME


# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png


# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =


# (list) Android additionnal libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so


# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False


# (list) Android application meta-data to set (key=value format)
#android.meta_data =


# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =


# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D


# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1


#
# iOS specific
#


# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios


# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"


# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s




[buildozer]


# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level
= 2


# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root
= 0


# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer


# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin


#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#




#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

And got new error which is not toolchain error.

Its log is: 

(mykivypython3) gb@ubuntu:~/Downloads/kivy-for-android-opencv-demo-master$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.0.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later
for copying conditions. There is NO warranty.
# Search for Git (git)
#  -> found at /usr/bin/git
# Search for Cython (cython)
#  -> found at /home/gb/mykivypython3/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Run '/home/gb/mykivypython3/bin/python3 -m pip install -q  \'appdirs\' \'colorama>=0.3.3\' \'jinja2\' \'six\' \'enum34; python_version<"3.4"\' \'sh>=1.10; sys_platform!="nt"\''
# Cwd None
# Apache ANT found at /home/gb/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/gb/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/gb/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/home/gb/mykivypython3/bin/python3 -m pythonforandroid.toolchain create --dist_name=opencvdemo --bootstrap=sdl2 --requirements=kivy,python2,numpy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build"'
# Cwd /home/gb/fix-numpy
[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI: 19
[INFO]:    Available Android APIs are (19)
[INFO]:    Requested API target 19 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK: /home/gb/.buildozer/android/platform/android-ndk-r9c
[INFO]:    Got NDK version from $ANDROIDNDKVER: r9c
[WARNING]: NDK API target was not set manually, using the default of 19 = min(android-api=19, default ndk-api=21)
[INFO]:    Using Google NDK r9c
[INFO]:    Found virtualenv at /home/gb/mykivypython3/bin/virtualenv
[INFO]:    Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]:    Picking the latest gcc toolchain, here 4.8
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
[INFO]:    Found a single valid recipe set: ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'numpy', 'six', 'opencv', 'pyjnius', 'kivy']
[INFO]:    The selected bootstrap is sdl2
[INFO]:    # Creating dist with sdl2 bootstrap
[INFO]:    Dist will have name opencvdemo and recipes (kivy, python2, numpy, opencv)
[INFO]:    Dist will also contain modules () installed from pip
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'numpy', 'six', 'opencv', 'pyjnius', 'kivy']
[INFO]:    # Downloading recipes
[INFO]:    Downloading hostpython2
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 88 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/hostpython2
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    hostpython2 download already cached, skipping                      
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading sdl2_image
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 87 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2_image
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    sdl2_image download already cached, skipping                        
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading sdl2_mixer
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 87 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    sdl2_mixer download already cached, skipping                        
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading sdl2_ttf
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 85 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]:    -> running basename https://www.libsdl.org...(and 48 more)
[INFO]:    sdl2_ttf download already cached, skipping                          
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading python2
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 84 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/python2
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    python2 download already cached, skipping                          
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading sdl2
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 81 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/sdl2
[INFO]:    -> running basename https://www.libsdl.org...(and 26 more)
[INFO]:    sdl2 download already cached, skipping                              
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading numpy
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 82 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/numpy
[INFO]:    -> running basename https://pypi.python.or...(and 42 more)
[INFO]:    numpy download already cached, skipping                            
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading six
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 80 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/six
[INFO]:    -> running basename https://pypi.python.or...(and 40 more)
[INFO]:    six download already cached, skipping                              
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading opencv
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 83 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/opencv
[INFO]:    -> running basename https://github.com/Its...(and 31 more)
[INFO]:    opencv download already cached, skipping                            
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading pyjnius
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 84 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    pyjnius download already cached, skipping                          
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Downloading kivy
[INFO]:    -> running mkdir -p /home/gb/Downloads/ki...(and 81 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/packages/kivy
[INFO]:    -> running basename https://github.com/kiv...(and 25 more)
[INFO]:    kivy download already cached, skipping                              
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython2 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]:    hostpython2 is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking sdl2_image for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    sdl2_image is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking sdl2_mixer for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    sdl2_mixer is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking sdl2_ttf for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org...(and 48 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    sdl2_ttf is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking python2 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a__ndk_target_19
[INFO]:    python2 is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking sdl2 for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org...(and 26 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    sdl2 is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking numpy for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 42 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/numpy-python2-python2/armeabi-v7a__ndk_target_19
[INFO]:    numpy is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 40 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a__ndk_target_19
[INFO]:    six is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking opencv for armeabi-v7a
[INFO]:    -> running basename https://github.com/Its...(and 31 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/opencv/armeabi-v7a__ndk_target_19
[INFO]:    opencv is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a__ndk_target_19
[INFO]:    pyjnius is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    Unpacking kivy for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 25 more)
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a__ndk_target_19
[INFO]:    kivy is already unpacked, skipping
[INFO]:    <- directory context /home/gb/fix-numpy
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython2 for armeabi-v7a
[INFO]:    hostpython2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding sdl2_image for armeabi-v7a
[INFO]:    sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_image[armeabi-v7a]
[INFO]:    sdl2_image already patched, skipping
[INFO]:    Prebuilding sdl2_mixer for armeabi-v7a
[INFO]:    sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]:    sdl2_mixer already patched, skipping
[INFO]:    Prebuilding sdl2_ttf for armeabi-v7a
[INFO]:    sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding python2 for armeabi-v7a
[INFO]:    python2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for python2[armeabi-v7a]
[INFO]:    python2 already patched, skipping
[INFO]:    Prebuilding sdl2 for armeabi-v7a
[INFO]:    sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2[armeabi-v7a]
[INFO]:    sdl2 already patched, skipping
[INFO]:    Prebuilding numpy for armeabi-v7a
[INFO]:    numpy has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for numpy[armeabi-v7a]
[INFO]:    numpy already patched, skipping
[INFO]:    Prebuilding six for armeabi-v7a
[INFO]:    six has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding opencv for armeabi-v7a
[INFO]:    Applying patches for opencv[armeabi-v7a]
[INFO]:    opencv already patched, skipping
[INFO]:    Applying patches for opencv[armeabi-v7a]
[INFO]:    opencv already patched, skipping
[INFO]:    Prebuilding pyjnius for armeabi-v7a
[INFO]:    pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for pyjnius[armeabi-v7a]
[INFO]:    pyjnius already patched, skipping
[INFO]:    Prebuilding kivy for armeabi-v7a
[INFO]:    kivy has no prebuild_armeabi_v7a, skipping
[INFO]:    # Building recipes
[INFO]:    Building hostpython2 for armeabi-v7a
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]:    -> directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build
[INFO]:    <- directory context /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]:    -> running cp Modules/Setup.dist /home/gb...(and 158 more)
[INFO]:    -> running make -C /home/gb/Downloads/kiv...(and 130 more)
Exception in thread background thread for pid 3559:                            
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 "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 1540, in wrap
    fn
(*args, **kwargs)
 
File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 2459, in background_thread
    handle_exit_code
(exit_code)
 
File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 2157, in fn
   
return self.command.handle_command_exit_code(exit_code)
 
File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
   
raise exc
sh
.ErrorReturnCode_2:


  RAN
: /usr/bin/make -C /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build


  STDOUT
:
make
: Entering directory '/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'
/bin/sh /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/makesetup -c /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/config.c.in \
 
-s Modules \
 
Modules/Setup.config \
 
Modules/Setup.local \
 
Modules/Setup
The Makefile was updated, you may need to re-run make.
gcc
-pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes   Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
gcc
: error: Parser/tokenizer_pgen.o: No such file or directory
gcc
: error: Parser/printgrammar.o: No such file or directory
gcc
: error: Parser/pgenmain.o: No such file or directory
Makefile:566: recipe for target 'Parser/pgen' failed
make
: *** [Parser/pgen] Error 1
make
: Leaving directory '/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'




  STDERR
:




Traceback (most recent call last):
 
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
   
"__main__", mod_spec)
 
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
   
exec(code, run_globals)
 
File "/home/gb/fix-numpy/pythonforandroid/toolchain.py", line 1039, in <module>
    main
()
 
File "/home/gb/fix-numpy/pythonforandroid/toolchain.py", line 1033, in main
   
ToolchainCL()
 
File "/home/gb/fix-numpy/pythonforandroid/toolchain.py", line 553, in __init__
    getattr
(self, args.subparser_name.replace('-', '_'))(args)
 
File "/home/gb/fix-numpy/pythonforandroid/toolchain.py", line 150, in wrapper_func
    build_dist_from_args
(ctx, dist, args)
 
File "/home/gb/fix-numpy/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
    build_recipes
(build_order, python_modules, ctx)
 
File "/home/gb/fix-numpy/pythonforandroid/build.py", line 634, in build_recipes
    recipe
.build_arch(arch)
 
File "/home/gb/fix-numpy/pythonforandroid/python.py", line 382, in build_arch
    result
= shprint(sh.make, '-C', build_dir)
 
File "/home/gb/fix-numpy/pythonforandroid/logger.py", line 178, in shprint
   
for line in output:
 
File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 863, in next
   
self.wait()
 
File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 792, in wait
   
self.handle_command_exit_code(exit_code)
 
File "/home/gb/mykivypython3/lib/python3.6/site-packages/sh.py", line 815, in handle_command_exit_code
   
raise exc
sh
.ErrorReturnCode_2:


  RAN
: /usr/bin/make -C /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build


  STDOUT
:
make
: Entering directory '/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'
/bin/sh /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/makesetup -c /home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/config.c.in \
 
-s Modules \
 
Modules/Setup.config \
 
Modules/Setup.local \
 
Modules/Setup
The Makefile was updated, you may need to re-run make.
gcc
-pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes   Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
gcc
: error: Parser/tokenizer_pgen.o: No such file or directory
gcc
: error: Parser/printgrammar.o: No such file or directory
gcc
: error: Parser/pgenmain.o: No such file or directory
Makefile:566: recipe for target 'Parser/pgen' failed
make
: *** [Parser/pgen] Error 1
make
: Leaving directory '/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'




  STDERR
:


# Command failed: /home/gb/mykivypython3/bin/python3 -m pythonforandroid.toolchain create --dist_name=opencvdemo --bootstrap=sdl2 --requirements=kivy,python2,numpy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/gb/Downloads/kivy-for-android-opencv-demo-master/.buildozer/android/platform/build"
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

Message has been deleted

vishal dani

unread,
Jan 28, 2019, 12:18:24 AM1/28/19
to Kivy users support
Sorry i had forgot to upload this information.
pip freeze info:

appdirs==1.4.3
buildozer==0.37
certifi==2018.11.29
chardet==3.0.4
colorama==0.4.1
Cython==0.25.2
docutils==0.14
idna==2.8
Jinja2==2.10
Kivy==1.10.1
Kivy-Garden==0.1.4
MarkupSafe==1.1.0
numpy==1.16.0
opencv-python==4.0.0.21
pexpect==4.6.0
ptyprocess==0.6.0
Pygments==2.3.1
requests==2.21.0
scipy==1.3.0.dev0+unknown
sh==1.12.14
six==1.12.0
urllib3==1.24.1
virtualenv==16.2.0

Alexander Taylor

unread,
Jan 28, 2019, 8:53:07 AM1/28/19
to Kivy users support
Are you using python-for-android's master branch? If not, it's probably worth doing so, there are some fixes to the numpy recipe there.

With buildozer you can set p4a.branch to master in the buildozer.spec.
...

Robert Flatt

unread,
Jan 28, 2019, 7:00:49 PM1/28/19
to Kivy users support
I built numpy yesterday using a python-for-android (master) installed a week ago.

The build put this extra directory in the apk:
numpy :
    assets
/_python_bundle/site-packages/numpy

If you still have a problem after re installing p4a, I suggest you try a smaller example with just numpy.
Work towards a more complex example. One step at a time.


I suggest you try a smaller test
...
Message has been deleted

vishal dani

unread,
Jan 29, 2019, 12:23:42 AM1/29/19
to Kivy users support
ts@ts-pc06:~/Downloads/kivy-stable/examples/guide/quickstart$ python3 main.py
[INFO   ] [Logger      ] Record log in /home/ts/.kivy/logs/kivy_19-01-29_1.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.5.2 (default, Nov 12 2018, 13:43:14) 
[GCC 5.4.0 20160609]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <b'3.0 Mesa 18.0.5'>
[INFO   ] [GL          ] OpenGL vendor <b'Intel Open Source Technology Center'>
[INFO   ] [GL          ] OpenGL renderer <b'Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) '>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <b'1.30'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Leaving application in progress...
ts@ts-pc06:~/Downloads/kivy-stable/examples/guide/quickstart$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.18.4 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# Search for Git (git)
#  -> found at /usr/bin/git
# Search for Cython (cython)
#  -> found at /usr/local/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Run '/usr/bin/python3 -m pip install -q --user \'appdirs\' \'colorama>=0.3.3\' \'jinja2\' \'six\' \'enum34; python_version<"3.4"\' \'sh>=1.10; sys_platform!="nt"\''
# Cwd None
# Apache ANT found at /home/ts/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/ts/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/ts/Downloads/crystax-ndk-10.3.2-linux-x86_64/crystax-ndk-10.3.2
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,numpy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build"'
# Cwd /home/ts/Downloads/python-for-android-master/
[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI: 19
[INFO]:    Available Android APIs are (19)
[INFO]:    Requested API target 19 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK: /home/ts/Downloads/crystax-ndk-10.3.2-linux-x86_64/crystax-ndk-10.3.2
[INFO]:    Got NDK version from $ANDROIDNDKVER: r9c
[WARNING]: NDK API target was not set manually, using the default of 19 = min(android-api=19, default ndk-api=21)
[INFO]:    Using Google NDK r9c
[INFO]:    Found virtualenv at /home/ts/.local/bin/virtualenv
[INFO]:    Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]:    Picking the latest gcc toolchain, here 4.8
[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed
[WARNING]: Distribution myapp: (/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/dists/myapp) has been built with an unknown api target, ignoring it, you might want to delete it
[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
[INFO]:    Found multiple valid dependency orders:
[INFO]:        ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'numpy', 'six', 'pyjnius', 'kivy']
[INFO]:        ['hostpython3', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3', 'sdl2', 'numpy', 'six', 'pyjnius', 'kivy']
[INFO]:        ['hostpython3crystax', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'sdl2', 'numpy', 'six', 'pyjnius', 'kivy']
[INFO]:    Using the first of these: ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'numpy', 'six', 'pyjnius', 'kivy']
[INFO]:    The selected bootstrap is sdl2
[INFO]:    # Creating dist with sdl2 bootstrap
[INFO]:    Dist will have name myapp and recipes (kivy, numpy)
[INFO]:    Dist will also contain modules () installed from pip
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/bootstrap_builds/sdl2
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'sdl2', 'numpy', 'six', 'pyjnius', 'kivy']
[INFO]:    # Downloading recipes 
[INFO]:    Downloading hostpython2
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 90 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/hostpython2
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> running rm -f .mark-Python-2.7.15.tgz                            
[INFO]:    Downloading hostpython2 from https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz
[INFO]:    -> running touch .mark-Python-2.7.15.tgz
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading sdl2_image
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 89 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/sdl2_image
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    sdl2_image download already cached, skipping                        
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading sdl2_mixer
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 89 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/sdl2_mixer
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    sdl2_mixer download already cached, skipping                        
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading sdl2_ttf
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 87 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/sdl2_ttf
[INFO]:    -> running basename https://www.libsdl.org...(and 48 more)
[INFO]:    sdl2_ttf download already cached, skipping                          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading python2
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 86 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/python2
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> running rm -f .mark-Python-2.7.15.tgz                            
[INFO]:    -> running touch .mark-Python-2.7.15.tgz
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading sdl2
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 83 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/sdl2
[INFO]:    -> running basename https://www.libsdl.org...(and 26 more)
[INFO]:    -> running rm -f .mark-SDL2-2.0.9.tar.gz                            
[INFO]:    Downloading sdl2 from https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
[INFO]:    -> running touch .mark-SDL2-2.0.9.tar.gz
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading numpy
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 84 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/numpy
[INFO]:    -> running basename https://pypi.python.or...(and 42 more)
[INFO]:    -> running rm -f .mark-numpy-1.15.1.zip                             
[INFO]:    -> running touch .mark-numpy-1.15.1.zip
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading six
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 82 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/six
[INFO]:    -> running basename https://pypi.python.or...(and 40 more)
[INFO]:    six download already cached, skipping                               
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading pyjnius
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 86 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/pyjnius
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> running rm -f .mark-1.1.3.zip                                    
[INFO]:    Downloading pyjnius from https://github.com/kivy/pyjnius/archive/1.1.3.zip
[INFO]:    -> running touch .mark-1.1.3.zip
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Downloading kivy
[INFO]:    -> running mkdir -p /home/ts/Downloads/ki...(and 83 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/packages/kivy
[INFO]:    -> running basename https://github.com/kiv...(and 25 more)
[INFO]:    -> running rm -f .mark-1.10.1.zip                                   
[INFO]:    Downloading kivy from https://github.com/kivy/kivy/archive/1.10.1.zip
[INFO]:    -> running touch .mark-1.10.1.zip
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    # Building all recipes for arch armeabi-v7a
[INFO]:    # Unpacking recipes
[INFO]:    Unpacking hostpython2 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]:    hostpython2 is already unpacked, skipping
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking sdl2_image for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    -> running tar tf /home/ts/Downloads/kivy...(and 111 more)
[INFO]:    -> running mv SDL2_image-2.0.1 /home/ts/D...(and 123 more)          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking sdl2_mixer for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.or...(and 52 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    -> running tar tf /home/ts/Downloads/kivy...(and 111 more)
[INFO]:    -> running mv SDL2_mixer-2.0.1 /home/ts/D...(and 123 more)          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking sdl2_ttf for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org...(and 48 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    -> running tar tf /home/ts/Downloads/kivy...(and 108 more)
[INFO]:    -> running mv SDL2_ttf-2.0.14 /home/ts/Do...(and 120 more)          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking python2 for armeabi-v7a
[INFO]:    -> running basename https://www.python.org...(and 36 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a__ndk_target_19
[INFO]:    -> running tar tf /home/ts/Downloads/kivy...(and 102 more)
[INFO]:    -> running mv Python-2.7.15 /home/ts/Down...(and 139 more)          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking sdl2 for armeabi-v7a
[INFO]:    -> running basename https://www.libsdl.org...(and 26 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/bootstrap_builds/sdl2/jni
[INFO]:    -> running tar tf /home/ts/Downloads/kivy...(and 99 more)
[INFO]:    -> running mv SDL2-2.0.9 /home/ts/Downloa...(and 110 more)          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking numpy for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 42 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/numpy-python2-python2/armeabi-v7a__ndk_target_19
[INFO]:    -> running mv numpy-1.15.1 /home/ts/Downl...(and 150 more)
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking six for armeabi-v7a
[INFO]:    -> running basename https://pypi.python.or...(and 40 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a__ndk_target_19
[INFO]:    -> running tar tf /home/ts/Downloads/kivy...(and 97 more)
[INFO]:    -> running mv six-1.9.0 /home/ts/Download...(and 135 more)          
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking pyjnius for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 27 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a__ndk_target_19
[INFO]:    -> running mv pyjnius-1.1.3 /home/ts/Down...(and 152 more)
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    Unpacking kivy for armeabi-v7a
[INFO]:    -> running basename https://github.com/kiv...(and 25 more)
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a__ndk_target_19
[INFO]:    -> running mv kivy-1.10.1 /home/ts/Downlo...(and 144 more)
[INFO]:    <- directory context /home/ts/Downloads/python-for-android-master
[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython2 for armeabi-v7a
[INFO]:    hostpython2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding sdl2_image for armeabi-v7a
[INFO]:    sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_image[armeabi-v7a]
[INFO]:    Applying patch toggle_jpg_png_webp.patch
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 229 more)
[INFO]:    Applying patch extra_cflags.patch                                   
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 222 more)
[INFO]:    Applying patch fix_with_ndk_15_plus.patch                           
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 230 more)
[INFO]:    -> running touch /home/ts/Downloads/kivy-...(and 118 more)          
[INFO]:    Prebuilding sdl2_mixer for armeabi-v7a
[INFO]:    sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]:    Applying patch toggle_modplug_mikmod_smpeg_ogg.patch
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 241 more)
[INFO]:    -> running touch /home/ts/Downloads/kivy-...(and 118 more)          
[INFO]:    Prebuilding sdl2_ttf for armeabi-v7a
[INFO]:    sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding python2 for armeabi-v7a
[INFO]:    python2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for python2[armeabi-v7a]
[INFO]:    Applying patch patches/fix-missing-extensions.patch
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 256 more)
[INFO]:    Applying patch patches/fix-filesystem-default-encoding.patch        
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 265 more)
[INFO]:    Applying patch patches/fix-gethostbyaddr.patch                      
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 251 more)
[INFO]:    Applying patch patches/fix-posix-declarations.patch                 
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 256 more)
[INFO]:    Applying patch patches/fix-pwd-gecos.patch                          
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 247 more)
[INFO]:    -> running touch /home/ts/Downloads/kivy-...(and 137 more)          
[INFO]:    Prebuilding sdl2 for armeabi-v7a
[INFO]:    sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2[armeabi-v7a]
[INFO]:    Applying patch add_nativeSetEnv.patch
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 213 more)
[INFO]:    -> running touch /home/ts/Downloads/kivy-...(and 111 more)          
[INFO]:    Prebuilding numpy for armeabi-v7a
[INFO]:    numpy has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for numpy[armeabi-v7a]
[INFO]:    Applying patch patches/fix-numpy.patch
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 253 more)
[INFO]:    Applying patch patches/prevent_libs_check.patch                     
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 262 more)
[INFO]:    Applying patch patches/ar.patch                                     
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 246 more)
[INFO]:    Applying patch patches/lib.patch                                    
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 247 more)
[INFO]:    Applying patch patches/python-fixes.patch                           
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 256 more)
[INFO]:    -> running touch /home/ts/Downloads/kivy-...(and 149 more)          
[INFO]:    Prebuilding six for armeabi-v7a
[INFO]:    six has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding pyjnius for armeabi-v7a
[INFO]:    pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for pyjnius[armeabi-v7a]
[INFO]:    Applying patch sdl2_jnienv_getter.patch
[INFO]:    -> running patch -t -d /home/ts/Downloads...(and 257 more)
[INFO]:    -> running touch /home/ts/Downloads/kivy-...(and 150 more)          
[INFO]:    Prebuilding kivy for armeabi-v7a
[INFO]:    kivy has no prebuild_armeabi_v7a, skipping
[INFO]:    # Building recipes
[INFO]:    Building hostpython2 for armeabi-v7a
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]:    -> directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build
[INFO]:    -> running configure
[INFO]:    <- directory context /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]:    -> running cp Modules/Setup.dist /home/ts...(and 160 more)
[INFO]:    -> running make -C /home/ts/Downloads/kiv...(and 132 more)
           working: make: Leaving directory '/home/ts/Downloa...(and 139 more) Exception in thread background thread for pid 12868:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 1540, in wrap
    fn(*args, **kwargs)
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 2459, in background_thread
    handle_exit_code(exit_code)
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 2157, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_2: 

  RAN: /usr/bin/make -C /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build

  STDOUT:
make: Entering directory '/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'
/bin/sh /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/makesetup -c /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/config.c.in \
-s Modules \
Modules/Setup.config \
Modules/Setup.local \
Modules/Setup
The Makefile was updated, you may need to re-run make.
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Modules/python.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/python.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/acceler.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/acceler.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/grammar1.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/grammar1.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/listnode.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/listnode.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/node.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/node.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/parser.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parser.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/parsetok.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parsetok.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parsetok.c: In function ‘parsetok’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parsetok.c:134:43: warning: variable ‘handling_with’ set but not used [-Wunused-but-set-variable]
     int started = 0, handling_import = 0, handling_with = 0;
                                           ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/bitset.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/bitset.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/metagrammar.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/metagrammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/firstsets.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/firstsets.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/grammar.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/grammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/pgen.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/pgen.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/pgen.c: In function ‘compile_atom’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/pgen.c:282:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
     int i;
         ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/myreadline.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/myreadline.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/tokenizer.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/tokenizer.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/abstract.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/abstract.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/boolobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/boolobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/bufferobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/bufferobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/bytes_methods.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/bytes_methods.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/bytearrayobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/bytearrayobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/capsule.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/capsule.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/cellobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/cellobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/classobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/classobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/cobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/cobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/codeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/codeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/complexobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/complexobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/descrobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/descrobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/enumobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/enumobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/exceptions.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/exceptions.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/genobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/genobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/fileobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/fileobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/floatobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/floatobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/frameobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/frameobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/funcobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/funcobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/intobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/intobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/iterobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/iterobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/listobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/listobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/longobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/longobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/dictobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/dictobject.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/dictobject.c: In function ‘insertdict’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/dictobject.c:517:28: warning: typedef ‘lookupfunc’ locally defined but not used [-Wunused-local-typedefs]
     typedef PyDictEntry *(*lookupfunc)(PyDictObject *, PyObject *, long);
                            ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/memoryobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/memoryobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/methodobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/methodobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/moduleobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/moduleobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/object.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/object.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/obmalloc.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/obmalloc.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/rangeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/rangeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/setobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/setobject.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/setobject.c: In function ‘set_insert_key’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/setobject.c:215:25: warning: typedef ‘lookupfunc’ locally defined but not used [-Wunused-local-typedefs]
     typedef setentry *(*lookupfunc)(PySetObject *, PyObject *, long);
                         ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/sliceobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/sliceobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/stringobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/stringobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/structseq.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/structseq.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/tupleobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/tupleobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/typeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/typeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/weakrefobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/weakrefobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/unicodeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/unicodeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/unicodectype.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/unicodectype.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/_warnings.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/_warnings.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/Python-ast.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/Python-ast.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/asdl.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/asdl.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/mysnprintf.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/mysnprintf.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/pyctype.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/pyctype.c
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes   Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
gcc: error: Parser/tokenizer_pgen.o: No such file or directory
gcc: error: Parser/printgrammar.o: No such file or directory
gcc: error: Parser/pgenmain.o: No such file or directory
Makefile:566: recipe for target 'Parser/pgen' failed
make: *** [Parser/pgen] Error 1
make: Leaving directory '/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'


  STDERR:

                                                                               
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/toolchain.py", line 1039, in <module>
    main()
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/toolchain.py", line 1033, in main
    ToolchainCL()
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/toolchain.py", line 553, in __init__
    getattr(self, args.subparser_name.replace('-', '_'))(args)
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/toolchain.py", line 150, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx)
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/build.py", line 634, in build_recipes
    recipe.build_arch(arch)
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/python.py", line 423, in build_arch
    result = shprint(sh.make, '-C', build_dir)
  File "/home/ts/Downloads/python-for-android-master/pythonforandroid/logger.py", line 178, in shprint
    for line in output:
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 863, in next
    self.wait()
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 792, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/ts/.local/lib/python3.5/site-packages/sh.py", line 815, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_2: 

  RAN: /usr/bin/make -C /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build

  STDOUT:
make: Entering directory '/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'
/bin/sh /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/makesetup -c /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/config.c.in \
-s Modules \
Modules/Setup.config \
Modules/Setup.local \
Modules/Setup
The Makefile was updated, you may need to re-run make.
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Modules/python.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Modules/python.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/acceler.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/acceler.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/grammar1.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/grammar1.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/listnode.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/listnode.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/node.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/node.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/parser.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parser.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/parsetok.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parsetok.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parsetok.c: In function ‘parsetok’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/parsetok.c:134:43: warning: variable ‘handling_with’ set but not used [-Wunused-but-set-variable]
     int started = 0, handling_import = 0, handling_with = 0;
                                           ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/bitset.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/bitset.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/metagrammar.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/metagrammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/firstsets.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/firstsets.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/grammar.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/grammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/pgen.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/pgen.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/pgen.c: In function ‘compile_atom’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/pgen.c:282:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
     int i;
         ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/myreadline.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/myreadline.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Parser/tokenizer.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Parser/tokenizer.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/abstract.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/abstract.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/boolobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/boolobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/bufferobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/bufferobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/bytes_methods.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/bytes_methods.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/bytearrayobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/bytearrayobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/capsule.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/capsule.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/cellobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/cellobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/classobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/classobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/cobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/cobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/codeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/codeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/complexobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/complexobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/descrobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/descrobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/enumobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/enumobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/exceptions.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/exceptions.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/genobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/genobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/fileobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/fileobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/floatobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/floatobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/frameobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/frameobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/funcobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/funcobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/intobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/intobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/iterobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/iterobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/listobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/listobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/longobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/longobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/dictobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/dictobject.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/dictobject.c: In function ‘insertdict’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/dictobject.c:517:28: warning: typedef ‘lookupfunc’ locally defined but not used [-Wunused-local-typedefs]
     typedef PyDictEntry *(*lookupfunc)(PyDictObject *, PyObject *, long);
                            ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/memoryobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/memoryobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/methodobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/methodobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/moduleobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/moduleobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/object.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/object.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/obmalloc.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/obmalloc.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/rangeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/rangeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/setobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/setobject.c
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/setobject.c: In function ‘set_insert_key’:
/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/setobject.c:215:25: warning: typedef ‘lookupfunc’ locally defined but not used [-Wunused-local-typedefs]
     typedef setentry *(*lookupfunc)(PySetObject *, PyObject *, long);
                         ^
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/sliceobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/sliceobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/stringobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/stringobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/structseq.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/structseq.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/tupleobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/tupleobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/typeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/typeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/weakrefobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/weakrefobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/unicodeobject.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/unicodeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Objects/unicodectype.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Objects/unicodectype.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/_warnings.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/_warnings.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/Python-ast.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/Python-ast.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/asdl.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/asdl.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/mysnprintf.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/mysnprintf.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Include   -DPy_BUILD_CORE -o Python/pyctype.o /home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/Python/pyctype.c
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes   Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
gcc: error: Parser/tokenizer_pgen.o: No such file or directory
gcc: error: Parser/printgrammar.o: No such file or directory
gcc: error: Parser/pgenmain.o: No such file or directory
Makefile:566: recipe for target 'Parser/pgen' failed
make: *** [Parser/pgen] Error 1
make: Leaving directory '/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2/native-build'


  STDERR:

# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,numpy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/ts/Downloads/kivy-stable/examples/guide/quickstart/.buildozer/android/platform/build"
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
ts@ts-pc06:~/Downloads/kivy-stable/examples/guide/quickstart$ 

This is the error while I use p4a master as source directory in buildozer.spec file.


vishal dani

unread,
Jan 29, 2019, 3:49:41 AM1/29/19
to Kivy users support
I figured out this and solution to this was removing old .buildozer folder and running the command again. Closing this topic over here. Thanks for helping me.
...
Reply all
Reply to author
Forward
0 new messages