Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildozer failed to work with NDK 25b (minimum supported by p4a) #1543

Closed
Marcinosoft opened this issue Jan 11, 2023 · 13 comments
Closed

Buildozer failed to work with NDK 25b (minimum supported by p4a) #1543

Marcinosoft opened this issue Jan 11, 2023 · 13 comments

Comments

@Marcinosoft
Copy link

Marcinosoft commented Jan 11, 2023

  • Python: 3.8.10
  • OS: Win10, Ubuntu 22.04/20.04 on WSL v1
  • Buildozer: 1.4.0

Currently recommended android's NDK version by p4a is: 25b.
If you try to specify older one within buildozer.spec:

# (str) Android NDK version to use
android.ndk = 23b

then following error appear:

[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI: 33
[INFO]:    Available Android APIs are (33)
[INFO]:    Requested API target 33 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK: /home/hp/.buildozer/android/platform/android-ndk-r23b
[INFO]:    Found NDK version 23b
[ERROR]:   Build failed: The minimum supported NDK version is 25. You can download it from https://developer.android.com/ndk/downloads/.
[INFO]:    Instructions: Please, go to the android NDK page (https://developer.android.com/ndk/downloads/) and download a supported version.
*** The currently recommended NDK version is 25b ***

Leaving android.ndk param unspecified Buildozer is downloading android-ndk-r25b, then fails on building libffi for armeabi-v7a:

[INFO]:    Building libffi for armeabi-v7a
[INFO]:    -> directory context /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[DEBUG]:   -> running autogen.sh
[DEBUG]:        autoreconf: export WARNINGS=
[DEBUG]:        autoreconf: Entering directory '.'
[DEBUG]:        autoreconf: configure.ac: not using Gettext
[DEBUG]:        autoreconf: running: aclocal -I m4
[DEBUG]:        autoreconf: configure.ac: tracing
[DEBUG]:        autoreconf: running: libtoolize --copy
[DEBUG]:        libtoolize: putting auxiliary files in '.'.
[DEBUG]:        libtoolize: copying file './ltmain.sh'
[DEBUG]:        libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
[DEBUG]:        libtoolize: copying file 'm4/libtool.m4'
[DEBUG]:        libtoolize: copying file 'm4/ltoptions.m4'
[DEBUG]:        libtoolize: copying file 'm4/ltsugar.m4'
[DEBUG]:        libtoolize: copying file 'm4/ltversion.m4'
[DEBUG]:        libtoolize: copying file 'm4/lt~obsolete.m4'
[DEBUG]:        autoreconf: configure.ac: not using Intltool
[DEBUG]:        autoreconf: configure.ac: not using Gtkdoc
[DEBUG]:        autoreconf: running: aclocal -I m4
[DEBUG]:        autoreconf: running: /usr/bin/autoconf
[DEBUG]:        configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
[DEBUG]:        configure.ac:8: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
[DEBUG]:        configure.ac:8: the top level
[DEBUG]:        configure.ac:41: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
[DEBUG]:        configure.ac:41: You should run autoupdate.
[DEBUG]:        m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
[DEBUG]:        configure.ac:41: the top level
[DEBUG]:        configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:74: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...
[DEBUG]:        configure.ac:74: the top level
[DEBUG]:        configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete.
[DEBUG]:        configure.ac:91: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
[DEBUG]:        configure.ac:91: the top level
[DEBUG]:        configure.ac:118: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:118: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...
[DEBUG]:        configure.ac:118: the top level
[DEBUG]:        configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete.
[DEBUG]:        configure.ac:122: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        configure.ac:122: the top level
[DEBUG]:        configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:138: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        configure.ac:138: the top level
[DEBUG]:        configure.ac:185: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:185: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        configure.ac:185: the top level
[DEBUG]:        configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.
[DEBUG]:        configure.ac:310: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
[DEBUG]:        configure.ac:310: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_HELP_STRING' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_PROG_LD' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        m4/libtool.m4:3341: AC_PROG_LD is expanded from...
[DEBUG]:        acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
[DEBUG]:        acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_TRY_LINK' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        autoreconf: running: /usr/bin/autoheader
[DEBUG]:        autoreconf: running: automake --add-missing --copy --no-force
[DEBUG]:        configure.ac:31: installing './compile'
[DEBUG]:        configure.ac:19: installing './install-sh'
[DEBUG]:        configure.ac:19: installing './missing'
[DEBUG]:        Makefile.am: installing './depcomp'
[DEBUG]:        doc/Makefile.am:3: installing 'doc/mdate-sh'
[DEBUG]:        doc/Makefile.am:3: installing 'doc/texinfo.tex'
[DEBUG]:        autoreconf: Leaving directory '.'
[DEBUG]:   -> running autoreconf -vif
[DEBUG]:        autoreconf: export WARNINGS=
[DEBUG]:        autoreconf: Entering directory '.'
[DEBUG]:        autoreconf: configure.ac: not using Gettext
[DEBUG]:        autoreconf: running: aclocal --force -I m4
[DEBUG]:        autoreconf: configure.ac: tracing
[DEBUG]:        autoreconf: running: libtoolize --copy --force
[DEBUG]:        libtoolize: putting auxiliary files in '.'.
[DEBUG]:        libtoolize: copying file './ltmain.sh'
[DEBUG]:        libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
[DEBUG]:        libtoolize: copying file 'm4/libtool.m4'
[DEBUG]:        libtoolize: copying file 'm4/ltoptions.m4'
[DEBUG]:        libtoolize: copying file 'm4/ltsugar.m4'
[DEBUG]:        libtoolize: copying file 'm4/ltversion.m4'
[DEBUG]:        libtoolize: copying file 'm4/lt~obsolete.m4'
[DEBUG]:        autoreconf: configure.ac: not using Intltool
[DEBUG]:        autoreconf: configure.ac: not using Gtkdoc
[DEBUG]:        autoreconf: running: aclocal --force -I m4
[DEBUG]:        autoreconf: running: /usr/bin/autoconf --force
[DEBUG]:        configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
[DEBUG]:        configure.ac:8: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
[DEBUG]:        configure.ac:8: the top level
[DEBUG]:        configure.ac:41: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
[DEBUG]:        configure.ac:41: You should run autoupdate.
[DEBUG]:        m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
[DEBUG]:        configure.ac:41: the top level
[DEBUG]:        configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:74: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...
[DEBUG]:        configure.ac:74: the top level
[DEBUG]:        configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete.
[DEBUG]:        configure.ac:91: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
[DEBUG]:        configure.ac:91: the top level
[DEBUG]:        configure.ac:118: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:118: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...
[DEBUG]:        configure.ac:118: the top level
[DEBUG]:        configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete.
[DEBUG]:        configure.ac:122: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        configure.ac:122: the top level
[DEBUG]:        configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:138: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        configure.ac:138: the top level
[DEBUG]:        configure.ac:185: warning: The macro `AC_TRY_COMPILE' is obsolete.
[DEBUG]:        configure.ac:185: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
[DEBUG]:        lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
[DEBUG]:        ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
[DEBUG]:        configure.ac:185: the top level
[DEBUG]:        configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.
[DEBUG]:        configure.ac:310: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
[DEBUG]:        configure.ac:310: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_HELP_STRING' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_PROG_LD' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        m4/libtool.m4:3341: AC_PROG_LD is expanded from...
[DEBUG]:        acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
[DEBUG]:        acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        configure.ac:418: warning: The macro `AC_TRY_LINK' is obsolete.
[DEBUG]:        configure.ac:418: You should run autoupdate.
[DEBUG]:        ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
[DEBUG]:        acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...
[DEBUG]:        configure.ac:418: the top level
[DEBUG]:        autoreconf: running: /usr/bin/autoheader --force
[DEBUG]:        autoreconf: running: automake --add-missing --copy --force-missing
[DEBUG]:        configure.ac:31: installing './compile'
[DEBUG]:        configure.ac:19: installing './missing'
[DEBUG]:        Makefile.am: installing './depcomp'
[DEBUG]:        autoreconf: Leaving directory '.'
[DEBUG]:   -> running configure --host=arm-linux-androideabi --prefix=/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi -
-disable-builddir --enable-shared
[DEBUG]:        checking build system type... x86_64-pc-linux-gnu
[DEBUG]:        checking host system type... arm-unknown-linux-androideabi
[DEBUG]:        checking target system type... arm-unknown-linux-androideabi
[DEBUG]:        checking for gsed... sed
[DEBUG]:        checking for a BSD-compatible install... /usr/bin/install -c
[DEBUG]:        checking whether build environment is sane... yes
[DEBUG]:        checking for arm-linux-androideabi-strip... /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
[DEBUG]:        checking for a race-free mkdir -p... /usr/bin/mkdir -p
[DEBUG]:        checking for gawk... gawk
[DEBUG]:        checking whether make -j8 sets $(MAKE)... yes
[DEBUG]:        checking whether make -j8 supports nested variables... yes
[DEBUG]:        checking for arm-linux-androideabi-gcc... /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-fr
ame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
[DEBUG]:        checking whether the C compiler works... no
[DEBUG]:        configure: error: in `/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi':
[DEBUG]:        configure: error: C compiler cannot create executables
[DEBUG]:        See `config.log' for more details
Exception in thread background thread for pid 12875:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_77:

  RAN: /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure --host=arm-linux-androideabi --prefix=/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared

  STDOUT:
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make -j8 sets $(MAKE)... yes
checking whether make -j8 supports nested variables... yes
checking for arm-linux-androideabi-gcc... /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -mar
ch=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
checking whether the C compiler works... no
configure: error: in `/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi':
configure: error: C compiler cannot create executables
See `config.log' for more details


  STDERR:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1312, in <module>
    main()
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 734, in __init__
    getattr(self, command)(args)
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 212, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes
    recipe.build_arch(arch)
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/libffi/__init__.py", line 30, in build_arch
    shprint(sh.Command('./configure'),
  File "/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 915, in next
    self.wait()
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/home/hp/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_77:

  RAN: /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure --host=arm-linux-androideabi --prefix=/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared

  STDOUT:
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make -j8 sets $(MAKE)... yes
checking whether make -j8 supports nested variables... yes
checking for arm-linux-androideabi-gcc... /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -mar
ch=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
checking whether the C compiler works... no
configure: error: in `/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi':
configure: error: C compiler cannot create executables
See `config.log' for more details

and here is mentioned config.log content (C:\Kivy\Projects\Sample.buildozer\android\platform\build-armeabi-v7a\build\other_builds\libffi\armeabi-v7a__ndk_target_21\libffi\config.log):

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.4.2, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure --host=arm-linux-androideabi --prefix=/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = HP
uname -m = x86_64
uname -r = 4.4.0-19041-Microsoft
uname -s = Linux
uname -v = #2311-Microsoft Tue Nov 08 17:09:00 PST 2022

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/
PATH: /home/hp/.buildozer/android/platform/android-ndk-r25b/
PATH: /home/hp/.buildozer/android/platform/android-sdk/tools/
PATH: /home/hp/.buildozer/android/platform/apache-ant-1.9.4/bin/
PATH: /home/hp/.local/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /mnt/c/Kivy/Projects/Sample/venv/Scripts/
PATH: /mnt/c/Windows/system32/
PATH: /mnt/c/Windows/
PATH: /mnt/c/Windows/System32/Wbem/
PATH: /mnt/c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /mnt/c/Users/HP/AppData/Local/Programs/Python/Python38/Scripts/
PATH: /mnt/c/Users/HP/AppData/Local/Programs/Python/Python38/
PATH: /mnt/c/Users/HP/AppData/Local/Programs/Python/Launcher/
PATH: /mnt/c/Users/HP/AppData/Local/Microsoft/WindowsApps/
PATH: /snap/bin/
PATH: /home/hp/.local/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3071: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3084:  trying ./
configure:3113:   ./ltmain.sh found
configure:3113:   ./compile found
configure:3113:   ./missing found
configure:3095:   ./install-sh found
configure:3113:   ./config.guess found
configure:3113:   ./config.sub found
configure:3234: checking build system type
configure:3249: result: x86_64-pc-linux-gnu
configure:3269: checking host system type
configure:3283: result: arm-unknown-linux-androideabi
configure:3303: checking target system type
configure:3317: result: arm-unknown-linux-androideabi
configure:3416: checking for gsed
configure:3452: result: sed
configure:3481: checking for a BSD-compatible install
configure:3554: result: /usr/bin/install -c
configure:3565: checking whether build environment is sane
configure:3620: result: yes
configure:3672: checking for arm-linux-androideabi-strip
configure:3704: result: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
configure:3775: checking for a race-free mkdir -p
configure:3819: result: /usr/bin/mkdir -p
configure:3826: checking for gawk
configure:3847: found /usr/bin/gawk
configure:3858: result: gawk
configure:3869: checking whether make -j8 sets $(MAKE)
configure:3892: result: yes
configure:3922: checking whether make -j8 supports nested variables
configure:3940: result: yes
configure:4104: checking for arm-linux-androideabi-gcc
configure:4136: result: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:4534: checking for C compiler version
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC --version >&5
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4545: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -v >&5
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4545: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -V >&5
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4545: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -qversion >&5
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4545: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -version >&5
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4545: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4574: checking whether the C compiler works
configure:4596: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/ample/armeabi-v7a conftest.c  >&5
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4598: /home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4600: $? = 126
configure:4640: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
configure:4645: error: in `/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi':
configure:4647: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_path_ax_enable_builddir_sed=sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
ac_cv_prog_STRIP='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded'
ac_cv_prog_make_make_set=yes
ac_cv_target=arm-unknown-linux-androideabi
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' aclocal-1.16'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_LTLDFLAGS=''
AM_RUNTESTFLAGS=''
AM_V='$(V)'
AR='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar'
AUTOCONF='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' automake-1.16'
AWK='gawk'
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE=''
CC='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CPPFLAGS='-DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9'
CSCOPE='cscope'
CTAGS='ctags'
CXX='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS='etags'
EXEEXT=''
FFI_DEBUG_FALSE=''
FFI_DEBUG_TRUE=''
FFI_EXEC_TRAMPOLINE_TABLE=''
FFI_EXEC_TRAMPOLINE_TABLE_FALSE=''
FFI_EXEC_TRAMPOLINE_TABLE_TRUE=''
FGREP=''
GREP=''
HAVE_LONG_DOUBLE=''
HAVE_LONG_DOUBLE_VARIANT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='  -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a'
LIBFFI_BUILD_VERSIONED_SHLIB_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE=''
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE=''
LIBFFI_BUILD_VERSIONED_SHLIB_TRUE=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPT_LDFLAGS=''
OTOOL64=''
OTOOL=''
PACKAGE='libffi'
PACKAGE_BUGREPORT='http://github.com/libffi/libffi/issues'
PACKAGE_NAME='libffi'
PACKAGE_STRING='libffi 3.4.2'
PACKAGE_TARNAME='libffi'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.2'
PATH_SEPARATOR=':'
PRTDIAG=''
RANLIB='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib'
READELF='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf'
SECTION_LDFLAGS=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded'
TARGET='arm-unknown-linux-androideabi'
TARGETDIR=''
TARGET_OBJ=''
TESTSUBDIR_FALSE=''
TESTSUBDIR_TRUE=''
VERSION='3.4.2'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_enable_builddir_sed='sed'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sys_symbol_underscore=''
sysconfdir='${prefix}/etc'
target='arm-unknown-linux-androideabi'
target_alias='arm-linux-androideabi'
target_cpu='arm'
target_os='linux-androideabi'
target_vendor='unknown'
toolexecdir=''
toolexeclibdir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libffi"
#define PACKAGE_TARNAME "libffi"
#define PACKAGE_VERSION "3.4.2"
#define PACKAGE_STRING "libffi 3.4.2"
#define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.4.2"

configure: exit 77

It worked fine with previously recommended NDK version 23b.

@Marcinosoft
Copy link
Author

And here is libffi config.log while android-ndk-r23b was used. It ended with success:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.4.2, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure --host=arm-linux-androideabi --prefix=/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi --disable-builddir --enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = HP
uname -m = x86_64
uname -r = 4.4.0-19041-Microsoft
uname -s = Linux
uname -v = #1237-Microsoft Sat Sep 11 14:32:00 PST 2021

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/
PATH: /home/hp/.buildozer/android/platform/android-ndk-r23b/
PATH: /home/hp/.buildozer/android/platform/android-sdk/tools/
PATH: /home/hp/.buildozer/android/platform/apache-ant-1.9.4/bin/
PATH: /home/hp/.local/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /mnt/c/Kivy/Projects/Sample/venv/Scripts/
PATH: /mnt/c/Windows/system32/
PATH: /mnt/c/Windows/
PATH: /mnt/c/Windows/System32/Wbem/
PATH: /mnt/c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /mnt/c/Users/HP/AppData/Local/Programs/Python/Python38/Scripts/
PATH: /mnt/c/Users/HP/AppData/Local/Programs/Python/Python38/
PATH: /mnt/c/Users/HP/AppData/Local/Programs/Python/Launcher/
PATH: /mnt/c/Users/HP/AppData/Local/Microsoft/WindowsApps/
PATH: /snap/bin/
PATH: /home/hp/.local/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3071: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3084:  trying ./
configure:3113:   ./ltmain.sh found
configure:3113:   ./compile found
configure:3113:   ./missing found
configure:3095:   ./install-sh found
configure:3113:   ./config.guess found
configure:3113:   ./config.sub found
configure:3234: checking build system type
configure:3249: result: x86_64-pc-linux-gnux32
configure:3269: checking host system type
configure:3283: result: arm-unknown-linux-androideabi
configure:3303: checking target system type
configure:3317: result: arm-unknown-linux-androideabi
configure:3416: checking for gsed
configure:3452: result: sed
configure:3481: checking for a BSD-compatible install
configure:3554: result: /usr/bin/install -c
configure:3565: checking whether build environment is sane
configure:3620: result: yes
configure:3672: checking for arm-linux-androideabi-strip
configure:3704: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
configure:3775: checking for a race-free mkdir -p
configure:3819: result: /usr/bin/mkdir -p
configure:3826: checking for gawk
configure:3847: found /usr/bin/gawk
configure:3858: result: gawk
configure:3869: checking whether make -j8 sets $(MAKE)
configure:3892: result: yes
configure:3922: checking whether make -j8 supports nested variables
configure:3940: result: yes
configure:4104: checking for arm-linux-androideabi-gcc
configure:4136: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:4534: checking for C compiler version
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC --version >&5
Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android21
Thread model: posix
InstalledDir: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin
configure:4554: $? = 0
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -v >&5
Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android21
Thread model: posix
InstalledDir: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin
Found candidate GCC installation: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x
Selected GCC installation: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x
clang-12: warning: argument unused during compilation: '-fomit-frame-pointer' [-Wunused-command-line-argument]
clang-12: warning: argument unused during compilation: '-mfloat-abi=softfp' [-Wunused-command-line-argument]
clang-12: warning: argument unused during compilation: '-mfpu=vfp' [-Wunused-command-line-argument]
clang-12: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument]
... rest of stderr output deleted ...
configure:4554: $? = 0
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -V >&5
clang-12: error: argument to '-V' is missing (expected 1 value)
clang-12: error: no input files
configure:4554: $? = 1
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -qversion >&5
clang-12: error: unknown argument '-qversion'; did you mean '--version'?
clang-12: error: no input files
configure:4554: $? = 1
configure:4543: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -version >&5
clang-12: error: unknown argument '-version'; did you mean '--version'?
clang-12: error: no input files
configure:4554: $? = 1
configure:4574: checking whether the C compiler works
configure:4596: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
configure:4600: $? = 0
configure:4650: result: yes
configure:4653: checking for C compiler default output file name
configure:4655: result: a.out
configure:4661: checking for suffix of executables
configure:4668: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
configure:4672: $? = 0
configure:4695: result: 
configure:4717: checking whether we are cross compiling
configure:4725: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
configure:4729: $? = 0
configure:4736: ./conftest
/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/configure: line 4738: ./conftest: cannot execute binary file: Exec format error
configure:4740: $? = 126
configure:4755: result: yes
configure:4760: checking for suffix of object files
configure:4783: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:4787: $? = 0
configure:4809: result: o
configure:4813: checking whether the compiler supports GNU C
configure:4833: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:4833: $? = 0
configure:4843: result: yes
configure:4854: checking whether /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC accepts -g
configure:4875: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -g -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:4875: $? = 0
configure:4919: result: yes
configure:4939: checking for /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC option to enable C11 features
configure:4954: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC  -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:4954: $? = 0
configure:4972: result: none needed
configure:5088: checking whether /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC understands -c and -o together
configure:5111: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c conftest.c -o conftest2.o
configure:5114: $? = 0
configure:5111: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c conftest.c -o conftest2.o
configure:5114: $? = 0
configure:5126: result: yes
configure:5146: checking whether make -j8 supports the include directive
configure:5161: make -j8 -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:5164: $? = 0
configure:5183: result: yes (GNU style)
configure:5209: checking dependency style of /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:5321: result: gcc3
configure:5464: checking for C++ compiler version
configure:5473: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC --version >&5
Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android21
Thread model: posix
InstalledDir: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin
configure:5484: $? = 0
configure:5473: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -v >&5
Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android21
Thread model: posix
InstalledDir: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin
Found candidate GCC installation: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x
Selected GCC installation: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x
clang-12: warning: argument unused during compilation: '-fomit-frame-pointer' [-Wunused-command-line-argument]
clang-12: warning: argument unused during compilation: '-mfloat-abi=softfp' [-Wunused-command-line-argument]
clang-12: warning: argument unused during compilation: '-mfpu=vfp' [-Wunused-command-line-argument]
clang-12: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument]
... rest of stderr output deleted ...
configure:5484: $? = 0
configure:5473: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -V >&5
clang-12: error: argument to '-V' is missing (expected 1 value)
clang-12: error: no input files
configure:5484: $? = 1
configure:5473: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -qversion >&5
clang-12: error: unknown argument '-qversion'; did you mean '--version'?
clang-12: error: no input files
configure:5484: $? = 1
configure:5488: checking whether the compiler supports GNU C++
configure:5508: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp >&5
configure:5508: $? = 0
configure:5518: result: yes
configure:5529: checking whether /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC accepts -g
configure:5550: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -g -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp >&5
configure:5550: $? = 0
configure:5594: result: yes
configure:5614: checking for /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC option to enable C++11 features
configure:5629: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC  -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp >&5
conftest.cpp:177:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
  cxx11test::delegate d2();
                        ^~
conftest.cpp:177:25: note: remove parentheses to declare a variable
  cxx11test::delegate d2();
                        ^~
1 warning generated.
configure:5629: $? = 0
configure:5647: result: none needed
configure:5713: checking dependency style of /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:5825: result: gcc3
configure:5855: checking dependency style of /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:5965: result: gcc3
configure:6028: checking how to print strings
configure:6055: result: printf
configure:6076: checking for a sed that does not truncate output
configure:6146: result: /usr/bin/sed
configure:6164: checking for grep that handles long lines and -e
configure:6228: result: /usr/bin/grep
configure:6233: checking for egrep
configure:6301: result: /usr/bin/grep -E
configure:6306: checking for fgrep
configure:6374: result: /usr/bin/grep -F
configure:6410: checking for ld used by /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:6478: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld
configure:6485: checking if the linker (/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld) is GNU ld
configure:6501: result: yes
configure:6513: checking for BSD- or MS-compatible name lister (nm)
configure:6568: result: no
configure:6582: checking for arm-linux-androideabi-dumpbin
configure:6617: result: no
configure:6582: checking for arm-linux-androideabi-link
configure:6617: result: no
configure:6631: checking for dumpbin
configure:6666: result: no
configure:6631: checking for link
configure:6652: found /usr/bin/link
configure:6663: result: link -dump
configure:6679: WARNING: using cross tools not prefixed with host triplet
configure:6708: checking the name lister (nm) interface
configure:6716: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:6719: nm "conftest.o"
configure:6722: output
00000000 B some_variable
configure:6729: result: BSD nm
configure:6732: checking whether ln -s works
configure:6739: result: no, using cp -pR
configure:6744: checking the maximum length of command line arguments
configure:6876: result: 1572864
configure:6924: checking how to convert x86_64-pc-linux-gnux32 file names to arm-unknown-linux-androideabi format
configure:6965: result: func_convert_file_noop
configure:6972: checking how to convert x86_64-pc-linux-gnux32 file names to toolchain format
configure:6993: result: func_convert_file_noop
configure:7000: checking for /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld option to reload object files
configure:7008: result: -r
configure:7042: checking for arm-linux-androideabi-objdump
configure:7077: result: no
configure:7087: checking for objdump
configure:7108: found /usr/bin/objdump
configure:7119: result: objdump
configure:7151: checking how to recognize dependent libraries
configure:7352: result: pass_all
configure:7397: checking for arm-linux-androideabi-dlltool
configure:7432: result: no
configure:7442: checking for dlltool
configure:7477: result: no
configure:7507: checking how to associate runtime and link libraries
configure:7535: result: printf %s\n
configure:7552: checking for arm-linux-androideabi-ar
configure:7584: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar
configure:7670: checking for archiver @FILE support
configure:7688: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:7688: $? = 0
configure:7692: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar cr libconftest.a @conftest.lst >&5
configure:7695: $? = 0
configure:7700: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar cr libconftest.a @conftest.lst >&5
/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar: error: conftest.o: No such file or directory
configure:7703: $? = 1
configure:7715: result: @
configure:7733: checking for arm-linux-androideabi-strip
configure:7765: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
configure:7842: checking for arm-linux-androideabi-ranlib
configure:7874: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib
configure:8021: checking command to parse nm output from /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC object
configure:8175: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:8178: $? = 0
configure:8182: nm conftest.o | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
configure:8248: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c conftstm.o >&5
configure:8251: $? = 0
configure:8289: result: ok
configure:8336: checking for sysroot
configure:8367: result: no
configure:8374: checking for a working dd
configure:8418: result: /usr/bin/dd
configure:8422: checking how to truncate binary pipes
configure:8438: result: /usr/bin/dd bs=4096 count=1
configure:8730: checking for arm-linux-androideabi-mt
configure:8765: result: no
configure:8775: checking for mt
configure:8796: found /usr/bin/mt
configure:8807: result: mt
configure:8830: checking if mt is a manifest tool
configure:8837: mt '-?'
configure:8845: result: no
configure:9575: checking for stdio.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for stdlib.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for string.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for inttypes.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for stdint.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for strings.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for sys/stat.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for sys/types.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9575: checking for unistd.h
configure:9575: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9575: $? = 0
configure:9575: result: yes
configure:9600: checking for dlfcn.h
configure:9600: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:9600: $? = 0
configure:9600: result: yes
configure:9870: checking for objdir
configure:9886: result: .libs
configure:10150: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC supports -fno-rtti -fno-exceptions
configure:10169: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 -fno-rtti -fno-exceptions conftest.c >&5
configure:10173: $? = 0
configure:10186: result: yes
configure:10550: checking for /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC option to produce PIC
configure:10558: result: -fPIC -DPIC
configure:10566: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC PIC flag -fPIC -DPIC works
configure:10585: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 -fPIC -DPIC -DPIC conftest.c >&5
configure:10589: $? = 0
configure:10602: result: yes
configure:10631: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC static flag -static works
configure:10660: result: yes
configure:10675: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC supports -c -o file.o
configure:10697: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 -o out/conftest2.o conftest.c >&5
configure:10701: $? = 0
configure:10723: result: yes
configure:10731: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC supports -c -o file.o
configure:10779: result: yes
configure:10812: checking whether the /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC linker (/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld) supports shared libraries
configure:12082: result: yes
configure:12119: checking whether -lc should be explicitly linked in
configure:12128: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:12131: $? = 0
configure:12146: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:12149: $? = 0
configure:12163: result: no
configure:12323: checking dynamic linker characteristics
configure:13156: result: Android linker
configure:13278: checking how to hardcode library paths into programs
configure:13303: result: immediate
configure:13855: checking whether stripping libraries is possible
configure:13860: result: yes
configure:13895: checking if libtool supports shared libraries
configure:13897: result: yes
configure:13900: checking whether to build shared libraries
configure:13925: result: yes
configure:13928: checking whether to build static libraries
configure:13932: result: yes
configure:13955: checking how to run the C++ preprocessor
configure:13977: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp
configure:13977: $? = 0
configure:13992: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp
conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:13992: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:14019: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E
configure:14033: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp
configure:14033: $? = 0
configure:14048: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp
conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:14048: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:14213: checking for ld used by /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:14281: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld
configure:14288: checking if the linker (/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld) is GNU ld
configure:14304: result: yes
configure:14359: checking whether the /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC linker (/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld) supports shared libraries
configure:15436: result: yes
configure:15472: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.cpp >&5
configure:15475: $? = 0
configure:15956: checking for /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC option to produce PIC
configure:15964: result: -fPIC -DPIC
configure:15972: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC PIC flag -fPIC -DPIC works
configure:15991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 -fPIC -DPIC -DPIC conftest.cpp >&5
configure:15995: $? = 0
configure:16008: result: yes
configure:16031: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC static flag -static works
configure:16060: result: yes
configure:16072: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC supports -c -o file.o
configure:16094: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 -o out/conftest2.o conftest.cpp >&5
configure:16098: $? = 0
configure:16120: result: yes
configure:16125: checking if /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC supports -c -o file.o
configure:16173: result: yes
configure:16203: checking whether the /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC linker (/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld) supports shared libraries
configure:16246: result: yes
configure:16388: checking dynamic linker characteristics
configure:17148: result: Android linker
configure:17213: checking how to hardcode library paths into programs
configure:17238: result: immediate
configure:17304: checking for arm-linux-androideabi-readelf
configure:17336: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf
configure:17409: checking size of size_t
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:17415: $? = 0
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:54:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:17415: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:54:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:17415: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:54:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:17415: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:17415: $? = 0
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:17415: $? = 0
configure:17415: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:17415: $? = 0
configure:17430: result: 4
configure:17439: checking for C compiler vendor
configure:17488: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:30:9: error: use of undeclared identifier 'thisisanerror'
        thisisanerror;
        ^
1 error generated.
configure:17488: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|       #if !(defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER))
|         thisisanerror;
|       #endif
| 
|   ;
|   return 0;
| }
configure:17488: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:30:9: error: use of undeclared identifier 'thisisanerror'
        thisisanerror;
        ^
1 error generated.
configure:17488: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|       #if !(defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__))
|         thisisanerror;
|       #endif
| 
|   ;
|   return 0;
| }
configure:17488: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:30:9: error: use of undeclared identifier 'thisisanerror'
        thisisanerror;
        ^
1 error generated.
configure:17488: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|       #if !(defined(__PATHCC__) || defined(__PATHSCALE__))
|         thisisanerror;
|       #endif
| 
|   ;
|   return 0;
| }
configure:17488: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:17488: $? = 0
configure:17497: result: clang
configure:18319: checking whether C compiler accepts -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:18339: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC  -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18339: $? = 0
configure:18349: result: yes
configure:18378: checking CFLAGS for maximum warnings
configure:18399: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -warn all  -warn all -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
clang-12: error: unknown argument: '-warn'
clang-12: error: unknown argument: '-warn'
clang-12: error: no such file or directory: 'all'
clang-12: error: no such file or directory: 'all'
configure:18399: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
configure:18399: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -pedantic  -Wall -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18399: $? = 0
configure:18408: result: -Wall
configure:18429: : CFLAGS="$CFLAGS"
configure:18432: $? = 0
configure:18470: checking whether to enable maintainer-specific portions of Makefiles
configure:18480: result: no
configure:18494: checking for sys/memfd.h
configure:18494: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:52:10: fatal error: 'sys/memfd.h' file not found
#include <sys/memfd.h>
         ^~~~~~~~~~~~~
1 error generated.
configure:18494: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/memfd.h>
configure:18494: result: no
configure:18501: checking for memfd_create
configure:18501: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
ld: error: undefined symbol: memfd_create
>>> referenced by conftest.c
>>>               /tmp/conftest-66de2c.o:(main)
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:18501: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| /* end confdefs.h.  */
| /* Define memfd_create to an innocuous variant, in case <limits.h> declares memfd_create.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define memfd_create innocuous_memfd_create
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char memfd_create (); below.  */
| 
| #include <limits.h>
| #undef memfd_create
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char memfd_create ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_memfd_create || defined __stub___memfd_create
| choke me
| #endif
| 
| int
| main (void)
| {
| return memfd_create ();
|   ;
|   return 0;
| }
configure:18501: result: no
configure:18509: checking for sys/mman.h
configure:18509: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18509: $? = 0
configure:18509: result: yes
configure:18516: checking for mmap
configure:18516: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
configure:18516: $? = 0
configure:18516: result: yes
configure:18522: checking for mkostemp
configure:18522: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
ld: error: undefined symbol: mkostemp
>>> referenced by conftest.c
>>>               /tmp/conftest-f50381.o:(main)
>>> did you mean: mkstemp
>>> defined in: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/lib/arm-linux-androideabi/21/libc.so
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:18522: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| /* end confdefs.h.  */
| /* Define mkostemp to an innocuous variant, in case <limits.h> declares mkostemp.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define mkostemp innocuous_mkostemp
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char mkostemp (); below.  */
| 
| #include <limits.h>
| #undef mkostemp
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char mkostemp ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_mkostemp || defined __stub___mkostemp
| choke me
| #endif
| 
| int
| main (void)
| {
| return mkostemp ();
|   ;
|   return 0;
| }
configure:18522: result: no
configure:18528: checking for mkstemp
configure:18528: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
configure:18528: $? = 0
configure:18528: result: yes
configure:18536: checking for sys/mman.h
configure:18536: result: yes
configure:18544: checking for mmap
configure:18544: result: yes
configure:18558: checking whether read-only mmap of a plain file works
configure:18576: result: yes
configure:18578: checking whether mmap from /dev/zero works
configure:18601: result: yes
configure:18605: checking for MAP_ANON(YMOUS)
configure:18629: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:38:5: warning: unused variable 'n' [-Wunused-variable]
int n = MAP_ANONYMOUS;
    ^
1 warning generated.
configure:18629: $? = 0
configure:18637: result: yes
configure:18643: checking whether mmap with MAP_ANON(YMOUS) works
configure:18661: result: yes
configure:18707: checking for egrep
configure:18775: result: /usr/bin/grep -E
configure:18781: checking for memcpy
configure:18781: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
conftest.c:46:6: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration]
char memcpy ();
     ^
conftest.c:46:6: note: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned int)'
1 warning generated.
configure:18781: $? = 0
configure:18781: result: yes
configure:18788: checking for size_t
configure:18788: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18788: $? = 0
configure:18788: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:62:21: error: expected expression
if (sizeof ((size_t)))
                    ^
1 error generated.
configure:18788: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:18788: result: yes
configure:18800: checking for working alloca.h
configure:18818: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
configure:18818: $? = 0
configure:18827: result: yes
configure:18835: checking for alloca
configure:18880: result: yes
configure:18952: checking size of double
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18958: $? = 0
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:64:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 0)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18958: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:64:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 1)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18958: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:64:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 3)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18958: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:64:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 7)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18958: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (double))) <= 7)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18958: $? = 0
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18958: $? = 0
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18958: $? = 0
configure:18958: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18958: $? = 0
configure:18973: result: 8
configure:18985: checking size of long double
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18991: $? = 0
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:65:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 0)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18991: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:65:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 1)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18991: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:65:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 3)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18991: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:65:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 7)];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:18991: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long double))) <= 7)];
| test_array [0] = 0;
| return test_array [0];
| 
|   ;
|   return 0;
| }
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18991: $? = 0
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18991: $? = 0
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18991: $? = 0
configure:18991: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:18991: $? = 0
configure:19006: result: 8
configure:19037: checking whether byte ordering is bigendian
configure:19053: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:36:9: error: unknown type name 'not'
               not a universal capable compiler
               ^
conftest.c:36:14: error: expected ';' after top level declarator
               not a universal capable compiler
                    ^
                    ;
2 errors generated.
configure:19053: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:19099: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:19099: $? = 0
configure:19118: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:42:4: error: use of undeclared identifier 'not'
                 not big endian
                 ^
1 error generated.
configure:19118: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main (void)
| {
| #if BYTE_ORDER != BIG_ENDIAN
| 		 not big endian
| 		#endif
| 
|   ;
|   return 0;
| }
configure:19252: result: no
configure:19271: checking assembler .cfi pseudo-op support
configure:19290: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
<inline asm>:1:14: error: Expected an identifier
.cfi_sections
             ^
1 error generated.
configure:19290: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| asm (".cfi_sections\n\t.cfi_startproc\n\t.cfi_endproc");
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
configure:19299: result: no
configure:19440: checking whether compiler supports pointer authentication
configure:19469: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:47:3: error: Pointer authentication not supported
# error Pointer authentication not supported
  ^
1 error generated.
configure:19469: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
| #ifdef __clang__
| # if __has_feature(ptrauth_calls)
| #  define HAVE_PTRAUTH 1
| # endif
| #endif
| 
| #ifndef HAVE_PTRAUTH
| # error Pointer authentication not supported
| #endif
| 
|   ;
|   return 0;
| }
configure:19478: result: no
configure:19498: checking for _ prefix in compiled symbols
configure:19509: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
conftest.c:2:12: warning: expression result unused [-Wunused-value]
int main(){nm_test_func;return 0;}
           ^~~~~~~~~~~~
1 warning generated.
configure:19512: $? = 0
configure:19516: nm conftest.o \| sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:19519: $? = 0
configure:19541: result: no
configure:19617: checking whether C compiler accepts -fno-lto
configure:19637: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -c -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions  -fno-lto -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9 conftest.c >&5
configure:19637: $? = 0
configure:19646: result: yes
configure:19656: checking whether .eh_frame section should be read-only
configure:19673: result: yes
configure:19688: checking for __attribute__((visibility("hidden")))
configure:19698: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Werror -S conftest.c -o conftest.s 1>&5
configure:19701: $? = 0
configure:19710: result: yes
configure:19875: checking for ld used by /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC
configure:19943: result: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld
configure:19950: checking if the linker (/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld) is GNU ld
configure:19966: result: yes
configure:20143: checking for shared libgcc
configure:20158: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest  -lgcc_s -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
ld: error: unable to find library -lgcc_s
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:20158: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| #define FFI_MMAP_EXEC_WRIT 1
| #define HAVE_RO_EH_FRAME 1
| #define EH_FRAME_FLAGS "a"
| #define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
| #define FFI_EXEC_STATIC_TRAMP 1
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| return 0;
|   ;
|   return 0;
| }
configure:20189: /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -o conftest  -lgcc_s -DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9   -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a conftest.c  >&5
ld: error: unable to find library -lgcc_s
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:20189: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define SIZEOF_SIZE_T 4
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| #define FFI_MMAP_EXEC_WRIT 1
| #define HAVE_RO_EH_FRAME 1
| #define EH_FRAME_FLAGS "a"
| #define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
| #define FFI_EXEC_STATIC_TRAMP 1
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| return 0;
|   ;
|   return 0;
| }
configure:20198: result: no
configure:20284: versioning on shared library symbols is gnu
configure:20397: checking that generated files are newer than configure
configure:20403: result: done
configure:20471: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by libffi config.status 3.4.2, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on HP-HP

config.status:1232: creating include/Makefile
config.status:1232: creating include/ffi.h
config.status:1232: creating Makefile
config.status:1232: creating testsuite/Makefile
config.status:1232: creating man/Makefile
config.status:1232: creating doc/Makefile
config.status:1232: creating libffi.pc
config.status:1232: creating fficonfig.h
config.status:1461: executing buildir commands
config.status:1474: skipping top_srcdir/Makefile - not created
config.status:1461: executing depfiles commands
config.status:1682: cd .       && sed -e '/# am--include-marker/d' Makefile         | make -j8 -f - am--depfiles
config.status:1687: $? = 0
config.status:1461: executing libtool commands
config.status:1461: executing include commands
config.status:1461: executing src commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnux32
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cflags_warn_all=-Wall
ac_cv_cxx_compiler_gnu=yes
ac_cv_decl_map_anon=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_alloca_works=yes
ac_cv_func_memcpy=yes
ac_cv_func_memfd_create=no
ac_cv_func_mkostemp=no
ac_cv_func_mkstemp=yes
ac_cv_func_mmap=yes
ac_cv_func_mmap_anon=yes
ac_cv_func_mmap_dev_zero=yes
ac_cv_func_mmap_file=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_memfd_h=no
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ax_enable_builddir_sed=sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AR=/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
ac_cv_prog_CXXCPP='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E'
ac_cv_prog_RANLIB=/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib
ac_cv_prog_READELF=/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf
ac_cv_prog_STRIP='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded'
ac_cv_prog_ac_ct_DUMPBIN='link -dump'
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_cxx11=
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_double=8
ac_cv_sizeof_long_double=8
ac_cv_sizeof_size_t=4
ac_cv_target=arm-unknown-linux-androideabi
ac_cv_type_size_t=yes
ac_cv_working_alloca_h=yes
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_c_compiler_vendor=clang
ax_cv_check_cflags___fno_lto=yes
ax_cv_check_cflags___target_armv7a_linux_androideabi21__fomit_frame_pointer__march_armv7_a__mfloat_abi_softfp__mfpu_vfp__mthumb__fPIC=yes
gcc_cv_as_cfi_pseudo_op=no
libffi_cv_as_ptrauth=no
libffi_cv_hidden_visibility_attribute=yes
libffi_cv_no_lto=-fno-lto
libffi_cv_ro_eh_frame=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld
lt_cv_path_LDCXX=/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld
lt_cv_path_NM=no
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_sys_symbol_underscore=no
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' aclocal-1.16'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_LTLDFLAGS=''
AM_RUNTESTFLAGS=''
AM_V='$(V)'
AR='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar'
AUTOCONF='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' automake-1.16'
AWK='gawk'
BUILD_DOCS_FALSE='#'
BUILD_DOCS_TRUE=''
CC='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CCAS='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='-target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CCDEPMODE='depmode=gcc3'
CFLAGS='-target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wall -fexceptions'
CPPFLAGS='-DANDROID -I/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/sample/armeabi-v7a/include/python3.9'
CSCOPE='cscope'
CTAGS='ctags'
CXX='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CXXCPP='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=':'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ETAGS='etags'
EXEEXT=''
FFI_DEBUG_FALSE=''
FFI_DEBUG_TRUE='#'
FFI_EXEC_TRAMPOLINE_TABLE='0'
FFI_EXEC_TRAMPOLINE_TABLE_FALSE=''
FFI_EXEC_TRAMPOLINE_TABLE_TRUE='#'
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
HAVE_LONG_DOUBLE='0'
HAVE_LONG_DOUBLE_VARIANT='0'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/ld'
LDFLAGS='  -L/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/libs_collections/sample/armeabi-v7a'
LIBFFI_BUILD_VERSIONED_SHLIB_FALSE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_FALSE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE=''
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_FALSE=''
LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE='#'
LIBFFI_BUILD_VERSIONED_SHLIB_TRUE=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='cp -pR'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} '\''/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
NM='nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OPT_LDFLAGS='-Wl,-O1 '
OTOOL64=''
OTOOL=''
PACKAGE='libffi'
PACKAGE_BUGREPORT='http://github.com/libffi/libffi/issues'
PACKAGE_NAME='libffi'
PACKAGE_STRING='libffi 3.4.2'
PACKAGE_TARNAME='libffi'
PACKAGE_URL=''
PACKAGE_VERSION='3.4.2'
PATH_SEPARATOR=':'
PRTDIAG=''
RANLIB='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib'
READELF='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf'
SECTION_LDFLAGS=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded'
TARGET='ARM'
TARGETDIR='arm'
TARGET_OBJ=' src/arm/ffi.lo src/arm/sysv.lo'
TESTSUBDIR_FALSE='#'
TESTSUBDIR_TRUE=''
VERSION='3.4.2'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN='link -dump'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCCAS_FALSE='#'
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_enable_builddir_sed='sed'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnux32'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnux32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sys_symbol_underscore='no'
sysconfdir='${prefix}/etc'
target='arm-unknown-linux-androideabi'
target_alias='arm-linux-androideabi'
target_cpu='arm'
target_os='linux-androideabi'
target_vendor='unknown'
toolexecdir='${libdir}/gcc-lib/$(target_alias)'
toolexeclibdir='${libdir}'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libffi"
#define PACKAGE_TARNAME "libffi"
#define PACKAGE_VERSION "3.4.2"
#define PACKAGE_STRING "libffi 3.4.2"
#define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.4.2"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define SIZEOF_SIZE_T 4
#define HAVE_SYS_MMAN_H 1
#define HAVE_MMAP 1
#define HAVE_MKSTEMP 1
#define HAVE_MMAP_FILE 1
#define HAVE_MMAP_DEV_ZERO 1
#define HAVE_MMAP_ANON 1
#define HAVE_MEMCPY 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define SIZEOF_DOUBLE 8
#define SIZEOF_LONG_DOUBLE 8
#define FFI_MMAP_EXEC_WRIT 1
#define HAVE_RO_EH_FRAME 1
#define EH_FRAME_FLAGS "a"
#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
#define FFI_EXEC_STATIC_TRAMP 1
#define LIBFFI_GNU_SYMBOL_VERSIONING 1

configure: exit 0

@RobertFlatt
Copy link
Contributor

/mnt/c/

Try building on the Linux partition, building on the Windows partition is known to cause issues with some packages.

See https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst#android-on-windows-10-or-11
Or https://github.com/Android-for-Python/Android-for-Python-Users#install

@Marcinosoft
Copy link
Author

/mnt/c/

Try building on the Linux partition, building on the Windows partition is known to cause issues with some packages.

See https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst#android-on-windows-10-or-11 Or https://github.com/Android-for-Python/Android-for-Python-Users#install

No it's not the case. I'm building Kivy on Win10 with Ubuntu via WSL v1 for years without any issues.
It's not my first Kivy project, first Buildozer version, believe me. In fact I had no issues related to building on Win10 and Win11 with Ubuntu 20.04 and 22.04 via WSL on many different workstations, so it's not the case.

I saw users who complained about WSL and the way how Windows filesystem is mounted under Ubuntu, but to be honest, they probably didn't set correct access rights to folder where projects are stored, that's why they had issues with permission denied while Linux is trying to store something on Windows drive.

My older projects, where previous NDK was downloaded and compiled are still building fine.
The problem is with new projects, and NDK 25b in my opinion.
Maybe there is a way to force using 23b, until 25b will be supported by Buildozer.
I hopy somebody will be able to share any temporary solution soon.

@RobertFlatt
Copy link
Contributor

All I can suggest is that you try using the Linux partition. If you don't want to do that, I have no suggestion.

@Marcinosoft
Copy link
Author

I tried to build new project using different laptop with Win10 and Ubuntu 20.04 via WSL v1, and it end up with same issue.
Then I copied my project into Ubuntu partition, created Python virtual env, installed latest kivy and buildozer ended up exactly with same issue, compiling libffi. So it's not Windows related at all. Same issue occurs within Linux :(
I was using Python 3.8.10, Kivy 2.1.0, and Buildozer 1.4.0.

@RobertFlatt
Copy link
Contributor

Still best to avoid the Windows disk, its a problem waiting to happen.

On WSL2 I just built: Ubuntu 20 Python 3.8.10, and Ubuntu 22 Python3.10.6, both with ndk25b, Buildozer 1.4.0 and 1.4.1.dev0, both ARM architectures and saw no issue.

Since p4a includes libffi by default I'm surprised nobody else has reported this issue.

The only differences I can see:

@Marcinosoft
Copy link
Author

Ok, let's focus on root case.

Here is what fails in my case:

~/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error

So something is wrong with clang.
clang is a link:

ls -l ~/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -> clang-14

But as I wrote I had no issues with NDK 23b, so let's try older clang on same machine:

~/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
clang-12: error: no input files

Well, it works fine.

ls -l ~/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang

lrwxrwxrwx 1 hp hp 8 Jan 11 23:04 /home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -> clang-12

So NDK23b comes with clang-12 while NDK25b comes with clang-14, and this precompiled binary is not handled properly by Ubuntu 20.04 and 22.04 on WSL v1.

Let's compare it:

file ~/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-14

/home/hp/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-14: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-lin
ux-x86-64.so.2, for GNU/Linux 2.6.24, stripped
file ~/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-12

/home/hp/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-12: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-lin
ux-x86-64.so.2, for GNU/Linux 2.6.24, not stripped

Then I found an issue related to clang shipped with NDK25b and WSL v1:

microsoft/WSL#8681

Someone reported same issue with WSL v1, and he also wrote that he had no such issue with NDK23b.
Uff, at least I'm not the only one.
I'm using WSL v1 becouse I'm also using Nox (https://www.bignox.com/) on same pc as Android emulator. Nox cannot work with WSL v2 (hyper-v) enabled at all, that's why I'm using v1 all the time, till this issue without any problems with NDK19 and NDK23. Seems v1 is not able to run precompiled clang shipped with NDK25b.

I will search for solution/solutions.

@Marcinosoft
Copy link
Author

Marcinosoft commented Jan 13, 2023

Well, this or this workaround works for my Ubuntu running on Windows using WSL v1:

sudo apt install patchelf
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 ~/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-14

Patched clang now works fine with WSL v1 and Buildozer 1.4.0 is able to build new Kivy projects again! Hurray!

[DEBUG]:   -> running cp /mnt/c/Kivy/Projects/Sample/.buildozer/android/platform/build-armeabi-v7a/dists/myapp/build/outputs/apk/release/myapp-release.apk myapp-release-0.1.apk
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
No setup.py/pyproject.toml used, copying full private data into .apk.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
# Android packaging done!
# APK myapp-0.1-armeabi-v7a-release.apk available in the bin directory

So it wasn't an issue related to Windows filesytem accessed by Ubuntu, it wasn't related to venv, wasn't related to Linux distribution, but it was related to WSL v1 and clang (clang-14) shipped with NDK 25b.

@RobertFlatt
Copy link
Contributor

Thanks for the feedback.

I added this one to the of cryptic error messages https://github.com/Android-for-Python/Android-for-Python-Users#appendix-h--cryptic-error-messages Somebody will be grateful for your work.

Close?

@misl6
Copy link
Member

misl6 commented Jan 14, 2023

Thank you for triaging the issue @RobertFlatt and @Marcinosoft !

Yep. Definitely not a kivy / python-for-android / buildozer issue.

@misl6 misl6 closed this as completed Jan 14, 2023
@Marcinosoft
Copy link
Author

@RobertFlatt thank you for motivation me to dig deeper, reporting that in your case build succeed with NDK 25b.
I wasn't aware of such cryptic error messages. Good idea.

I'll stay with WSL v1. It worked absolutely fine and I'm glad it still will.
Switching to WSL v2 (Hyper-V based) is not always an option.

@Source61
Copy link

Source61 commented Jan 26, 2024

I'm using WSL 2, x64, still have this issue, not just with NDK 25c, but with newer NDK versions as well, same library (libffi) failing to compile. Have asked about it in the discord server, but the channel seems quite dead.

Edit: Got a response. TLDR: use buildozer instead. https://buildozer.readthedocs.io/en/latest/installation.html#targeting-android

@Marcinosoft
Copy link
Author

Marcinosoft commented Jan 31, 2024

Hi. Did you try to patch clang?
#1543 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants