numpy Python3/Crystax broken toolchain can't link a simple C program
See original GitHub issuewhen I add numpy to my requirements with python 2 or with python3crstax it fails although I have both google’s ndk and crystax’s when I build with python2 I choose google’s ndk and with python3 I choose crystax’s so the problem is not related to this with crystax it gives:-
# Check that aidl can be executed
# Search for Aidl
# Run '/media/m-essam/MyData/Workspace/android-sdk-20/build-tools/28.0.0/aidl'
# Cwd None
# Android packages installation done.
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/home/m-essam/anaconda3/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3crystax,hostpython3crystax,numpy,kivy,pyjnius,sdl2,git+https://gitlab.com/kivymd/KivyMD.git --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build'
# Cwd ./python-for-android
[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
[WARNING]: NDK version was set as r9c, but checking the NDK dir claims it is 10.3.2.
[WARNING]: The build will try to continue, but it may fail and you should check that your setting is correct.
[WARNING]: If the NDK dir result is correct, you don't need to manually set the NDK ver.
[INFO]: Using Crystax NDK r9c
[INFO]: Found virtualenv at /home/m-essam/anaconda3/bin/virtualenv
[INFO]: Found the following toolchain versions: ['4.9', '5', 'clang3.6', 'clang3.7']
[INFO]: Picking the latest gcc toolchain, here 5
[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: ['git+https://gitlab.com/kivymd/KivyMD.git', 'hostpython3crystax', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'numpy', 'sdl2', 'six', 'pyjnius', 'kivy']
[INFO]: The selected bootstrap is sdl2_gradle
[INFO]: # Creating dist with sdl2_gradle bootstrap
[INFO]: Dist will have name myapp and recipes (python3crystax, hostpython3crystax, numpy, kivy, pyjnius, sdl2, git+https://gitlab.com/kivymd/KivyMD.git)
[INFO]: Dist will also contain modules (git+https://gitlab.com/kivymd/KivyMD.git) installed from pip
[INFO]: -> running cp -r /media/m-essam/MyData/Wo...(and 203 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Recipe build order is ['hostpython3crystax', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'numpy', 'sdl2', 'six', 'pyjnius', 'kivy']
[INFO]: The requirements (git+https://gitlab.com/kivymd/KivyMD.git) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython3crystax
[INFO]: Skipping hostpython3crystax download as no URL is set
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 75 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 75 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 73 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading python3crystax
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 79 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/packages/python3crystax
[INFO]: -> running basename
[INFO]: -> running rm -f .mark-
[INFO]: -> running touch .mark-
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading numpy
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 70 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 69 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading six
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 68 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 72 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: pyjnius download already cached, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 69 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython3crystax for armeabi-v7a
[INFO]: Skipping hostpython3crystax unpack as no URL is set
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]: sdl2_image is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]: sdl2_mixer is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 48 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]: sdl2_ttf is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking python3crystax for armeabi-v7a
[INFO]: -> running basename
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/python3crystax-version3.5/armeabi-v7a
[INFO]: python3crystax is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking numpy for armeabi-v7a
[INFO]: -> running basename https://pypi.python.or...(and 44 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a
[INFO]: numpy is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 26 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python3crystax/jni
[INFO]: sdl2 is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/six-python3crystax/armeabi-v7a
[INFO]: six is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/pyjnius-python3crystax-sdl2/armeabi-v7a
[INFO]: pyjnius is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/kivy-python3crystax-sdl2/armeabi-v7a
[INFO]: kivy is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython3crystax for armeabi-v7a
[INFO]: hostpython3crystax 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 python3crystax for armeabi-v7a
[INFO]: python3crystax has no prebuild_armeabi_v7a, 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 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 hostpython3crystax for armeabi-v7a
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 126 more)
[INFO]: -> running ln -sf /usr/bin/python3.5 /med...(and 148 more)
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building python3crystax for armeabi-v7a
[INFO]: Building numpy for armeabi-v7a
[INFO]: numpy apparently isn't already in site-packages
[INFO]: Building compiled components in numpy
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy
[INFO]: -> running python3.5 setup.py build_ext -v
b'\x1b[0m\r working: SDL2_image-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_mixer-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_ttf-2.0.14.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: numpy-1.9.2.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2-2.0.4.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: six-1.9.0.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: master.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: 1.10.0.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_image-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_mixer-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_ttf-2.0.14.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: numpy-1.9.2.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2-2.0.4.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: six-1.9.0.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: master.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: 1.10.0.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: Running from numpy source directory. 'b'\x1b[0m\r working: /usr/lib/python3.5/distutils/dist.py:261: ...(and 54 more) 'b'\x1b[0m\r working: warnings.warn(msg) 'b"\x1b[0m\r working: non-existing path in 'numpy/distutils': 'site.cfg' "b"\x1b[0m\r working: non-existing path in 'numpy/f2py': 'docs' "b"\x1b[0m\r working: non-existing path in 'numpy/f2py': 'f2py.1' "b'\x1b[0m\r working: /bin/sh: 1: svnversion: not found 'b'\x1b[0m\r working: F2PY Version 2 'b'\x1b[0m\r working: blas_opt_info: 'b'\x1b[0m\r working: blas_mkl_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/lib...(and 43 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: openblas_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/lib...(and 43 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_3_10_blas_threads_info: 'b'\x1b[0m\r working: Setting PTATLAS=ATLAS 'b"\x1b[0m\r working: libraries not found in ['/usr/local/li...(and 67 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_3_10_blas_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/li...(and 67 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_blas_threads_info: 'b'\x1b[0m\r working: Setting PTATLAS=ATLAS 'b"\x1b[0m\r working: libraries not found in ['/usr/local/li...(and 67 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_blas_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/li...(and 67 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/admob-tes...(and 143 more) 'b'\x1b[0m\r working: Atlas (http://math-atlas.sourceforge.n...(and 25 more) 'b'\x1b[0m\r working: Directories to search for the librarie...(and 25 more) 'b'\x1b[0m\r working: numpy/distutils/site.cfg file (section...(and 23 more) 'b'\x1b[0m\r working: the ATLAS environment variable. 'b'\x1b[0m\r working: warnings.warn(AtlasNotFoundError.__doc__) 'b'\x1b[0m\r working: blas_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/lib...(and 43 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/admob-tes...(and 143 more) 'b'\x1b[0m\r working: Blas (http://www.netlib.org/blas/) libraries not found.'b'\x1b[0m\r working: Directories to search for the librarie...(and 25 more) 'b'\x1b[0m\r working: numpy/distutils/site.cfg file (section...(and 22 more) 'b'\x1b[0m\r working: the BLAS environment variable. 'b'\x1b[0m\r working: warnings.warn(BlasNotFoundError.__doc__) 'b'\x1b[0m\r working: blas_src_info: 'b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/admob-tes...(and 143 more) 'b'\x1b[0m\r working: Blas (http://www.netlib.org/blas/) sources not found. 'b'\x1b[0m\r working: Directories to search for the sources ...(and 23 more) 'b'\x1b[0m\r working: numpy/distutils/site.cfg file (section...(and 26 more) 'b'\x1b[0m\r working: the BLAS_SRC environment variable. 'b'\x1b[0m\r working: warnings.warn(BlasSrcNotFoundError.__doc__) 'b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /bin/sh: 1: svnversion: not found 'b"\x1b[0m\r working: non-existing path in 'numpy/lib': 'benchmarks' "b'\x1b[0m\r working: lapack_opt_info: 'b'\x1b[0m\r working: openblas_lapack_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/lib...(and 43 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: lapack_mkl_info: 'b'\x1b[0m\r working: mkl_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/lib...(and 43 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_3_10_threads_info: 'b'\x1b[0m\r working: Setting PTATLAS=ATLAS 'b'\x1b[0m\r working: libraries not found in /usr/local/lib 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr/local/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/atlas-base 'b'\x1b[0m\r working: libraries not found in /usr/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/x86_64-linux-gnu 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr...(and 21 more) 'b"\x1b[0m\r working: <class 'numpy.distutils.system_info.atlas_...(and 19 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_3_10_info: 'b'\x1b[0m\r working: libraries not found in /usr/local/lib \x1b[0m\r working: libraries lapack_atlas not found in /usr/local/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/atlas-base \x1b[0m\r working: libraries not found in /usr/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/x86_64-linux-gnu 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr...(and 21 more) 'b"\x1b[0m\r working: <class 'numpy.distutils.system_info.atlas_3_10_info'> "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_threads_info: 'b'\x1b[0m\r working: Setting PTATLAS=ATLAS 'b'\x1b[0m\r working: libraries not found in /usr/local/lib 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr/local/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/atlas-base 'b'\x1b[0m\r working: libraries not found in /usr/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/x86_64-linux-gnu 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr...(and 21 more) 'b"\x1b[0m\r working: <class 'numpy.distutils.system_info.atlas_threads_info'> "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: atlas_info: 'b'\x1b[0m\r working: libraries not found in /usr/local/lib 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr/local/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/atlas-base 'b'\x1b[0m\r working: libraries not found in /usr/lib 'b'\x1b[0m\r working: libraries not found in /usr/lib/x86_64-linux-gnu 'b'\x1b[0m\r working: libraries lapack_atlas not found in /usr...(and 21 more) 'b"\x1b[0m\r working: <class 'numpy.distutils.system_info.atlas_info'> "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/admob-tes...(and 143 more) 'b'\x1b[0m\r working: Atlas (http://math-atlas.sourceforge.n...(and 25 more) 'b'\x1b[0m\r working: Directories to search for the librarie...(and 25 more) 'b'\x1b[0m\r working: numpy/distutils/site.cfg file (section...(and 23 more) 'b'\x1b[0m\r working: the ATLAS environment variable. 'b'\x1b[0m\r working: warnings.warn(AtlasNotFoundError.__doc__) 'b'\x1b[0m\r working: lapack_info: 'b"\x1b[0m\r working: libraries not found in ['/usr/local/lib...(and 43 more) "b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/admob-tes...(and 143 more) 'b'\x1b[0m\r working: Lapack (http://www.netlib.org/lapack/)...(and 21 more) 'b'\x1b[0m\r working: Directories to search for the librarie...(and 25 more) 'b'\x1b[0m\r working: numpy/distutils/site.cfg file (section...(and 24 more) 'b'\x1b[0m\r working: the LAPACK environment variable. 'b'\x1b[0m\r working: warnings.warn(LapackNotFoundError.__doc__) 'b'\x1b[0m\r working: lapack_src_info: 'b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/admob-tes...(and 143 more) 'b'\x1b[0m\r working: Lapack (http://www.netlib.org/lapack/)...(and 19 more) 'b'\x1b[0m\r working: Directories to search for the sources ...(and 23 more) 'b'\x1b[0m\r working: numpy/distutils/site.cfg file (section...(and 28 more) 'b'\x1b[0m\r working: the LAPACK_SRC environment variable. 'b'\x1b[0m\r working: warnings.warn(LapackSrcNotFoundError.__doc__) 'b'\x1b[0m\r working: NOT AVAILABLE 'b'\x1b[0m\r working: /usr/lib/python3.5/distutils/dist.py:261: ...(and 54 more) 'b'\x1b[0m\r working: warnings.warn(msg) 'b'\x1b[0m\r working: /usr/lib/python3.5/distutils/dist.py:261: ...(and 57 more) 'b'\x1b[0m\r working: warnings.warn(msg) 'b'\x1b[0m\r working: running build_ext 'b'\x1b[0m\r working: running build_src 'b'\x1b[0m\r working: build_src 'b'\x1b[0m\r working: building py_modules sources 'b'\x1b[0m\r working: building library "npymath" sources 'b'\x1b[0m\r working: customize Gnu95FCompiler 'b'\x1b[0m\r working: Found executable /usr/bin/gfortran 'b'\x1b[0m\r working: Could not locate executable arm-linux-and...(and 202 more) 'b'\x1b[0m\r working: Found executable /media/m-essam/MyData/Wo...(and 112 more) 'b'\x1b[0m\r working: Found executable /media/m-essam/MyData/Wo...(and 116 more) 'b'\x1b[0m\r working: customize Gnu95FCompiler 'b'\x1b[0m\r working: customize Gnu95FCompiler using config 'b"\x1b[0m\r working: C compiler: /usr/bin/ccache arm-linux-an...(and 1058 more) \x1b[0m\r working: compile options: '-Inumpy/core/src/privat...(and 183 more) \x1b[0m\r working: ccache: _configtest.c "b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc...(and 573 more) 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/crystax-n...(and 178 more) 'b'\x1b[0m\r working: collect2: error: ld returned 1 exit status 'b'\x1b[0m\r working: /media/m-essam/MyData/Workspace/crystax-n...(and 178 more) 'Exception in thread background thread for pid 17722:
Traceback (most recent call last):
File "/home/m-essam/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/m-essam/anaconda3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/bin/python3.5 setup.py build_ext -v
STDOUT:
Running from numpy source directory.
/usr/lib/python3.5/distutils/dist.py:261: 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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
openblas_info:
libraries not found in ['/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 ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries not found in ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries not found in ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_blas_info:
libraries not found in ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries not found in ['/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 /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3.5/distutils/dist.py:261: 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
Could not locate executable arm-linux-androideabi-ld -L/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm/usr/lib/ --sysroot=/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -shared
Found executable /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
Found executable /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/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/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/include/python3.5 -L/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm/usr/lib/ --sysroot=/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -Wdate-time -D_FORTIFY_SOURCE=2 -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/usr/include/python3.5m -c'
ccache: _configtest.c
/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/include/python3.5 -L/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm/usr/lib/ --sysroot=/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm _configtest.o -o _configtest
/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/5.3/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrystax
collect2: error: ld returned 1 exit status
/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/5.3/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrystax
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 "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/command/build_ext.py", line 59, in run
self.run_command('build_src')
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 153, in run
self.build_sources()
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 164, in build_sources
self.build_library_sources(*libname_info)
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 "/home/m-essam/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/m-essam/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 977, in <module>
main()
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 973, in main
ToolchainCL()
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 512, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/build.py", line 573, in build_recipes
recipe.build_arch(arch)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/recipe.py", line 852, in build_arch
self.build_compiled_components(arch)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/recipe.py", line 864, in build_compiled_components
_env=env, *self.setup_extra_args)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/logger.py", line 176, in shprint
for line in output:
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 720, in next
self.wait()
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 651, in wait
self.handle_command_exit_code(exit_code)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /usr/bin/python3.5 setup.py build_ext -v
STDOUT:
Running from numpy source directory.
/usr/lib/python3.5/distutils/dist.py:261: 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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
openblas_info:
libraries not found in ['/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 ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries not found in ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries not found in ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_blas_info:
libraries not found in ['/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries not found in ['/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 /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries not found in /usr/lib/atlas-base
libraries 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
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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
/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3.5/distutils/dist.py:261: 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
Could not locate executable arm-linux-androideabi-ld -L/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm/usr/lib/ --sysroot=/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -shared
Found executable /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
Found executable /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/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/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/include/python3.5 -L/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm/usr/lib/ --sysroot=/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/include/python3.5 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -Wdate-time -D_FORTIFY_SOURCE=2 -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/usr/include/python3.5m -c'
ccache: _configtest.c
/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=19 -I/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -isysroot /media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm -I/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/include/python3.5 -L/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm/usr/lib/ --sysroot=/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/platforms/android-19/arch-arm _configtest.o -o _configtest
/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/5.3/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrystax
collect2: error: ld returned 1 exit status
/media/m-essam/MyData/Workspace/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/5.3/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrystax
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 "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/command/build_ext.py", line 59, in run
self.run_command('build_src')
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 153, in run
self.build_sources()
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/armeabi-v7a/numpy/numpy/distutils/command/build_src.py", line 164, in build_sources
self.build_library_sources(*libname_info)
File "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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 "/media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python3crystax/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:
b'\x1b[0m\r working: collect2: error: ld returned 1 exit status 'b'\x1b[0m\r working: failure. 'b'\x1b[0m\r working: removing: _configtest.c _configtest.o 'b'\x1b[0m\r working: Traceback (most recent call last): 'b'\x1b[0m\r working: File "setup.py", line 251, in <module> 'b'\x1b[0m\r working: setup_package() 'b'\x1b[0m\r working: File "setup.py", line 243, in setup_package 'b'\x1b[0m\r working: setup(**metadata) 'b'\x1b[0m\r working: File "/media/m-essam/MyData/Workspace/a...(and 146 more) 'b'\x1b[0m\r working: return old_setup(**new_attr) 'b'\x1b[0m\r working: File "/usr/lib/python3.5/distutils/core....(and 23 more) 'b'\x1b[0m\r working: dist.run_commands() 'b'\x1b[0m\r working: File "/usr/lib/python3.5/distutils/dist....(and 30 more) 'b'\x1b[0m\r working: self.run_command(cmd) 'b'\x1b[0m\r working: File "/usr/lib/python3.5/distutils/dist....(and 29 more) 'b'\x1b[0m\r working: cmd_obj.run() 'b'\x1b[0m\r working: File "/media/m-essam/MyData/Workspace/a...(and 156 more) 'b"\x1b[0m\r working: self.run_command('build_src') "b'\x1b[0m\r working: File "/usr/lib/python3.5/distutils/cmd.p...(and 28 more) 'b'\x1b[0m\r working: self.distribution.run_command(command) 'b'\x1b[0m\r working: File "/usr/lib/python3.5/distutils/dist....(and 29 more) 'b'\x1b[0m\r working: cmd_obj.run() 'b'\x1b[0m\r working: File "/media/m-essam/MyData/Workspace/a...(and 157 more) 'b'\x1b[0m\r working: self.build_sources() 'b'\x1b[0m\r working: File "/media/m-essam/MyData/Workspace/a...(and 167 more) 'b'\x1b[0m\r working: self.build_library_sources(*libname_info) 'b'\x1b[0m\r working: File "/media/m-essam/MyData/Workspace/a...(and 175 more) 'b'\x1b[0m\r working: sources = self.generate_sources(source...(and 26 more) 'b'\x1b[0m\r working: File "/media/m-essam/MyData/Workspace/a...(and 170 more) 'b'\x1b[0m\r working: source = func(extension, build_dir) \x1b[0m\r working: File "numpy/core/setup.py", line 686, in get_mathlib_info'b'\x1b[0m\r working: raise RuntimeError("Broken toolchain: ...(and 32 more) 'b'\x1b[0m\r working: RuntimeError: Broken toolchain: cannot lin...(and 20 more) 'b'\x1b[0m\r \r'# Command failed: /home/m-essam/anaconda3/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3crystax,hostpython3crystax,numpy,kivy,pyjnius,sdl2,git+https://gitlab.com/kivymd/KivyMD.git --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/m-essam/MyData/Workspace/admob-test/.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
###################################################################
and with python 2:-
[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/m-essam/anaconda3/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]: ['git+https://gitlab.com/kivymd/KivyMD.git', 'hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', 'pyjnius', 'kivy']
[INFO]: ['git+https://gitlab.com/kivymd/KivyMD.git', 'hostpython3crystax', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python3crystax', 'numpy', 'sdl2', 'six', 'pyjnius', 'kivy']
[INFO]: Using the first of these: ['git+https://gitlab.com/kivymd/KivyMD.git', 'hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', 'pyjnius', 'kivy']
[INFO]: The selected bootstrap is sdl2_gradle
[INFO]: # Creating dist with sdl2_gradle bootstrap
[INFO]: Dist will have name myapp and recipes (numpy, kivy, pyjnius, sdl2, git+https://gitlab.com/kivymd/KivyMD.git)
[INFO]: Dist will also contain modules (git+https://gitlab.com/kivymd/KivyMD.git) installed from pip
[INFO]: -> running cp -r /media/m-essam/MyData/Wo...(and 196 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Recipe build order is ['hostpython2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'python2', 'numpy', 'sdl2', 'six', 'pyjnius', 'kivy']
[INFO]: The requirements (git+https://gitlab.com/kivymd/KivyMD.git) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython2
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 76 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 75 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 75 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 73 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading python2
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 72 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading numpy
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 70 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 69 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading six
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 68 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 72 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/packages/pyjnius
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: pyjnius download already cached, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /media/m-essam/MyData...(and 69 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.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 /media/m-essam/MyData/Workspace/admob-test/python-for-android
[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 /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop
[INFO]: hostpython2 is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2_image is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.or...(and 52 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2_mixer is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 48 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2_ttf is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking python2 for armeabi-v7a
[INFO]: -> running basename https://python.org/ftp...(and 34 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/python2/armeabi-v7a
[INFO]: python2 is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking numpy for armeabi-v7a
[INFO]: -> running basename https://pypi.python.or...(and 44 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python2/armeabi-v7a
[INFO]: numpy is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org...(and 26 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni
[INFO]: sdl2 is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.or...(and 40 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/six-python2/armeabi-v7a
[INFO]: six is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 28 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a
[INFO]: pyjnius is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename https://github.com/kiv...(and 25 more)
[INFO]: -> directory context /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/kivy-python2-sdl2/armeabi-v7a
[INFO]: kivy is already unpacked, skipping
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython2 for armeabi-v7a
[INFO]: -> running cp /media/m-essam/MyData/Works...(and 219 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 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 /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/hostpython2/desktop/hostpython2
[INFO]: hostpython already exists, skipping build
[INFO]: <- directory context /media/m-essam/MyData/Workspace/admob-test/python-for-android
[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 /media/m-essam/MyData/Works...(and 232 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 /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/other_builds/numpy-python2/armeabi-v7a/numpy
[INFO]: -> running python.host setup.py build_ext -v
Exception in thread background thread for pid 17257:
Traceback (most recent call last):
File "/home/m-essam/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/m-essam/anaconda3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/bin/python.host setup.py build_ext -v
STDOUT:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
STDERR:
Traceback (most recent call last):
File "/home/m-essam/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/m-essam/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 977, in <module>
main()
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 973, in main
ToolchainCL()
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 512, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/toolchain.py", line 191, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/build.py", line 573, in build_recipes
recipe.build_arch(arch)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/recipe.py", line 852, in build_arch
self.build_compiled_components(arch)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/recipe.py", line 864, in build_compiled_components
_env=env, *self.setup_extra_args)
File "/media/m-essam/MyData/Workspace/admob-test/python-for-android/pythonforandroid/logger.py", line 176, in shprint
for line in output:
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 720, in next
self.wait()
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 651, in wait
self.handle_command_exit_code(exit_code)
File "/home/m-essam/.local/lib/python3.6/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /media/m-essam/MyData/Workspace/admob-test/.buildozer/android/platform/build/build/python-installs/myapp/bin/python.host setup.py build_ext -v
STDOUT:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
STDERR:
b'\x1b[0m\r working: Python-2.7.2.tar.bz2 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_image-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_mixer-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_ttf-2.0.14.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: Python-2.7.2.tar.bz2 'b'\x1b[0m\r \r'b'\x1b[0m\r working: numpy-1.9.2.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2-2.0.4.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: six-1.9.0.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: master.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: 1.10.0.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: Python-2.7.2.tar.bz2 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_image-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_mixer-2.0.1.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2_ttf-2.0.14.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: Python-2.7.2.tar.bz2 'b'\x1b[0m\r \r'b'\x1b[0m\r working: numpy-1.9.2.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: SDL2-2.0.4.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: six-1.9.0.tar.gz 'b'\x1b[0m\r \r'b'\x1b[0m\r working: master.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: 1.10.0.zip 'b'\x1b[0m\r \r'b'\x1b[0m\r working: Could not find platform independent libraries <prefix> 'b'\x1b[0m\r working: Could not find platform dependent libraries <exec_prefix> 'b'\x1b[0m\r working: Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'b'\x1b[0m\r working: ImportError: No module named site 'b'\x1b[0m\r \r'# Command failed: /home/m-essam/anaconda3/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=numpy,kivy,pyjnius,sdl2,git+https://gitlab.com/kivymd/KivyMD.git --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/m-essam/MyData/Workspace/admob-test/.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
thanks in advance
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
RuntimeError: Broken toolchain: cannot link a simple C ...
To do this, just open up xCode and accept. Then, try installing gcc with brew install gcc. Finally, try to install Numpy with...
Read more >cannot link a simple C program,build numpy 1.16.0 on AIX6 ...
Broken toolchain : cannot link a simple C program,build numpy 1.16.0 on ... When I run:python setup.py install,the errors turned out:.
Read more >RuntimeError: Broken toolchain: cannot link a simple C p ...
PYTHON : Problems with pip install numpy - RuntimeError: Broken toolchain : cannot link a simple C program [ Gift : Animated Search...
Read more >Cannot link a simple C program when using buildozer to build
Numpy Issue: Cannot link a simple C program when using buildozer to build ... Run '/home/gb/mykivypython3/bin/python3 -m pythonforandroid.toolchain create ...
Read more >Broken toolchain: cannot link a simple C program-numpy
Writing my first Android app in Python and using Buildozer to package it. Because I will need to use numpy later on in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kirit0-kun could you give https://github.com/kivy/python-for-android/issues/882#issuecomment-411493567 a try and give some update? I’m closing as dup. Feel free to reopen if you think they’re different issues.
Thanks for the bug report. Could you please:
buildozer.spec
fileThe
builddozer.spec
file is required to know which p4a branch you’re using and have some other useful info such as other recipes you used… In the meantime, if it wasn’t already the case, please try withp4a.branch = master
andbuildozer android update
before redoing yourbuildozer android debug
, then also share that logs.