[INFO]: Building libffi for armeabi-v7a [INFO]: -> directory context /github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/libffi stty: 'standard input': Inappropriate ioctl for device [DEBUG]: -> running autogen.sh [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: running: /usr/bin/autoconf [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 `.' stty: 'standard input': Inappropriate ioctl for device [DEBUG]: -> running autoreconf -vif [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: running: /usr/bin/autoconf --force [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 `.' stty: 'standard input': Inappropriate ioctl for device [DEBUG]: -> running configure --host=arm-linux-androideabi --prefix=/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/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... arm-linux-androideabi-strip --strip-unneeded [DEBUG]: checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [DEBUG]: checking for gawk... no [DEBUG]: checking for mawk... mawk [DEBUG]: checking whether make -j2 sets $(MAKE)... yes [DEBUG]: checking whether make -j2 supports nested variables... yes [DEBUG]: checking for arm-linux-androideabi-gcc... /usr/bin/ccache /github/workspace/.buildozer_global/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi29 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC [DEBUG]: checking whether the C compiler works... no [DEBUG]: configure: error: in `/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/libffi': [DEBUG]: configure: error: C compiler cannot create executables [DEBUG]: See `config.log' for more details Exception in thread background thread for pid 12297: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 1637, in wrap fn(*rgs, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 2561, in background_thread handle_exit_code(exit_code) File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 2265, in fn return self.command.handle_command_exit_code(exit_code) File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 865, in handle_command_exit_code raise exc sh.ErrorReturnCode_77: RAN: /github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/libffi/configure --host=arm-linux-androideabi --prefix=/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/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... arm-linux-androideabi-strip --strip-unneeded checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make -j2 sets $(MAKE)... yes checking whether make -j2 supports nested variables... yes checking for arm-linux-androideabi-gcc... /usr/bin/ccache /github/workspace/.buildozer_global/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi29 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC checking whether the C compiler works... no configure: error: in `/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/libffi': configure: error: C compiler cannot create executables See `config.log' for more details STDERR: Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1294, in main() File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main ToolchainCL() File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 728, in __init__ getattr(self, command)(args) File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 151, in wrapper_func build_dist_from_args(ctx, dist, args) File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 210, in build_dist_from_args build_recipes(build_order, python_modules, ctx, File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 596, in build_recipes recipe.build_arch(arch) File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/libffi/__init__.py", line 30, in build_arch shprint(sh.Command('./configure'), File "/github/workspace/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint for line in output: File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 911, in next self.wait() File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 841, in wait self.handle_command_exit_code(exit_code) File "/home/user/.local/lib/python3.8/site-packages/sh.py", line 865, in handle_command_exit_code raise exc sh.ErrorReturnCode_77: RAN: /github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/libffi/configure --host=arm-linux-androideabi --prefix=/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/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... arm-linux-androideabi-strip --strip-unneeded checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make -j2 sets $(MAKE)... yes checking whether make -j2 supports nested variables... yes checking for arm-linux-androideabi-gcc... /usr/bin/ccache /github/workspace/.buildozer_global/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi29 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC checking whether the C compiler works... no configure: error: in `/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_29/libffi': configure: error: C compiler cannot create executables See `config.log' for more details STDERR: # Command failed: /bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch arm64-v8a --arch armeabi-v7a --copy-libs --color=always --storage-dir="/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a" --ndk-api=29 --ignore-setup-py --debug # ENVIRONMENT: # ACTIONS_RUNTIME_TOKEN = '***' # ACTIONS_CACHE_URL = 'https://artifactcache.actions.githubusercontent.com/pBhrfOHehsfDhuUOwbpGBlum494EGhiyMo7vNv4ys2rqBF3VTK/' # USER = 'user' # LANGUAGE = 'en_US.UTF-8' # CI = 'true' # HOSTNAME = 'd1186fbc92f0' # GITHUB_ENV = '/github/file_commands/set_env_5d9ef736-bddb-452a-8bbf-a95dd65e2fef' # WORK_DIR = '/home/user/hostcwd' # HOME = '/home/user' # SRC_DIR = '/home/user/src' # RUNNER_TEMP = '/home/runner/work/_temp' # GITHUB_EVENT_PATH = '/github/workflow/event.json' # GITHUB_REPOSITORY_OWNER = 'Sgambe33' # PYTHONUNBUFFERED = '1' # GITHUB_RETENTION_DAYS = '90' # GITHUB_HEAD_REF = '' # GITHUB_GRAPHQL_URL = 'https://api.github.com/graphql' # HOME_DIR = '/home/user' # BUILDOZER_WARN_ON_ROOT = '0' # GITHUB_API_URL = 'https://api.github.com' # RUNNER_OS = 'Linux' # ACTIONS_RUNTIME_URL = 'https://pipelines.actions.githubusercontent.com/pBhrfOHehsfDhuUOwbpGBlum494EGhiyMo7vNv4ys2rqBF3VTK/' # GITHUB_WORKFLOW = 'Build' # APP_ANDROID_ACCEPT_SDK_LICENSE = '1' # GITHUB_RUN_ID = '2481150237' # GITHUB_REF_TYPE = 'branch' # GITHUB_BASE_REF = '' # GITHUB_ACTION_REPOSITORY = 'ArtemSBulgakov/buildozer-action' # PATH = '/github/workspace/./.buildozer_global/android/platform/apache-ant-1.9.4/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' # RUNNER_TOOL_CACHE = '/opt/hostedtoolcache' # RUNNER_ARCH = 'X64' # GITHUB_RUN_NUMBER = '10' # GITHUB_ACTION = '__ArtemSBulgakov_buildozer-action' # LANG = 'en_US.UTF-8' # GITHUB_REPOSITORY = 'Sgambe33/PyAPK' # GITHUB_REF_NAME = 'main' # RUNNER_NAME = 'Hosted Agent' # INPUT_WORKDIR = '.' # GITHUB_ACTION_REF = 'v1.1.3' # GITHUB_ACTIONS = 'true' # GITHUB_REF_PROTECTED = 'false' # BUILDOZER_BIN = './bin' # GITHUB_WORKSPACE = '/github/workspace' # GITHUB_JOB = 'build-android' # INPUT_COMMAND = 'buildozer android debug' # BUILDOZER_BUILD_DIR = './.buildozer' # GITHUB_RUN_ATTEMPT = '1' # GITHUB_SHA = '611850b8505c1cb4510f3b3b1321586ce4ac5fe7' # GITHUB_REF = 'refs/heads/main' # GITHUB_ACTOR = 'Sgambe33' # INPUT_BUILDOZER_VERSION = 'stable' # RUNNER_WORKSPACE = '/home/runner/work/PyAPK' # GITHUB_PATH = '/github/file_commands/add_path_5d9ef736-bddb-452a-8bbf-a95dd65e2fef' # LC_ALL = 'en_US.UTF-8' # PWD = '/github/workspace' # GITHUB_EVENT_NAME = 'push' # GITHUB_SERVER_URL = 'https://github.com' # INPUT_REPOSITORY_ROOT = '.' # GITHUB_STEP_SUMMARY = '/github/file_commands/step_summary_5d9ef736-bddb-452a-8bbf-a95dd65e2fef' # PACKAGES_PATH = '/github/workspace/./.buildozer_global/android/packages' # ANDROIDSDK = '/github/workspace/./.buildozer_global/android/platform/android-sdk' # ANDROIDNDK = '/github/workspace/./.buildozer_global/android/platform/android-ndk-r19c' # ANDROIDAPI = '31' # ANDROIDMINAPI = '29' # # Buildozer failed to execute the last command # The error might be hidden in the log above this error # Please read the full log, and search for it before # raising an issue with buildozer itself. # In case of a bug report, please add a full log with log_level = 2 Traceback (most recent call last): File "/action/entrypoint.py", line 159, in main() File "/action/entrypoint.py", line 27, in main run_command(env["INPUT_COMMAND"]) File "/action/entrypoint.py", line 135, in run_command retcode = subprocess.check_call(command, shell=True) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'buildozer android debug' returned non-zero exit status 1.