Skip to content

Misconfiguration causing failure in compilation. #2879

Closed as not planned
Closed as not planned

Description

@TobiasHT5

Versions

  • Python: 3.10
  • OS: Linux, WSL
  • Kivy: latest
  • Cython:
  • OpenJDK:
  • P4A: latest

Description

There seems to be an error in the configuration of libffi and GNU Autoconf which causes failure in compiling the python application.

Logs

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

  $ /home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/configure --host=aarch64-linux-android --prefix=/home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi --disable-builddir --enable-shared

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

hostname = kyrios
uname -m = x86_64
uname -r = 6.4.10-zen2-1-zen
uname -s = Linux
uname -v = #1 ZEN SMP PREEMPT_DYNAMIC Sun, 13 Aug 2023 01:33:59 +0000

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

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

PATH: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/
PATH: /opt/android-sdk/ndk/25.2.9519653/
PATH: /opt/android-sdk/tools/
PATH: /home/reactormonk/dev/reach/kivy/venv/bin/
PATH: /home/tass/perl5/bin/
PATH: /home/reactormonk/.cargo/bin/
PATH: /opt/android-sdk/platform-tools/
PATH: /home/reactormonk/.node_modules/bin/
PATH: /home/reactormonk/.local/bin/
PATH: /home/reactormonk/.gem/ruby/2.3.0/bin/
PATH: /home/reactormonk/dev/nim/nim/compiler/c2nim/
PATH: /home/reactormonk/dev/nim/nim/bin/
PATH: /home/reactormonk/bin/
PATH: /home/reactormonk/.nimble/bin/
PATH: /home/reactormonk/.gem/ruby/2.3.0/bin/
PATH: /home/reactormonk/.nimble/bin/
PATH: /opt/google-cloud-cli/bin/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /home/reactormonk/.dotnet/tools/
PATH: /usr/lib/jvm/default/bin/
PATH: /usr/bin/site_perl/
PATH: /usr/bin/vendor_perl/
PATH: /usr/bin/core_perl/
PATH: /home/reactormonk/.npm/bin/
PATH: /home/reactormonk/.local/bin/
PATH: Unknown command/
PATH:  "bin"

To see a list of supported npm commands, run/
PATH: 
  npm help/
PATH: /home/reactormonk/.pub-cache/bin/
PATH: /cmdline-tools/latest/bin/
PATH: /opt/android-sdk/cmdline-tools/latest/bin/


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

configure:3072: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3085:  trying ./
configure:3114:   ./ltmain.sh found
configure:3114:   ./compile found
configure:3114:   ./missing found
configure:3096:   ./install-sh found
configure:3114:   ./config.guess found
configure:3114:   ./config.sub found
configure:3235: checking build system type
configure:3250: result: x86_64-pc-linux-gnu
configure:3270: checking host system type
configure:3284: result: aarch64-unknown-linux-android
configure:3304: checking target system type
configure:3318: result: aarch64-unknown-linux-android
configure:3417: checking for gsed
configure:3453: result: sed
configure:3482: checking for a BSD-compatible install
configure:3555: result: /usr/bin/install -c
configure:3566: checking whether build environment is sane
configure:3621: result: yes
configure:3673: checking for aarch64-linux-android-strip
configure:3705: result: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
configure:3776: checking for a race-free mkdir -p
configure:3820: result: /usr/bin/mkdir -p
configure:3827: checking for gawk
configure:3848: found /usr/bin/gawk
configure:3859: result: gawk
configure:3870: checking whether make -j16 sets $(MAKE)
configure:3893: result: yes
configure:3923: checking whether make -j16 supports nested variables
configure:3941: result: yes
configure:4105: checking for aarch64-linux-android-gcc
configure:4137: result: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC
configure:4535: checking for C compiler version
configure:4544: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC --version >&5
Android (9352603, based on r450784d1) clang version 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
Target: aarch64-unknown-linux-android25
Thread model: posix
InstalledDir: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin
configure:4555: $? = 0
configure:4544: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -v >&5
Android (9352603, based on r450784d1) clang version 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
Target: aarch64-unknown-linux-android25
Thread model: posix
InstalledDir: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin
clang-14: warning: argument unused during compilation: '-fomit-frame-pointer' [-Wunused-command-line-argument]
clang-14: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument]
configure:4555: $? = 0
configure:4544: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -V >&5
clang-14: error: argument to '-V' is missing (expected 1 value)
clang-14: error: no input files
configure:4555: $? = 1
configure:4544: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -qversion >&5
clang-14: error: unknown argument '-qversion'; did you mean '--version'?
clang-14: error: no input files
configure:4555: $? = 1
configure:4544: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -version >&5
clang-14: error: unknown argument '-version'; did you mean '--version'?
clang-14: error: no input files
configure:4555: $? = 1
configure:4575: checking whether the C compiler works
configure:4597: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -DANDROID -I/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/reactormonk/.local/share/python-for-android/build/python-installs/unnamed_dist_3/arm64-v8a/include/python3.1   -L/home/reactormonk/.local/share/python-for-android/build/libs_collections/unnamed_dist_3/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-14: error: linker command failed with exit code 1 (use -v to see invocation)
configure:4601: $? = 1
configure:4641: 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 "https://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:4646: error: in `/home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi':
configure:4648: error: C compiler cannot create executables
See `config.log' for more details

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


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

ACLOCAL='${SHELL} '\''/home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/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='/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar'
AUTOCONF='${SHELL} '\''/home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/missing'\'' automake-1.16'
AWK='gawk'
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE=''
CC='/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC'
CPPFLAGS='-DANDROID -I/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/reactormonk/.local/share/python-for-android/build/python-installs/unnamed_dist_3/arm64-v8a/include/python3.1'
CSCOPE='cscope'
CTAGS='ctags'
CXX='/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -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=''
FILECMD=''
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/reactormonk/.local/share/python-for-android/build/libs_collections/unnamed_dist_3/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/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/libffi/missing'\'' makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPT_LDFLAGS=''
OTOOL64=''
OTOOL=''
PACKAGE='libffi'
PACKAGE_BUGREPORT='https://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='/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib'
READELF='/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf'
SECTION_LDFLAGS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/opt/android-sdk/ndk/25.2.9519653/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=''
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='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/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/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/reactormonk/.local/share/python-for-android/build/other_builds/libffi/arm64-v8a__ndk_target_25/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. ##
## ----------- ##

/* 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 "https://github.com/libffi/libffi/issues"
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.4.2"

configure: exit 77

Activity

  1. TobiasHT5 commented on Aug 18, 2023

    @TobiasHT5
    Author

    @RobertFlatt Personally I'm using p4a directly without buildozer, and this seems to be the main source of the problem.

    configure:4575: checking whether the C compiler works
    configure:4597: /opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -target aarch64-linux-android25 -fomit-frame-pointer -march=armv8-a -fPIC -DANDROID -I/opt/android-sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/reactormonk/.local/share/python-for-android/build/python-installs/unnamed_dist_3/arm64-v8a/include/python3.1   -L/home/reactormonk/.local/share/python-for-android/build/libs_collections/unnamed_dist_3/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-14: error: linker command failed with exit code 1 (use -v to see invocation)
    configure:4601: $? = 1
    configure:4641: result: no
    
  2. RobertFlatt commented on Aug 18, 2023

    @RobertFlatt
    Contributor

    The easy way to test would be to try with Buildozer.
    If if fails update WSL, if it works you have a workaround.

    I don't have any other suggestion.

  3. misl6 commented on Aug 22, 2023

    @misl6
    Member

    Hi @ht-thomas , can you please post the full log?

  4. TobiasHT5 commented on Aug 22, 2023

    @TobiasHT5
    Author

    hey @misl6 ,

    --name="myapp"
    --version=0.1
    --private=./myapp
    --arch=armeabi-v7a
    --bootstrap=sdl2
    --package=com.example.myapp
    --requirements=kivy,kivymd,python3
    

    These are the arguments are passed to p4a the latest, this is the log from the command line. I tried to write it to a stdout that can record everything in a file but this is all I could collect from the log.

    
               working: Python-3.10.10.tgz                                                                            
                                                                                                                      
    
               working: v3.4.2.tar.gz                                                                                 
                                                                                                                      
    
               working: openssl-1.1.1m.tar.gz                                                                         
                                                                                                                      
    
               working: SDL2_image-2.6.2.tar.gz                                                                       
                                                                                                                      
    
               working: SDL2_mixer-2.6.2.tar.gz                                                                       
                                                                                                                      
    
               working: SDL2_ttf-2.20.1.tar.gz                                                                        
                                                                                                                      
    
               working: sqlite-amalgamation-3350500.zip                                                               
                                                                                                                      
    
               working: Python-3.10.10.tgz                                                                            
                                                                                                                      
    
               working: SDL2-2.26.1.tar.gz                                                                            
                                                                                                                      
    
               working: setuptools-51.3.3.tar.gz                                                                      
                                                                                                                      
    
               working: six-1.15.0.tar.gz                                                                             
                                                                                                                      
    
               working: 1.5.0.zip                                                                                     
                                                                                                                      
    
               working: 2.2.0.zip                                                                                     
                                                                                                                      
    
               working: Python-3.10.10.tgz                                                                            
                                                                                                                      
    
               working: v3.4.2.tar.gz                                                                                 
                                                                                                                      
    
               working: openssl-1.1.1m.tar.gz                                                                         
                                                                                                                      
    
               working: SDL2_image-2.6.2.tar.gz                                                                       
                                                                                                                      
    
               working: SDL2_mixer-2.6.2.tar.gz                                                                       
                                                                                                                      
    
               working: SDL2_ttf-2.20.1.tar.gz                                                                        
                                                                                                                      
    
               working: sqlite-amalgamation-3350500.zip                                                               
                                                                                                                      
    
               working: Python-3.10.10.tgz                                                                            
                                                                                                                      
    
               working: SDL2-2.26.1.tar.gz                                                                            
                                                                                                                      
    
               working: setuptools-51.3.3.tar.gz                                                                      
                                                                                                                      
    
               working: six-1.15.0.tar.gz                                                                             
                                                                                                                      
    
               working: 1.5.0.zip                                                                                     
                                                                                                                      
    
               working: 2.2.0.zip                                                                                     
                                                                                                                      
    
               working: autoreconf: export WARNINGS=                                                                  
               working: autoreconf: Entering directory '.'                                                            
               working: autoreconf: configure.ac: not using Gettext                                                   
               working: autoreconf: running: aclocal --force -I m4                                                    
               working: autoreconf: configure.ac: tracing                                                             
               working: autoreconf: running: libtoolize --copy --force                                                
               working: libtoolize: putting auxiliary files in '.'.                                                   
               working: libtoolize: copying file './ltmain.sh'                                                        
               working: libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.                                     
               working: libtoolize: copying file 'm4/libtool.m4'                                                      
               working: libtoolize: copying file 'm4/ltoptions.m4'                                                    
               working: libtoolize: copying file 'm4/ltsugar.m4'                                                      
               working: libtoolize: copying file 'm4/ltversion.m4'                                                    
               working: libtoolize: copying file 'm4/lt~obsolete.m4'                                                  
               working: autoreconf: configure.ac: not using Intltool                                                  
               working: autoreconf: configure.ac: not using Gtkdoc                                                    
               working: autoreconf: running: aclocal --force -I m4                                                    
               working: autoreconf: running: /usr/bin/autoconf --force                                                
               working: configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.                         
               working: configure.ac:8: You should run autoupdate.                                                    
               working: ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...                       
               working: configure.ac:8: the top level                                                                 
               working: configure.ac:41: warning: The macro `AC_PROG_LIBTOOL' is obsolete.                            
               working: configure.ac:41: You should run autoupdate.                                                   
               working: m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...                                         
               working: configure.ac:41: the top level                                                                
               working: configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete.                             
               working: configure.ac:74: You should run autoupdate.                                                   
               working: ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...                            
               working: lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...                                      
               working: lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...                                            
               working: ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...                              
               working: ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...                            
               working: acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...                                    
               working: configure.ac:74: the top level                                                                
               working: configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete.                             
               working: configure.ac:91: You should run autoupdate.                                                   
               working: ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...                             
               working: configure.ac:91: the top level                                                                
               working: configure.ac:118: warning: The macro `AC_TRY_COMPILE' is obsolete.                            
               working: configure.ac:118: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...                            
               working: lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...                                      
               working: lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...                                            
               working: ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...                              
               working: ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...                            
               working: m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...                                      
               working: configure.ac:118: the top level                                                               
               working: configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete.                               
               working: configure.ac:122: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...                               
               working: lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...                                      
               working: lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...                                            
               working: ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...                              
               working: ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...                            
               working: configure.ac:122: the top level                                                               
               working: configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete.                            
               working: configure.ac:138: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...                            
               working: lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...                                      
               working: lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...                                            
               working: ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...                              
               working: ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...                            
               working: configure.ac:138: the top level                                                               
               working: configure.ac:185: warning: The macro `AC_TRY_COMPILE' is obsolete.                            
               working: configure.ac:185: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...                            
               working: lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...                                      
               working: lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...                                            
               working: ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...                              
               working: ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...                            
               working: configure.ac:185: the top level                                                               
               working: configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.                            
               working: configure.ac:310: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...                             
               working: configure.ac:310: the top level                                                               
               working: configure.ac:418: warning: The macro `AC_HELP_STRING' is obsolete.                            
               working: configure.ac:418: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...                             
               working: acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...                                   
               working: configure.ac:418: the top level                                                               
               working: configure.ac:418: warning: The macro `AC_PROG_LD' is obsolete.                                
               working: configure.ac:418: You should run autoupdate.                                                  
               working: m4/libtool.m4:3341: AC_PROG_LD is expanded from...                                            
               working: acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...                            
               working: acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...                                   
               working: configure.ac:418: the top level                                                               
               working: configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete.                                
               working: configure.ac:418: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...                                
               working: acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...                            
               working: acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...                                   
               working: configure.ac:418: the top level                                                               
               working: configure.ac:418: warning: The macro `AC_TRY_LINK' is obsolete.                               
               working: configure.ac:418: You should run autoupdate.                                                  
               working: ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...                               
               working: acinclude.m4:353: LIBFFI_ENABLE_SYMVERS is expanded from...                                   
               working: configure.ac:418: the top level                                                               
               working: autoreconf: running: /usr/bin/autoheader --force                                              
               working: autoreconf: running: automake --add-missing --copy --force-missing                            
               working: configure.ac:31: installing './compile'                                                       
               working: configure.ac:19: installing './missing'                                                       
               working: Makefile.am: installing './depcomp'                                                           
               working: autoreconf: Leaving directory '.'                                                             
                                                                                                                      
    
               working: checking build system type... x86_64-pc-linux-gnux32                                          
               working: checking host system type... arm-unknown-linux-androideabi                                    
               working: checking target system type... arm-unknown-linux-androideabi                                  
               working: checking for gsed... sed                                                                      
               working: checking for a BSD-compatible install... /usr/bin/install -c                                  
               working: checking whether build environment is sane... yes                                             
               working: checking for arm-linux-androideabi-strip... /home/tobias/Desktop/Android/ndk...(and 83 more)  
               working: checking for a race-free mkdir -p... /usr/bin/mkdir -p                                        
               working: checking for gawk... no                                                                       
               working: checking for mawk... mawk                                                                     
               working: checking whether make -j4 sets $(MAKE)... yes                                                 
               working: checking whether make -j4 supports nested variables... yes                                    
               working: checking for arm-linux-androideabi-gcc... /usr/bin/ccache /home/tobias/Deskt...(and 189 more) 
               working: checking whether the C compiler works... no                                                   
               working: configure: error: in `/home/tobias/.local/share/python-for-android/build/oth...(and 52 more)  
               working: configure: error: C compiler cannot create executables                                        
               working: See `config.log' for more details                                                             
                                                                                                                      
    
    
  5. TobiasHT5 commented on Aug 22, 2023

    @TobiasHT5
    Author

    Hey @RobertFlatt ,
    I've checked out the link you've shared multiple times and it doesn't apply to my situation because in the first case I'm using Ubuntu 22.04 instead of WSL and also I'm using p4a directly without buildozer. I've always been using p4a without buildozer.

  6. HyTurtle commented on Aug 22, 2023

    @HyTurtle
    Contributor

    By latest p4a which branch do you mean? If not develop I would see if the issue remains there and if so a fuller log of the failed build

  7. RobertFlatt commented on Aug 23, 2023

    @RobertFlatt
    Contributor

    Thanks @ht-thomas , at the very top of this thread is it says

    OS: Linux, WSL

    If that is incorrect and you are not using WSL, then my comment does not apply.

  8. TobiasHT5 commented on Aug 23, 2023

    @TobiasHT5
    Author

    @HyTurtle the p4a version I'm running is 2023.05.21, the one which was recently released.

  9. Julian-O commented on Nov 20, 2023

    @Julian-O
    Contributor

    @ht-thomas: Even if you are running on Ubuntu now, is there a chance you are using an NTFS drive volume created in Windows?

  10. TobiasHT5 commented on Nov 20, 2023

    @TobiasHT5
    Author

    @Julian-O I highly doubt that since the whole machine was formatted. But I think the bug is in the NDK which p4a supports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions