frank@frank-VirtualBox:~/KivyHelloWorld$ buildozer android debug deploy run # 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 /usr/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 'git config --get remote.origin.url' # Cwd /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android https://github.com/kivy/python-for-android.git # Run 'git branch -vv' # Cwd /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android * master 17dfa6a0 [origin/master] Merge pull request #2174 from kivy/release-2020.04.29 # 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"\' \'pep517<0.7.0"\' \'toml\'' # Cwd None # Apache ANT found at /home/frank/.buildozer/android/platform/apache-ant-1.9.4 # Android SDK found at /home/frank/.buildozer/android/platform/android-sdk # Recommended android's NDK version by p4a is: 19c # Android NDK found at /home/frank/.buildozer/android/platform/android-ndk-r19c # Check application requirements # Check garden requirements # Compile platform # Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=testapp --bootstrap=sdl2 --requirements=python3==3.6.9,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21' # Cwd /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Recipe python3: version "3.6.9" requested [INFO]: Will compile for the following archs: armeabi-v7a [INFO]: Found Android API target in $ANDROIDAPI: 27 [INFO]: Available Android APIs are (27) [INFO]: Requested API target 27 is available, continuing. [INFO]: Found NDK dir in $ANDROIDNDK: /home/frank/.buildozer/android/platform/android-ndk-r19c [INFO]: Found NDK version 19c [INFO]: Getting NDK API version (i.e. minimum supported API) from user argument [INFO]: ccache is missing, the build will not be optimized in the future. [INFO]: Found the following toolchain versions: ['4.9'] [INFO]: Picking the latest gcc toolchain, here 4.9 [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: ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'setuptools', 'six', 'pyjnius', 'android', 'kivy'] [INFO]: The selected bootstrap is sdl2 [INFO]: # Creating dist with sdl2 bootstrap [INFO]: Dist will have name testapp and requirements (python3, kivy) [INFO]: Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'setuptools', 'six', 'pyjnius', 'android', 'kivy'] [INFO]: Dist will also contain modules (certifi) installed from pip [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2 [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Recipe build order is ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'setuptools', 'six', 'pyjnius', 'android', 'kivy'] [INFO]: The requirements (certifi) were not found as recipes, they will be installed with pip. [INFO]: # Downloading recipes [INFO]: Downloading hostpython3 [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 73 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/hostpython3 [INFO]: -> running basename https://www.python.or...(and 35 more) [INFO]: hostpython3 download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading libffi [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 68 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/libffi [INFO]: -> running basename https://github.com/li...(and 34 more) [INFO]: libffi download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading openssl [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 69 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/openssl [INFO]: -> running basename https://www.openssl.o...(and 31 more) [INFO]: openssl download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading sdl2_image [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 72 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_image [INFO]: -> running basename https://www.libsdl.o...(and 53 more) [INFO]: sdl2_image download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading sdl2_mixer [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 72 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_mixer [INFO]: -> running basename https://www.libsdl.o...(and 53 more) [INFO]: sdl2_mixer download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading sdl2_ttf [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 70 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_ttf [INFO]: -> running basename https://www.libsdl.or...(and 49 more) [INFO]: sdl2_ttf download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading sqlite3 [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 69 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/sqlite3 [INFO]: -> running basename https://www.sqlite.or...(and 38 more) [INFO]: sqlite3 download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading python3 [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 69 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/python3 [INFO]: -> running basename https://www.python.or...(and 35 more) [INFO]: python3 download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading sdl2 [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 66 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2 [INFO]: -> running basename https://www.libsdl.or...(and 27 more) [INFO]: sdl2 download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading setuptools [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 72 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/setuptools [INFO]: -> running basename https://pypi.python....(and 54 more) [INFO]: setuptools download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading six [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 65 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/six [INFO]: -> running basename https://pypi.python.o...(and 42 more) [INFO]: six download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading pyjnius [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 69 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/pyjnius [INFO]: -> running basename https://github.com/ki...(and 28 more) [INFO]: pyjnius download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Downloading android [INFO]: Skipping android download as no URL is set [INFO]: Downloading kivy [INFO]: -> running mkdir -p /home/frank/KivyHell...(and 66 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/packages/kivy [INFO]: -> running basename https://github.com/ki...(and 26 more) [INFO]: kivy download already cached, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: # Building all recipes for arch armeabi-v7a [INFO]: # Unpacking recipes [INFO]: Unpacking hostpython3 for armeabi-v7a [INFO]: -> running basename https://www.python.or...(and 35 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop [INFO]: hostpython3 is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking libffi for armeabi-v7a [INFO]: -> running basename https://github.com/li...(and 34 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21 [INFO]: libffi is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking openssl for armeabi-v7a [INFO]: -> running basename https://www.openssl.o...(and 31 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21 [INFO]: openssl is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking sdl2_image for armeabi-v7a [INFO]: -> running basename https://www.libsdl.o...(and 53 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni [INFO]: sdl2_image is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking sdl2_mixer for armeabi-v7a [INFO]: -> running basename https://www.libsdl.o...(and 53 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni [INFO]: sdl2_mixer is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking sdl2_ttf for armeabi-v7a [INFO]: -> running basename https://www.libsdl.or...(and 49 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni [INFO]: sdl2_ttf is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking sqlite3 for armeabi-v7a [INFO]: -> running basename https://www.sqlite.or...(and 38 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21 [INFO]: sqlite3 is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking python3 for armeabi-v7a [INFO]: -> running basename https://www.python.or...(and 35 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21 [INFO]: python3 is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking sdl2 for armeabi-v7a [INFO]: -> running basename https://www.libsdl.or...(and 27 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni [INFO]: sdl2 is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking setuptools for armeabi-v7a [INFO]: -> running basename https://pypi.python....(and 54 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/setuptools/armeabi-v7a__ndk_target_21 [INFO]: setuptools is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking six for armeabi-v7a [INFO]: -> running basename https://pypi.python.o...(and 42 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/six/armeabi-v7a__ndk_target_21 [INFO]: six is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Unpacking pyjnius for armeabi-v7a [INFO]: -> running basename https://github.com/ki...(and 28 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21 [INFO]: pyjnius is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: -> running rm -rf /home/frank/KivyHelloW...(and 117 more) [INFO]: -> running cp -a /home/frank/KivyHelloWo...(and 227 more) [INFO]: Unpacking kivy for armeabi-v7a [INFO]: -> running basename https://github.com/ki...(and 26 more) [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21 [INFO]: kivy is already unpacked, skipping [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: # Prebuilding recipes [INFO]: Prebuilding hostpython3 for armeabi-v7a [INFO]: hostpython3 has no prebuild_armeabi_v7a, skipping [INFO]: Prebuilding libffi for armeabi-v7a [INFO]: libffi has no prebuild_armeabi_v7a, skipping [INFO]: Applying patches for libffi[armeabi-v7a] [INFO]: libffi already patched, skipping [INFO]: Prebuilding openssl for armeabi-v7a [INFO]: openssl 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 sqlite3 for armeabi-v7a [INFO]: sqlite3 has no prebuild_armeabi_v7a, skipping [INFO]: Prebuilding python3 for armeabi-v7a [INFO]: python3 has no prebuild_armeabi_v7a, skipping [INFO]: Applying patches for python3[armeabi-v7a] [INFO]: python3 already patched, skipping [INFO]: Prebuilding sdl2 for armeabi-v7a [INFO]: sdl2 has no prebuild_armeabi_v7a, skipping [INFO]: Prebuilding setuptools for armeabi-v7a [INFO]: setuptools has no prebuild_armeabi_v7a, 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 android for armeabi-v7a [INFO]: android has no prebuild_armeabi_v7a, skipping [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android [INFO]: <- directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android [INFO]: Prebuilding kivy for armeabi-v7a [INFO]: kivy has no prebuild_armeabi_v7a, skipping [INFO]: # Building recipes [INFO]: Building hostpython3 for armeabi-v7a [INFO]: hostpython3 said it is already built, skipping [INFO]: Building libffi for armeabi-v7a [INFO]: libffi said it is already built, skipping [INFO]: -> running cp /home/frank/KivyHelloWorld...(and 238 more) [INFO]: Building openssl for armeabi-v7a [INFO]: openssl said it is already built, skipping [INFO]: -> running cp /home/frank/KivyHelloWorld...(and 394 more) [INFO]: Building sdl2_image for armeabi-v7a [INFO]: Building sdl2_mixer for armeabi-v7a [INFO]: Building sdl2_ttf for armeabi-v7a [INFO]: Building sqlite3 for armeabi-v7a [INFO]: sqlite3 said it is already built, skipping [INFO]: Building python3 for armeabi-v7a [INFO]: -> directory context /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build [INFO]: Activating flags for sqlite3 [INFO]: Activating flags for libffi [INFO]: Activating flags for openssl [INFO]: Activating flags for android's zlib [INFO]: -> running configure --host=arm-linux-an...(and 364 more) working: or you can specify "--disable-ipv6". Exception in thread background thread for pid 14595: 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/frank/.local/lib/python3.6/site-packages/sh.py", line 1662, in wrap fn(*args, **kwargs) File "/home/frank/.local/lib/python3.6/site-packages/sh.py", line 2606, in background_thread handle_exit_code(exit_code) File "/home/frank/.local/lib/python3.6/site-packages/sh.py", line 2304, in fn return self.command.handle_command_exit_code(exit_code) File "/home/frank/.local/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/configure --host=arm-linux-androideabi --build=x86_64-pc-linux-gnu --enable-shared --enable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no --without-ensurepip ac_cv_little_endian_double=yes --prefix=/usr/local --exec-prefix=/usr/local --with-openssl=/home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1 STDOUT: configure: WARNING: unrecognized options: --with-openssl checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-androideabi checking for python3.6... python3.6 checking for python interpreter for cross build... python3.6 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... linux checking for --without-gcc... no checking for --with-icc... no checking for arm-linux-androideabi-gcc... /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -g... yes checking for /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang option to accept ISO C89... none needed checking how to run the C preprocessor... /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang -E checking for grep that handles long lines and -e... /bin/grep checking for a sed that does not truncate output... /bin/sed checking for --with-cxx-main=... no checking for arm-linux-androideabi-c++... no checking for arm-linux-androideabi-g++... no checking for arm-linux-androideabi-gcc... no checking for arm-linux-androideabi-CC... no checking for arm-linux-androideabi-cxx... no checking for arm-linux-androideabi-cc++... no checking for arm-linux-androideabi-cl... no checking for c++... c++ configure: WARNING: using cross tools not prefixed with host triplet configure: By default, distutils will build C++ extension modules with "c++". If this is not intended, then set CXX on the configure command line. checking for the platform triplet based on compiler characteristics... none checking for -Wl,--no-as-needed... yes checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for the Android API level... 21 checking for the Android arm ABI... 7 checking for --with-suffix... checking for case-insensitive build directory... no checking LIBRARY... libpython$(VERSION)$(ABIFLAGS).a checking LINKCC... $(PURIFY) $(MAINCC) checking for GNU ld... yes checking for inline... inline checking for --enable-shared... yes checking for --enable-profiling... no checking LDLIBRARY... libpython$(LDVERSION).so checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar checking for arm-linux-androideabi-readelf... arm-linux-androideabi-readelf checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for --with-pydebug... no checking for --with-assertions... no checking for --enable-optimizations... no checking for --with-lto... no checking for -llvm-profdata... no checking for -Wextra... yes checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts and needs -fno-strict-aliasing... no checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang unused result warning... yes checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang unused parameter warning... yes checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang missing field initializers warning... yes checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang invalid function cast warning... no checking if we can turn on /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang mixed sign comparison warning... yes checking if we can turn on /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang unreachable code warning... yes checking if we can turn on /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang strict-prototypes warning... yes checking whether pthreads are available without options... no checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -Kpthread... no checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -Kthread... no checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -pthread... no checking whether c++ also accepts flags for thread support... no checking for ANSI C header files... (cached) yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/bsdtty.h usability... no checking sys/bsdtty.h presence... no checking for sys/bsdtty.h... no checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/kern_control.h usability... no checking sys/kern_control.h presence... no checking for sys/kern_control.h... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/lock.h usability... no checking sys/lock.h presence... no checking for sys/lock.h... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for sys/stat.h... (cached) yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sys_domain.h usability... no checking sys/sys_domain.h presence... no checking for sys/sys_domain.h... no checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking bluetooth.h usability... no checking bluetooth.h presence... no checking for bluetooth.h... no checking linux/tipc.h usability... yes checking linux/tipc.h presence... yes checking for linux/tipc.h... yes checking linux/random.h usability... yes checking linux/random.h presence... yes checking for linux/random.h... yes checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... no checking whether sys/types.h defines makedev... no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no checking for net/if.h... yes checking for linux/netlink.h... yes checking for linux/can.h... yes checking for linux/can/raw.h... yes checking for linux/can/bcm.h... yes checking for clock_t in time.h... yes checking for makedev... no checking for le64toh... no checking Solaris LFS bug... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for ssize_t... yes checking for __uint128_t... no checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of void *... 4 checking size of short... 2 checking size of float... 4 checking size of double... 8 checking size of fpos_t... 8 checking size of size_t... 4 checking size of pid_t... 4 checking size of uintptr_t... 4 checking for long double support... yes checking size of long double... 8 checking size of _Bool... 1 checking size of off_t... 8 checking whether to enable large file support... yes checking size of time_t... 4 checking for pthread_t... yes checking size of pthread_t... 4 checking for --enable-framework... no checking for dyld... no checking the extension of shared libraries... .so checking LDSHARED... $(CC) -shared checking CCSHARED... checking LINKFORSHARED... -pie -Xlinker -export-dynamic checking CFLAGSFORSHARED... $(CCSHARED) checking SHLIBS... $(LIBS) checking for sendfile in -lsendfile... no checking for dlopen in -ldl... no checking for shl_load in -ldld... no checking for library containing sem_init... no checking for textdomain in -lintl... no checking aligned memory access is required... yes checking for --with-hash-algorithm... default checking for --with-address-sanitizer... no checking for --with-memory-sanitizer... no checking for --with-undefined-behavior-sanitizer... no checking for t_open in -lnsl... no checking for socket in -lsocket... no checking for --with-libs... no checking for arm-linux-androideabi-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for --with-system-expat... no checking for --with-system-ffi... yes checking for --with-system-libmpdec... no checking for --enable-loadable-sqlite-extensions... no checking for --with-tcltk-includes... default checking for --with-tcltk-libs... default checking for --with-dbmliborder... checking for --with-threads... yes checking for _POSIX_THREADS in unistd.h... yes checking for pthread_create in -lpthread... checking for pthread_detach... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lc_r... no checking for __pthread_create_system in -lpthread... no checking for pthread_create in -lcma... no checking for usconfig in -lmpc... no checking for thr_create in -lthread... no checking if --enable-ipv6 is specified... yes checking ipv6 stack type... unknown checking for CAN_RAW_FD_FRAMES... yes checking for --with-doc-strings... yes checking for --with-pymalloc... yes checking for --with-valgrind... no checking for --with-dtrace... no checking for dlopen... no checking DYNLOADFILE... dynload_stub.o checking MACHDEP_OBJS... none checking for alarm... no checking for accept4... no checking for setitimer... no checking for getitimer... no checking for bind_textdomain_codeset... no checking for chown... no checking for clock... no checking for confstr... no checking for ctermid... no checking for dup3... no checking for execv... no checking for faccessat... no checking for fchmod... no checking for fchmodat... no checking for fchown... no checking for fchownat... no checking for fexecve... no checking for fdopendir... no checking for fork... no checking for fpathconf... no checking for fstatat... no checking for ftime... no checking for ftruncate... no checking for futimesat... no checking for futimens... no checking for futimes... no checking for gai_strerror... no checking for getentropy... no checking for getgrouplist... no checking for getgroups... no checking for getlogin... no checking for getloadavg... no checking for getpeername... no checking for getpgid... no checking for getpid... no checking for getpriority... no checking for getresuid... no checking for getresgid... no checking for getpwent... no checking for getspnam... no checking for getspent... no checking for getsid... no checking for getwd... no checking for initgroups... no checking for kill... no checking for killpg... no checking for lchown... no checking for linkat... no checking for lstat... no checking for lutimes... no checking for mmap... no checking for memrchr... no checking for mbrtowc... no checking for mkdirat... no checking for mkfifo... no checking for mkfifoat... no checking for mknod... no checking for mknodat... no checking for mktime... no checking for mremap... no checking for nice... no checking for openat... no checking for pathconf... no checking for pause... no checking for pipe2... no checking for plock... no checking for poll... no checking for posix_fallocate... no checking for posix_fadvise... no checking for pread... no checking for pthread_init... no checking for pthread_kill... no checking for putenv... no checking for pwrite... no checking for readlink... no checking for readlinkat... no checking for readv... no checking for realpath... no checking for renameat... no checking for select... no checking for sem_open... no checking for sem_timedwait... no checking for sem_getvalue... no checking for sem_unlink... no checking for sendfile... no checking for setegid... no checking for seteuid... no checking for setgid... no checking for sethostname... no checking for setlocale... no checking for setregid... no checking for setreuid... no checking for setresuid... no checking for setresgid... no checking for setsid... no checking for setpgid... no checking for setpgrp... no checking for setpriority... no checking for setuid... no checking for setvbuf... no checking for sched_get_priority_max... no checking for sched_setaffinity... no checking for sched_setscheduler... no checking for sched_setparam... no checking for sched_rr_get_interval... no checking for sigaction... no checking for sigaltstack... no checking for siginterrupt... no checking for sigpending... no checking for sigrelse... no checking for sigtimedwait... no checking for sigwait... no checking for sigwaitinfo... no checking for snprintf... no checking for strftime... no checking for strlcpy... no checking for symlinkat... no checking for sync... no checking for sysconf... no checking for tcgetpgrp... no checking for tcsetpgrp... no checking for tempnam... no checking for timegm... no checking for times... no checking for tmpfile... no checking for tmpnam... no checking for tmpnam_r... no checking for truncate... no checking for uname... no checking for unlinkat... no checking for unsetenv... no checking for utimensat... no checking for utimes... no checking for waitid... no checking for waitpid... no checking for wait3... no checking for wait4... no checking for wcscoll... no checking for wcsftime... no checking for wcsxfrm... no checking for wmemcmp... no checking for writev... no checking for _getpty... no checking whether dirfd is declared... yes checking for chroot... yes checking for link... yes checking for symlink... yes checking for fchdir... yes checking for fsync... yes checking for fdatasync... yes checking for epoll... yes checking for epoll_create1... yes checking for kqueue... no checking for prlimit... no checking for ctermid_r... no checking for flock declaration... yes checking for flock... no checking for flock in -lbsd... no checking for getpagesize... yes checking for broken unsetenv... no checking for true... true checking for inet_aton in -lc... no checking for inet_aton in -lresolv... no checking for chflags... cross checking for chflags... no checking for lchflags... cross checking for lchflags... no checking for inflateCopy in -lz... no checking for hstrerror... no checking for inet_aton... no checking for inet_pton... yes checking for setgroups... yes checking for openpty... no checking for openpty in -lutil... no checking for openpty in -lbsd... no checking for forkpty... no checking for forkpty in -lutil... no checking for forkpty in -lbsd... no checking for memmove... no checking for fseek64... no checking for fseeko... no checking for fstatvfs... no checking for ftell64... no checking for ftello... no checking for statvfs... no checking for dup2... no checking for strdup... no checking for getpgrp... no checking for setpgrp... (cached) no checking for gettimeofday... no checking for clock_gettime... no checking for clock_gettime in -lrt... no checking for clock_getres... no checking for clock_getres in -lrt... no checking for clock_settime... no checking for clock_settime in -lrt... no checking for major... no checking for if_nameindex... no checking for lockf... no checking for getaddrinfo... no Fatal: You must get working getaddrinfo() function. or you can specify "--disable-ipv6". 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/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1231, in main() File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main ToolchainCL() File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 688, in __init__ getattr(self, command)(args) File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 154, in wrapper_func build_dist_from_args(ctx, dist, args) File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 208, in build_dist_from_args args, "ignore_setup_py", False File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 573, in build_recipes recipe.build_arch(arch) File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/python3/__init__.py", line 300, in build_arch _env=env) File "/home/frank/KivyHelloWorld/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint for line in output: File "/home/frank/.local/lib/python3.6/site-packages/sh.py", line 925, in next self.wait() File "/home/frank/.local/lib/python3.6/site-packages/sh.py", line 849, in wait self.handle_command_exit_code(exit_code) File "/home/frank/.local/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/configure --host=arm-linux-androideabi --build=x86_64-pc-linux-gnu --enable-shared --enable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no --without-ensurepip ac_cv_little_endian_double=yes --prefix=/usr/local --exec-prefix=/usr/local --with-openssl=/home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1 STDOUT: configure: WARNING: unrecognized options: --with-openssl checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-androideabi checking for python3.6... python3.6 checking for python interpreter for cross build... python3.6 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... linux checking for --without-gcc... no checking for --with-icc... no checking for arm-linux-androideabi-gcc... /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -g... yes checking for /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang option to accept ISO C89... none needed checking how to run the C preprocessor... /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang -E checking for grep that handles long lines and -e... /bin/grep checking for a sed that does not truncate output... /bin/sed checking for --with-cxx-main=... no checking for arm-linux-androideabi-c++... no checking for arm-linux-androideabi-g++... no checking for arm-linux-androideabi-gcc... no checking for arm-linux-androideabi-CC... no checking for arm-linux-androideabi-cxx... no checking for arm-linux-androideabi-cc++... no checking for arm-linux-androideabi-cl... no checking for c++... c++ configure: WARNING: using cross tools not prefixed with host triplet configure: By default, distutils will build C++ extension modules with "c++". If this is not intended, then set CXX on the configure command line. checking for the platform triplet based on compiler characteristics... none checking for -Wl,--no-as-needed... yes checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for the Android API level... 21 checking for the Android arm ABI... 7 checking for --with-suffix... checking for case-insensitive build directory... no checking LIBRARY... libpython$(VERSION)$(ABIFLAGS).a checking LINKCC... $(PURIFY) $(MAINCC) checking for GNU ld... yes checking for inline... inline checking for --enable-shared... yes checking for --enable-profiling... no checking LDLIBRARY... libpython$(LDVERSION).so checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar checking for arm-linux-androideabi-readelf... arm-linux-androideabi-readelf checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for --with-pydebug... no checking for --with-assertions... no checking for --enable-optimizations... no checking for --with-lto... no checking for -llvm-profdata... no checking for -Wextra... yes checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts and needs -fno-strict-aliasing... no checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang unused result warning... yes checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang unused parameter warning... yes checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang missing field initializers warning... yes checking if we can turn off /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang invalid function cast warning... no checking if we can turn on /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang mixed sign comparison warning... yes checking if we can turn on /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang unreachable code warning... yes checking if we can turn on /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang strict-prototypes warning... yes checking whether pthreads are available without options... no checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -Kpthread... no checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -Kthread... no checking whether /home/frank/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang accepts -pthread... no checking whether c++ also accepts flags for thread support... no checking for ANSI C header files... (cached) yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/bsdtty.h usability... no checking sys/bsdtty.h presence... no checking for sys/bsdtty.h... no checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/kern_control.h usability... no checking sys/kern_control.h presence... no checking for sys/kern_control.h... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/lock.h usability... no checking sys/lock.h presence... no checking for sys/lock.h... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for sys/stat.h... (cached) yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sys_domain.h usability... no checking sys/sys_domain.h presence... no checking for sys/sys_domain.h... no checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking bluetooth.h usability... no checking bluetooth.h presence... no checking for bluetooth.h... no checking linux/tipc.h usability... yes checking linux/tipc.h presence... yes checking for linux/tipc.h... yes checking linux/random.h usability... yes checking linux/random.h presence... yes checking for linux/random.h... yes checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... no checking whether sys/types.h defines makedev... no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no checking for net/if.h... yes checking for linux/netlink.h... yes checking for linux/can.h... yes checking for linux/can/raw.h... yes checking for linux/can/bcm.h... yes checking for clock_t in time.h... yes checking for makedev... no checking for le64toh... no checking Solaris LFS bug... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for ssize_t... yes checking for __uint128_t... no checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of void *... 4 checking size of short... 2 checking size of float... 4 checking size of double... 8 checking size of fpos_t... 8 checking size of size_t... 4 checking size of pid_t... 4 checking size of uintptr_t... 4 checking for long double support... yes checking size of long double... 8 checking size of _Bool... 1 checking size of off_t... 8 checking whether to enable large file support... yes checking size of time_t... 4 checking for pthread_t... yes checking size of pthread_t... 4 checking for --enable-framework... no checking for dyld... no checking the extension of shared libraries... .so checking LDSHARED... $(CC) -shared checking CCSHARED... checking LINKFORSHARED... -pie -Xlinker -export-dynamic checking CFLAGSFORSHARED... $(CCSHARED) checking SHLIBS... $(LIBS) checking for sendfile in -lsendfile... no checking for dlopen in -ldl... no checking for shl_load in -ldld... no checking for library containing sem_init... no checking for textdomain in -lintl... no checking aligned memory access is required... yes checking for --with-hash-algorithm... default checking for --with-address-sanitizer... no checking for --with-memory-sanitizer... no checking for --with-undefined-behavior-sanitizer... no checking for t_open in -lnsl... no checking for socket in -lsocket... no checking for --with-libs... no checking for arm-linux-androideabi-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for --with-system-expat... no checking for --with-system-ffi... yes checking for --with-system-libmpdec... no checking for --enable-loadable-sqlite-extensions... no checking for --with-tcltk-includes... default checking for --with-tcltk-libs... default checking for --with-dbmliborder... checking for --with-threads... yes checking for _POSIX_THREADS in unistd.h... yes checking for pthread_create in -lpthread... checking for pthread_detach... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lc_r... no checking for __pthread_create_system in -lpthread... no checking for pthread_create in -lcma... no checking for usconfig in -lmpc... no checking for thr_create in -lthread... no checking if --enable-ipv6 is specified... yes checking ipv6 stack type... unknown checking for CAN_RAW_FD_FRAMES... yes checking for --with-doc-strings... yes checking for --with-pymalloc... yes checking for --with-valgrind... no checking for --with-dtrace... no checking for dlopen... no checking DYNLOADFILE... dynload_stub.o checking MACHDEP_OBJS... none checking for alarm... no checking for accept4... no checking for setitimer... no checking for getitimer... no checking for bind_textdomain_codeset... no checking for chown... no checking for clock... no checking for confstr... no checking for ctermid... no checking for dup3... no checking for execv... no checking for faccessat... no checking for fchmod... no checking for fchmodat... no checking for fchown... no checking for fchownat... no checking for fexecve... no checking for fdopendir... no checking for fork... no checking for fpathconf... no checking for fstatat... no checking for ftime... no checking for ftruncate... no checking for futimesat... no checking for futimens... no checking for futimes... no checking for gai_strerror... no checking for getentropy... no checking for getgrouplist... no checking for getgroups... no checking for getlogin... no checking for getloadavg... no checking for getpeername... no checking for getpgid... no checking for getpid... no checking for getpriority... no checking for getresuid... no checking for getresgid... no checking for getpwent... no checking for getspnam... no checking for getspent... no checking for getsid... no checking for getwd... no checking for initgroups... no checking for kill... no checking for killpg... no checking for lchown... no checking for linkat... no checking for lstat... no checking for lutimes... no checking for mmap... no checking for memrchr... no checking for mbrtowc... no checking for mkdirat... no checking for mkfifo... no checking for mkfifoat... no checking for mknod... no checking for mknodat... no checking for mktime... no checking for mremap... no checking for nice... no checking for openat... no checking for pathconf... no checking for pause... no checking for pipe2... no checking for plock... no checking for poll... no checking for posix_fallocate... no checking for posix_fadvise... no checking for pread... no checking for pthread_init... no checking for pthread_kill... no checking for putenv... no checking for pwrite... no checking for readlink... no checking for readlinkat... no checking for readv... no checking for realpath... no checking for renameat... no checking for select... no checking for sem_open... no checking for sem_timedwait... no checking for sem_getvalue... no checking for sem_unlink... no checking for sendfile... no checking for setegid... no checking for seteuid... no checking for setgid... no checking for sethostname... no checking for setlocale... no checking for setregid... no checking for setreuid... no checking for setresuid... no checking for setresgid... no checking for setsid... no checking for setpgid... no checking for setpgrp... no checking for setpriority... no checking for setuid... no checking for setvbuf... no checking for sched_get_priority_max... no checking for sched_setaffinity... no checking for sched_setscheduler... no checking for sched_setparam... no checking for sched_rr_get_interval... no checking for sigaction... no checking for sigaltstack... no checking for siginterrupt... no checking for sigpending... no checking for sigrelse... no checking for sigtimedwait... no checking for sigwait... no checking for sigwaitinfo... no checking for snprintf... no checking for strftime... no checking for strlcpy... no checking for symlinkat... no checking for sync... no checking for sysconf... no checking for tcgetpgrp... no checking for tcsetpgrp... no checking for tempnam... no checking for timegm... no checking for times... no checking for tmpfile... no checking for tmpnam... no checking for tmpnam_r... no checking for truncate... no checking for uname... no checking for unlinkat... no checking for unsetenv... no checking for utimensat... no checking for utimes... no checking for waitid... no checking for waitpid... no checking for wait3... no checking for wait4... no checking for wcscoll... no checking for wcsftime... no checking for wcsxfrm... no checking for wmemcmp... no checking for writev... no checking for _getpty... no checking whether dirfd is declared... yes checking for chroot... yes checking for link... yes checking for symlink... yes checking for fchdir... yes checking for fsync... yes checking for fdatasync... yes checking for epoll... yes checking for epoll_create1... yes checking for kqueue... no checking for prlimit... no checking for ctermid_r... no checking for flock declaration... yes checking for flock... no checking for flock in -lbsd... no checking for getpagesize... yes checking for broken unsetenv... no checking for true... true checking for inet_aton in -lc... no checking for inet_aton in -lresolv... no checking for chflags... cross checking for chflags... no checking for lchflags... cross checking for lchflags... no checking for inflateCopy in -lz... no checking for hstrerror... no checking for inet_aton... no checking for inet_pton... yes checking for setgroups... yes checking for openpty... no checking for openpty in -lutil... no checking for openpty in -lbsd... no checking for forkpty... no checking for forkpty in -lutil... no checking for forkpty in -lbsd... no checking for memmove... no checking for fseek64... no checking for fseeko... no checking for fstatvfs... no checking for ftell64... no checking for ftello... no checking for statvfs... no checking for dup2... no checking for strdup... no checking for getpgrp... no checking for setpgrp... (cached) no checking for gettimeofday... no checking for clock_gettime... no checking for clock_gettime in -lrt... no checking for clock_getres... no checking for clock_getres in -lrt... no checking for clock_settime... no checking for clock_settime in -lrt... no checking for major... no checking for if_nameindex... no checking for lockf... no checking for getaddrinfo... no Fatal: You must get working getaddrinfo() function. or you can specify "--disable-ipv6". STDERR: # Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=testapp --bootstrap=sdl2 --requirements=python3==3.6.9,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/frank/KivyHelloWorld/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21 # ENVIRONMENT: # CLUTTER_IM_MODULE = 'xim' # LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' # LC_MEASUREMENT = 'fr_FR.UTF-8' # LESSCLOSE = '/usr/bin/lesspipe %s %s' # LC_PAPER = 'fr_FR.UTF-8' # LC_MONETARY = 'fr_FR.UTF-8' # XDG_MENU_PREFIX = 'gnome-' # LANG = 'en_US.UTF-8' # DISPLAY = ':1' # GNOME_SHELL_SESSION_MODE = 'ubuntu' # COLORTERM = 'truecolor' # USERNAME = 'frank' # XDG_VTNR = '2' # SSH_AUTH_SOCK = '/run/user/1000/keyring/ssh' # LC_NAME = 'fr_FR.UTF-8' # XDG_SESSION_ID = '3' # USER = 'frank' # DESKTOP_SESSION = 'ubuntu' # QT4_IM_MODULE = 'xim' # TEXTDOMAINDIR = '/usr/share/locale/' # GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/ea70554a_fd70_4a94_ab6f_90c0744d51af' # PWD = '/home/frank/KivyHelloWorld' # HOME = '/home/frank' # TEXTDOMAIN = 'im-config' # SSH_AGENT_PID = '1454' # QT_ACCESSIBILITY = '1' # XDG_SESSION_TYPE = 'x11' # XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop' # XDG_SESSION_DESKTOP = 'ubuntu' # LC_ADDRESS = 'fr_FR.UTF-8' # GJS_DEBUG_OUTPUT = 'stderr' # LC_NUMERIC = 'fr_FR.UTF-8' # GTK_MODULES = 'gail:atk-bridge' # WINDOWPATH = '2' # VTE_VERSION = '5202' # TERM = 'xterm-256color' # SHELL = '/bin/bash' # QT_IM_MODULE = 'xim' # XMODIFIERS = '@im=ibus' # IM_CONFIG_PHASE = '2' # XDG_CURRENT_DESKTOP = 'ubuntu:GNOME' # GPG_AGENT_INFO = '/run/user/1000/gnupg/S.gpg-agent:0:1' # GNOME_TERMINAL_SERVICE = ':1.64' # XDG_SEAT = 'seat0' # SHLVL = '1' # LC_TELEPHONE = 'fr_FR.UTF-8' # GDMSESSION = 'ubuntu' # GNOME_DESKTOP_SESSION_ID = 'this-is-deprecated' # LOGNAME = 'frank' # DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus' # XDG_RUNTIME_DIR = '/run/user/1000' # XAUTHORITY = '/run/user/1000/gdm/Xauthority' # XDG_CONFIG_DIRS = '/etc/xdg/xdg-ubuntu:/etc/xdg' # PATH = '/home/frank/.buildozer/android/platform/apache-ant-1.9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' # LC_IDENTIFICATION = 'fr_FR.UTF-8' # GJS_DEBUG_TOPICS = 'JS ERROR;JS LOG' # SESSION_MANAGER = 'local/frank-VirtualBox:@/tmp/.ICE-unix/1343,unix/frank-VirtualBox:/tmp/.ICE-unix/1343' # LESSOPEN = '| /usr/bin/lesspipe %s' # GTK_IM_MODULE = 'ibus' # LC_TIME = 'fr_FR.UTF-8' # _ = '/usr/local/bin/buildozer' # OLDPWD = '/home/frank' # PACKAGES_PATH = '/home/frank/.buildozer/android/packages' # ANDROIDSDK = '/home/frank/.buildozer/android/platform/android-sdk' # ANDROIDNDK = '/home/frank/.buildozer/android/platform/android-ndk-r19c' # ANDROIDAPI = '27' # ANDROIDMINAPI = '21' # # 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