Help me

118 views
Skip to first unread message

srikhar d

unread,
Aug 7, 2023, 10:26:38 AM8/7/23
to Kivy users support
Exception in thread background thread for pid 19601: 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 "/root/.local/lib/python3.10/site-packages/sh.py", line 1641, in wrap fn(*rgs, **kwargs) File "/root/.local/lib/python3.10/site-packages/sh.py", line 2569, in background_thread handle_exit_code(exit_code) File "/root/.local/lib/python3.10/site-packages/sh.py", line 2269, in fn return self.command.handle_command_exit_code(exit_code) File "/root/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/autogen.sh STDOUT: autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:8: the top level configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:74: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from... configure.ac:74: the top level configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:91: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:91: the top level configure.ac:118: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:118: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from... configure.ac:118: the top level configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:122: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:122: the top level configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:138: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:138: the top level configure.ac:185: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:185: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:185: the top level configure.ac:215: warning: _LT_CMD_GLOBAL_SYMBOLS is m4_require'd but not m4_defun'd aclocal.m4:778: LT_SYS_SYMBOL_USCORE is expanded from... configure.ac:215: the top level configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:310: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:310: the top level configure.ac:418: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:418: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from... configure.ac:418: the top level configure.ac:418: warning: AC_PROG_LD is m4_require'd but not m4_defun'd acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from... acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from... configure.ac:418: the top level configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:418: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from... acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from... configure.ac:418: the top level configure.ac:418: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:418: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from... configure.ac:418: the top level configure.ac:41: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:8578: error: possibly undefined macro: AC_PROG_LD autoreconf: error: /usr/bin/autoconf failed with exit status: 1 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 "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1312, in <module> main() File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main ToolchainCL() File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 734, in __init__ getattr(self, command)(args) File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func build_dist_from_args(ctx, dist, args) File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 212, in build_dist_from_args build_recipes(build_order, python_modules, ctx, File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes recipe.build_arch(arch) File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/libffi/__init__.py", line 28, in build_arch shprint(sh.Command('./autogen.sh'), _env=env) File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint for line in output: File "/root/.local/lib/python3.10/site-packages/sh.py", line 915, in next self.wait() File "/root/.local/lib/python3.10/site-packages/sh.py", line 845, in wait self.handle_command_exit_code(exit_code) File "/root/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code raise exc sh.ErrorReturnCode_1: RAN: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/autogen.sh

Robert

unread,
Aug 7, 2023, 1:11:11 PM8/7/23
to Kivy users support
The instructions for helping yourself
https://github.com/Android-for-Python/Android-for-Python-Users#if-buildozer-fails-to-compile

Which will lead you here
https://github.com/Android-for-Python/Android-for-Python-Users#possibly-undefined-macro-ac_prog_ld

And tell you to re-check that the install instructions were followed.
Reply all
Reply to author
Forward
0 new messages