Build of nss_ldap with android toolchain

The build took 00h 01m 05s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
16,895 ansic
3,204 sh
223 perl
20,322 total

The process tree of the build process is here.

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: nss_ldap 265-6 (Tue Apr 4 22:24:44 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file ldap-nss.c
# Hunk #1 succeeded at 142 (offset -6 lines).
# Hunk #2 succeeded at 162 (offset -6 lines).
# Hunk #3 succeeded at 513 (offset -6 lines).
# Hunk #4 succeeded at 547 (offset -6 lines).
# Hunk #5 succeeded at 1113 (offset -6 lines).
# Hunk #6 succeeded at 1145 (offset -6 lines).
# Hunk #7 succeeded at 1155 (offset -6 lines).
# Hunk #8 succeeded at 1179 (offset -6 lines).
# Hunk #9 succeeded at 1244 (offset -6 lines).
# patching file ldap-nss.h
# Hunk #1 succeeded at 670 (offset -1 lines).
# patching file ldap-nss.c
# Hunk #1 succeeded at 150 (offset -6 lines).
# patching file configure.in
# Hunk #1 succeeded at 234 (offset -21 lines).
# patching file ldap-nss.c
# Hunk #1 succeeded at 1096 (offset -6 lines).
# patching file configure.in
# Hunk #2 succeeded at 230 (offset -21 lines).
# patching file m4/ax_pthread.m4
# patching file Makefile.am
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
# configure: error: /bin/sh ./config.sub arm-linux-androideabi failed
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/nss_ldap/src/nss_ldap-265/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.59. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --with-ldap-conf-file=/etc/nss_ldap.conf --with-ldap=openldap --sysconfdir=/etc --mandir=/usr/share/man --enable-schema-mapping --enable-rfc2307bis --enable-configurable-krb5-ccname-gssapi
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 56d47a2c5660
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1353: checking build system type
# configure:1371: result: x86_64-unknown-linux-gnu
# configure:1379: checking host system type
# configure:1388: error: /bin/sh ./config.sub arm-linux-androideabi failed
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=arm-linux-androideabi-gcc
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=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=
# ac_cv_env_build_alias_set=set
# ac_cv_env_build_alias_value=x86_64-unknown-linux
# 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_host=
# ac_cv_host_alias=arm-linux-androideabi
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL=''
# AIX_FALSE=''
# AIX_TRUE=''
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR=''
# AUTOCONF=''
# AUTOHEADER=''
# AUTOMAKE=''
# AWK=''
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE=''
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CYGPATH_W=''
# DEFS=''
# DEPDIR=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# GCC_FALSE=''
# GCC_TRUE=''
# GLIBC_FALSE=''
# GLIBC_TRUE=''
# HPUX_FALSE=''
# HPUX_TRUE=''
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# INSTALL_STRIP_PROGRAM=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAINT=''
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE=''
# MAKEINFO=''
# NSS_LDAP_LDFLAGS=''
# NSS_LDAP_PATH_CONF=''
# NSS_LDAP_PATH_ROOTPASSWD=''
# OBJEXT=''
# PACKAGE=''
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP=''
# USE_NATIVE_LINKER_FALSE=''
# USE_NATIVE_LINKER_TRUE=''
# VERSION=''
# ac_ct_CC=''
# ac_ct_STRIP=''
# am__fastdepCC_FALSE=''
# am__fastdepCC_TRUE=''
# am__include=''
# am__leading_dot=''
# am__quote=''
# am__tar=''
# am__untar=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias='x86_64-unknown-linux'
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${prefix}/share'
# exec_prefix='NONE'
# host='arm-linux-androideabi'
# host_alias='arm-linux-androideabi'
# host_cpu=''
# host_os=''
# host_vendor=''
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# install_sh=''
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='${prefix}/var'
# mandir='/usr/share/man'
# mkdir_p=''
# nss_ldap_so_LD=''
# nss_ldap_so_LDFLAGS=''
# oldincludedir='/usr/include'
# prefix='/usr'
# program_transform_name='s,x,x,'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target=''
# target_alias=''
# target_cpu=''
# target_os=''
# target_vendor=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME ""
# #define PACKAGE_STRING ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
#
# configure: exit 1