Bug #2679

Build failure for Orbot at version 12.0.5

Added by daithib8 about 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:12/01/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Spent time:-
Target version:v14 - April Anons
Component:

Description

Using NDK-r9 running NDK_BASE=$$NDk$$ make -C external gives the following error:

@../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.in:569: the top level
configure.in:574: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.in:574: the top level
autoreconf: running: automake --add-missing --copy --force-missing
configure.in:210: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/functions.m4:59: AC_CHECK_FUNC is expanded from...
configure.in:210: the top level
configure.in:564: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.in:564: the top level
configure.in:569: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.in:569: the top level
configure.in:574: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.in:574: the top level
configure.in:48: installing './config.guess'
configure.in:48: installing './config.sub'
configure.in:8: installing './install-sh'
configure.in:8: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
configure: error: in `/home/gerry/fdroiddata/build/org.torproject.android/external/libevent':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [libevent/Makefile] Error 77 ==== stderr end ====
@

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 configure, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --host=arm-linux-androideabi --disable-shared
  1. --------- ##
  2. Platform. ##
  3. --------- ##

hostname = linux-hpcr.site
uname -m = i686
uname -r = 3.7.10-1.16-default
uname -s = Linux
uname -v = #1 SMP Fri May 31 20:21:23 UTC 2013 (97c14ba)

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

/bin/arch = i686
/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/gerry/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/mit/bin
PATH: /home/gerry/android-sdk-linux/platform-tools
PATH: /home/gerry/android-sdk-linux/build-tools/18.1.0
PATH: /home/gerry/android-sdk-linux/tools
PATH: /home/gerry/android-ndk-r9
PATH: /home/gerry/fdroidserver
PATH: /sbin
PATH: /usr/sbin
PATH: .
PATH: .
PATH: /home/gerry/my-fdroidserver
PATH: /sbin
PATH: /usr/sbin
PATH: /opt/maven/apache-maven-3.1.1/bin
PATH: /home/gerry/android-sdk-linux/platform-tools
PATH: /home/gerry/android-sdk-linux/build-tools/18.1.0
PATH: /home/gerry/android-sdk-linux/tools
PATH: /home/gerry/android-ndk-r9
PATH: /home/gerry/fdroidserver
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/apache-maven-3.0.4/bin
PATH: /opt/gradle/gradle-1.8/bin
PATH: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/`uname s | tr '[A-Z]' '[a-z]'``uname -m`/bin
PATH: /home/gerry/fdroiddata/build/org.torproject.android/external/bin

  1. ----------- ##
  2. Core tests. ##
  3. ----------- ##

configure:2475: loading site script /usr/share/site/i686-pc-linux-gnu | #!/bin/sh | # Site script for configure. It is resourced via $CONFIG_SITE environment varaible. | | # If user did not specify libdir, guess the correct target: | # Use lib64 for 64 bit bi-arch targets, keep the default for the rest. | if test "$libdir" = '${exec_prefix}/lib' ; then | | ac_config_site_64bit_host=NONE | | case "$host" in | "" ) | # User did not specify host target. | # The native platform i386 is not a bi-arch platform. | # There is no need to check for compatible sub-architecture. | ac_config_site_64bit_host=NONE | | ;; | x86_64 | ppc64 | s390x ) | ac_config_site_64bit_host=YES | ;; | esac | | if test "x$ac_config_site_64bit_host" = xYES; then | libdir='${exec_prefix}/lib64' | fi | fi | | # If user did not specify libexecdir, set the correct target: | # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib. | | if test "$libexecdir" = '${exec_prefix}/libexec' ; then | libexecdir='${exec_prefix}/lib' | fi | | # Continue with the standard behavior of configure defined in AC_SITE_LOAD: | if test "x$prefix" != xNONE; then | ac_site_file1=$prefix/share/config.site | ac_site_file2=$prefix/etc/config.site | else | ac_site_file1=$ac_default_prefix/share/config.site | ac_site_file2=$ac_default_prefix/etc/config.site | fi | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | do | test "x$ac_site_file" = xNONE && continue | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | { $as_echo "/usr/share/site/i686-pc-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | $as_echo "/usr/share/site/i686-pc-linux-gnu: loading site script $ac_site_file" >&6;} | sed 's/^/| /' "$ac_site_file" >&5 | . "$ac_site_file" \ | || { { $as_echo "/usr/share/site/i686-pc-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | $as_echo "/usr/share/site/i686-pc-linux-gnu: error: in \`$ac_pwd':" >&2;} | as_fn_error $? "failed to load site script $ac_site_file | See \`config.log' for more details" "$LINENO" 5; } | fi | done
configure:2619: checking for a BSD-compatible install
configure:2687: result: /usr/bin/install -c
configure:2698: checking whether build environment is sane
configure:2753: result: yes
configure:2812: checking for arm-linux-androideabi-strip
configure:2842: result: no
configure:2852: checking for strip
configure:2868: found /usr/bin/strip
configure:2879: result: strip
configure:2904: checking for a thread-safe mkdir -p
configure:2943: result: /usr/bin/mkdir -p
configure:2950: checking for gawk
configure:2966: found /usr/bin/gawk
configure:2977: result: gawk
configure:2988: checking whether make sets $(MAKE)
configure:3010: result: yes
configure:3110: checking for arm-linux-androideabi-gcc
configure:3137: result: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm
configure:3406: checking for C compiler version
configure:3415: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm --version >&5
./configure: line 3417: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: No such file or directory
configure:3426: $? = 127
configure:3415: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm -v >&5
./configure: line 3417: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: No such file or directory
configure:3426: $? = 127
configure:3415: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm -V >&5
./configure: line 3417: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: No such file or directory
configure:3426: $? = 127
configure:3415: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm -qversion >&5
./configure: line 3417: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: No such file or directory
configure:3426: $? = 127
configure:3446: checking whether the C compiler works
configure:3468: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm -DANDROID -I/home/gerry/fdroiddata/build/org.torproject.android/external -I/home/gerry/fdroiddata/build/org.torproject.android/external/include -I/home/gerry/android-ndk-r9//platforms/android-8/arch-arm/usr/include -fdata-sections -ffunction-sections -Os -I/home/gerry/fdroiddata/build/org.torproject.android/external/include -L/home/gerry/fdroiddata/build/org.torproject.android/external -L/home/gerry/fdroiddata/build/org.torproject.android/external/lib -L/home/gerry/android-ndk-r9//platforms/android-8/arch-arm/usr/lib -Wl,--gc-sections conftest.c >&5
./configure: line 3470: /home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: No such file or directory
configure:3472: $? = 127
configure:3510: result: no
configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libevent" | #define VERSION "2.0.10-stable" | #define NUMERIC_VERSION 0x02000a00 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | }
configure:3515: error: in `/home/gerry/fdroiddata/build/org.torproject.android/external/libevent':
configure:3517: error: C compiler cannot create executables
See `config.log' for more details

  1. ---------------- ##
  2. Cache variables. ##
  3. ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-DANDROID -I/home/gerry/fdroiddata/build/org.torproject.android/external -I/home/gerry/fdroiddata/build/org.torproject.android/external/include -I/home/gerry/android-ndk-r9//platforms/android-8/arch-arm/usr/include -fdata-sections -ffunction-sections -Os -I/home/gerry/fdroiddata/build/org.torproject.android/external/include'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/home/gerry/fdroiddata/build/org.torproject.android/external -L/home/gerry/fdroiddata/build/org.torproject.android/external/lib -L/home/gerry/android-ndk-r9//platforms/android-8/arch-arm/usr/lib -Wl,--gc-sections'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_func_malloc_0_nonnull=yes
ac_cv_func_setpgrp_void=yes
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/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm'
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes

  1. ----------------- ##
  2. Output variables. ##
  3. ----------------- ##

ACLOCAL='${SHELL} /home/gerry/fdroiddata/build/org.torproject.android/external/libevent/missing --run aclocal-1.12'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='/home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-ar'
AUTOCONF='${SHELL} /home/gerry/fdroiddata/build/org.torproject.android/external/libevent/missing --run autoconf'
AUTOHEADER='${SHELL} /home/gerry/fdroiddata/build/org.torproject.android/external/libevent/missing --run autoheader'
AUTOMAKE='${SHELL} /home/gerry/fdroiddata/build/org.torproject.android/external/libevent/missing --run automake-1.12'
AWK='gawk'
BUILD_WIN32_FALSE=''
BUILD_WIN32_TRUE=''
CC='/home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc --sysroot=/home/gerry/android-ndk-r9//platforms/android-8/arch-arm'
CCDEPMODE=''
CFLAGS='-DANDROID -I/home/gerry/fdroiddata/build/org.torproject.android/external -I/home/gerry/fdroiddata/build/org.torproject.android/external/include -I/home/gerry/android-ndk-r9//platforms/android-8/arch-arm/usr/include -fdata-sections -ffunction-sections -Os -I/home/gerry/fdroiddata/build/org.torproject.android/external/include'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DEVPOLL_BACKEND_FALSE=''
DEVPOLL_BACKEND_TRUE=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EPOLL_BACKEND_FALSE=''
EPOLL_BACKEND_TRUE=''
EVPORT_BACKEND_FALSE=''
EVPORT_BACKEND_TRUE=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KQUEUE_BACKEND_FALSE=''
KQUEUE_BACKEND_TRUE=''
LD=''
LDFLAGS='-L/home/gerry/fdroiddata/build/org.torproject.android/external -L/home/gerry/fdroiddata/build/org.torproject.android/external/lib -L/home/gerry/android-ndk-r9//platforms/android-8/arch-arm/usr/lib -Wl,--gc-sections'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/gerry/fdroiddata/build/org.torproject.android/external/libevent/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPENSSL_FALSE=''
OPENSSL_LIBS=''
OPENSSL_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='libevent'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POLL_BACKEND_FALSE=''
POLL_BACKEND_TRUE=''
PTHREADS_FALSE=''
PTHREADS_TRUE=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB='/home/gerry/android-ndk-r9//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-ranlib'
SED=''
SELECT_BACKEND_FALSE=''
SELECT_BACKEND_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
SIGNAL_SUPPORT_FALSE=''
SIGNAL_SUPPORT_TRUE=''
STRIP='strip'
VERSION='2.0.10-stable'
ZLIB_LIBS=''
ZLIB_REGRESS_FALSE=''
ZLIB_REGRESS_TRUE=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/gerry/fdroiddata/build/org.torproject.android/external/libevent/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

  1. ----------- ##
  2. confdefs.h. ##
  3. ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "libevent"
#define VERSION "2.0.10-stable"
#define NUMERIC_VERSION 0x02000a00

configure: exit 77@

History

#1 Updated by n8fr8 about 4 years ago

  • Target version set to v14 - April Anons

#2 Updated by daithib8 about 4 years ago

make2: /home/gerry/android-ndk-9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: Command not found
make2: * [cryptlib.o] Error 127
make2: Leaving directory `/home/gerry/fdroiddata/build/org.torproject.android/external/openssl/crypto'
make1:
[build_crypto] Error 1
make1: Leaving directory `/home/gerry/fdroiddata/build/org.torproject.android/external/openssl'
make: *
* [lib/libcrypto.a] Error 2

$ uname -a
x86

#3 Updated by daithib8 about 4 years ago

Sorry, forget about that last one:
make[2]: /home/gerry/android-ndk-9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-i686/bin/arm-linux-androideabi-gcc: Command not found
make[2]: *** [cryptlib.o] Error 127
make[2]: Leaving directory `/home/gerry/fdroiddata/build/org.torproject.android/external/openssl/crypto'
make[1]: *** [build_crypto] Error 1
make[1]: Leaving directory `/home/gerry/fdroiddata/build/org.torproject.android/external/openssl'
make: *** [lib/libcrypto.a] Error 2

$ uname -m
i686

but NDK has toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/

#4 Updated by daithib8 about 4 years ago

I see it's back to using gcc 4.7; well gcc 4.8 works nicely for me (I;m too lazy to install the legacy toolchains).

#5 Updated by n8fr8 about 4 years ago

We'll update the toolchain to the latest and greatest shortly.

#6 Updated by n8fr8 almost 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF