Skip to content

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

Closed
@Marcinosoft

Description

@Marcinosoft
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions