Closed SeaYello closed 1 year ago
Solved by reinstalling.
I met the same problem these days, I tried to reinstall buildozer, but didn't work, could you share how you fix it?
i met also like ↓ (i pent 5 days already but cant fix it )
hostname = i-52100000580856 uname -m = x86_64 uname -r = 5.4.0-66-generic uname -s = Linux uname -v = #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 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/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin PATH: /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27 PATH: /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/commandlinetools-linux-11076708_latest/tools PATH: /home/ubuntu/.buildozer/android/platform/apache-ant-1.9.4/bin PATH: /home/ubuntu/environments/my_env/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: /snap/bin PATH: /home/ubuntu/.local/bin/
configure:2703: checking build system type
configure:2717: result: x86_64-pc-linux-gnu
configure:2737: checking host system type
configure:2750: result: aarch64-unknown-linux-android
configure:2770: checking target system type
configure:2783: result: aarch64-unknown-linux-android
configure:2880: checking for gsed
configure:2911: result: sed
configure:2939: checking for a BSD-compatible install
configure:3007: result: /usr/bin/install -c
configure:3018: checking whether build environment is sane
configure:3073: result: yes
configure:3127: checking for aarch64-linux-android-strip
configure:3154: result: /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded configure:3219: checking for a thread-safe mkdir -p configure:3258: result: /usr/bin/mkdir -p configure:3265: checking for gawk configure:3281: found /usr/bin/gawk configure:3292: result: gawk configure:3303: checking whether make -j1 sets $(MAKE) configure:3325: result: yes configure:3354: checking whether make -j1 supports nested variables configure:3371: result: yes configure:3516: checking for aarch64-linux-android-gcc configure:3543: result: /usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC configure:3812: checking for C compiler version configure:3821: /usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC --version >&5 Android (8490178, based on r450784d) clang version 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6) Target: aarch64-unknown-linux-android34 Thread model: posix InstalledDir: /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin configure:3832: $? = 0 configure:3821: /usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC -v >&5 Android (8490178, based on r450784d) clang version 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6) Target: aarch64-unknown-linux-android34 Thread model: posix InstalledDir: /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin clang: warning: argument unused during compilation: '-fomit-frame-pointer' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] configure:3832: $? = 0 configure:3821: /usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:3832: $? = 1 configure:3821: /usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:3832: $? = 1 configure:3852: checking whether the C compiler works configure:3874: /usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC -DANDROID -I/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/kivyallineone/arm64-v8a/include/python3.1 -L/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/kivyallineone/arm64-v8a conftest.c >&5 ld: error: cannot open crtbegin_dynamic.o: No such file or directory ld: error: cannot open crtend_android.o: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:3878: $? = 1 configure:3916: 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 () | ||||||||||
{ | ||||||||||
; | ||||||||||
return 0; | ||||||||||
} |
configure:3921: error: in /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_34/libffi': configure:3923: error: C compiler cannot create executables See
config.log' for more details
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/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/kivyallineone/arm64-v8a/include/python3.1' ac_cv_env_CPP_set= ac_cv_env_CPP_value= 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=aarch64-linux-android ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=aarch64-unknown-linux-android 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='/usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC' ac_cv_prog_STRIP='/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded' ac_cv_prog_make_make_set=yes ac_cv_target=aarch64-unknown-linux-android am_cv_make_support_nested_variables=yes
ACLOCAL='${SHELL} /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8andk_target_34/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/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar' AUTOCONF='${SHELL} /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_34/libffi/missing autoconf' AUTOHEADER='${SHELL} /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8andk_target_34/libffi/missing autoheader' AUTOMAKE='${SHELL} /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8andk_target_34/libffi/missing automake-1.16' AWK='gawk' BUILD_DOCS_FALSE='' BUILD_DOCS_TRUE='' CC='/usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC' CCAS='' CCASDEPMODE='' CCASFLAGS='' CCDEPMODE='' CFLAGS='-target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC' CPP='' CPPFLAGS='-DANDROID -I/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/kivyallineone/arm64-v8a/include/python3.1' CXX='/usr/bin/ccache /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-target aarch64-linux-android34 -fomit-frame-pointer -march=armv8-a -fPIC' CYGPATH_W='echo' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' 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/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/kivyallineone/arm64-v8a' 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} /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8andk_target_34/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/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib' READELF='/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf' SECTION_LDFLAGS='' SED='' SET_MAKE='' SHELL='/bin/bash' STRIP='/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/android-ndk-r27-linux/android-ndk-r27/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded' TARGET='aarch64-unknown-linux-android' TARGETDIR='' TARGET_OBJ='' TESTSUBDIR_FALSE='' TESTSUBDIR_TRUE='' VERSION='3.4.2' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='' amfastdepCCAS_FALSE='' amfastdepCCAS_TRUE='' am__fastdepCC_FALSE='' amfastdepCC_TRUE='' amfastdepCXX_FALSE='' am__fastdepCXX_TRUE='' aminclude='' amisrc='' amleading_dot='.' amnodep='' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' amuntar='$${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='aarch64-unknown-linux-android' host_alias='aarch64-linux-android' host_cpu='aarch64' host_os='linux-android' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_34/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='/home/ubuntu/environments/kivy_all_in_one_simple_app_to_abb_or_apk/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_34/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='aarch64-unknown-linux-android' target_alias='aarch64-linux-android' target_cpu='aarch64' target_os='linux-android' target_vendor='unknown' toolexecdir='' toolexeclibdir=''
/ confdefs.h /
configure: exit 77
### Versions
### Description
I had been using buildozer to compile python code into apk normally, but after a few days I compiled again and it seemed to upgrade for a few minutes, and then it started to compile and gave error messages. It said the error was detailed in config.log, and I found this log file in \<a long path>/libffi/ and read it. In the "core tests" section it first showed a bus error running the "configure" script. I thought it was due to disk or ram space shortage, so I increased the size of my disk and ram (in virtualbox), but it didn't work. Then I haven't found any solution around.
### buildozer.spec Command:
Spec file:
### Logs