Build of cdargs with android toolchain

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

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

SLOCLanguage
1,177 cpp
463 sh
70 lisp
3 csh
1,713 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: cdargs 1.35-6 (Tue Apr 4 20:53:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking whether make sets ${MAKE}... yes
# checking for working aclocal... found
# checking for working autoconf... found
# checking for working automake... found
# checking for working autoheader... found
# checking for working makeinfo... found
# checking for arm-linux-androideabi-g++... arm-linux-androideabi-g++
# checking for C++ compiler default output... a.out
# checking whether the C++ compiler works... yes
# checking whether we are cross compiling... yes
# checking for executable suffix...
# checking for object suffix... o
# checking whether we are using the GNU C++ compiler... yes
# checking whether arm-linux-androideabi-g++ accepts -g... yes
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking whether we are using the GNU C compiler... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for ANSI C header files... yes
# checking for working curses... no
# checking for working ncurses... no
# configure: error: Fatal error: couldn't find ncurses/curses.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/cdargs/src/cdargs-1.35/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.52. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --mandir=/usr/share/man
#
# ## ---------- ##
# ## Platform. ##
# ## ---------- ##
#
# hostname = 69e27c668bf7
# 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:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#
# ## ------------ ##
# ## Core tests. ##
# ## ------------ ##
#
# configure:929: PATH=".;."; conftest.sh
# ./configure: line 930: conftest.sh: command not found
# configure:932: $? = 127
# configure:978: checking for a BSD compatible install
# configure:1027: result: /usr/bin/install -c
# configure:1038: checking whether build environment is sane
# configure:1081: result: yes
# configure:1096: checking whether make sets ${MAKE}
# configure:1116: result: yes
# configure:1144: checking for working aclocal
# configure:1151: result: found
# configure:1159: checking for working autoconf
# configure:1166: result: found
# configure:1174: checking for working automake
# configure:1181: result: found
# configure:1189: checking for working autoheader
# configure:1196: result: found
# configure:1204: checking for working makeinfo
# configure:1211: result: found
# configure:1229: checking for arm-linux-androideabi-g++
# configure:1252: result: arm-linux-androideabi-g++
# configure:1306: checking for C++ compiler version
# configure:1309: arm-linux-androideabi-g++ --version &5
# arm-linux-androideabi-g++ (GCC) 4.8
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:1312: $? = 0
# configure:1314: arm-linux-androideabi-g++ -v &5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-g++
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# configure:1317: $? = 0
# configure:1319: arm-linux-androideabi-g++ -V &5
# arm-linux-androideabi-g++: error: unrecognized command line option '-V'
# arm-linux-androideabi-g++: fatal error: no input files
# compilation terminated.
# configure:1322: $? = 1
# configure:1342: checking for C++ compiler default output
# configure:1345: arm-linux-androideabi-g++ conftest.cc >&5
# configure:1348: $? = 0
# configure:1377: result: a.out
# configure:1382: checking whether the C++ compiler works
# configure:1406: result: yes
# configure:1413: checking whether we are cross compiling
# configure:1415: result: yes
# configure:1418: checking for executable suffix
# configure:1420: arm-linux-androideabi-g++ -o conftest conftest.cc >&5
# configure:1423: $? = 0
# configure:1445: result:
# configure:1451: checking for object suffix
# configure:1469: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1472: $? = 0
# configure:1491: result: o
# configure:1495: checking whether we are using the GNU C++ compiler
# configure:1516: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1519: $? = 0
# configure:1522: test -s conftest.o
# configure:1525: $? = 0
# configure:1537: result: yes
# configure:1543: checking whether arm-linux-androideabi-g++ accepts -g
# configure:1561: arm-linux-androideabi-g++ -c -g conftest.cc >&5
# configure:1564: $? = 0
# configure:1567: test -s conftest.o
# configure:1570: $? = 0
# configure:1580: result: yes
# configure:1620: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1623: $? = 0
# configure:1626: test -s conftest.o
# configure:1629: $? = 0
# configure:1651: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure: In function 'int main()':
# configure:1644:9: error: 'exit' was not declared in this scope
# {
# ^
# configure:1654: $? = 1
# configure: failed program was:
# #line 1639 "configure"
# #include "confdefs.h"
#
# int
# main ()
# {
# exit (42);
# ;
# return 0;
# }
# configure:1620: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1623: $? = 0
# configure:1626: test -s conftest.o
# configure:1629: $? = 0
# configure:1651: arm-linux-androideabi-g++ -c conftest.cc >&5
# configure:1654: $? = 0
# configure:1657: test -s conftest.o
# configure:1660: $? = 0
# configure:1690: checking for arm-linux-androideabi-gcc
# configure:1713: result: arm-linux-androideabi-gcc
# configure:1976: checking for C compiler version
# configure:1979: arm-linux-androideabi-gcc --version &5
# arm-linux-androideabi-gcc (GCC) 4.8
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:1982: $? = 0
# configure:1984: arm-linux-androideabi-gcc -v &5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-gcc
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# configure:1987: $? = 0
# configure:1989: arm-linux-androideabi-gcc -V &5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:1992: $? = 1
# configure:1995: checking whether we are using the GNU C compiler
# configure:2016: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2019: $? = 0
# configure:2022: test -s conftest.o
# configure:2025: $? = 0
# configure:2037: result: yes
# configure:2043: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2061: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2064: $? = 0
# configure:2067: test -s conftest.o
# configure:2070: $? = 0
# configure:2080: result: yes
# configure:2107: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:2:3: error: unknown type name 'choke'
# choke me
# ^
# conftest.c:2:3: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
# configure:2110: $? = 1
# configure: failed program was:
# #ifndef __cplusplus
# choke me
# #endif
# configure:2213: checking how to run the C preprocessor
# configure:2239: arm-linux-androideabi-gcc -E conftest.c
# configure:2245: $? = 0
# configure:2272: arm-linux-androideabi-gcc -E conftest.c
# configure:2269:28: fatal error: ac_nonexistent.h: No such file or directory
# #include "confdefs.h"
# ^
# compilation terminated.
# configure:2278: $? = 1
# configure: failed program was:
# #line 2268 "configure"
# #include "confdefs.h"
# #include
# configure:2315: result: arm-linux-androideabi-gcc -E
# configure:2330: arm-linux-androideabi-gcc -E conftest.c
# configure:2336: $? = 0
# configure:2363: arm-linux-androideabi-gcc -E conftest.c
# configure:2360:28: fatal error: ac_nonexistent.h: No such file or directory
# #include "confdefs.h"
# ^
# compilation terminated.
# configure:2369: $? = 1
# configure: failed program was:
# #line 2359 "configure"
# #include "confdefs.h"
# #include
# configure:2408: checking for ANSI C header files
# configure:2422: arm-linux-androideabi-gcc -E conftest.c
# configure:2428: $? = 0
# configure:2536: result: yes
# configure:2555: checking for working curses
# configure:2574: arm-linux-androideabi-gcc -o conftest conftest.c -lcurses >&5
# configure:2563:20: fatal error: curses.h: No such file or directory
# #include "confdefs.h"
# ^
# compilation terminated.
# configure:2577: $? = 1
# configure: failed program was:
# #line 2562 "configure"
# #include "confdefs.h"
# #include
# int
# main ()
# {
# chtype a; int b=A_STANDOUT, c=KEY_LEFT; initscr();
# ;
# return 0;
# }
# configure:2593: result: no
# configure:2606: checking for working ncurses
# configure:2625: arm-linux-androideabi-gcc -o conftest conftest.c -lncurses >&5
# configure:2614:21: fatal error: ncurses.h: No such file or directory
# #include "confdefs.h"
# ^
# compilation terminated.
# configure:2628: $? = 1
# configure: failed program was:
# #line 2613 "configure"
# #include "confdefs.h"
# #include
# int
# main ()
# {
# chtype a; int b=A_STANDOUT, c=KEY_LEFT; initscr();
# ;
# return 0;
# }
# configure:2644: result: no
# configure:2658: error: Fatal error: couldn't find ncurses/curses.
#
# ## ----------------- ##
# ## Cache variables. ##
# ## ----------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_cxx_compiler_gnu=yes
# 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_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=arm-linux-androideabi-g++
# 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_header_stdc=yes
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# ac_cv_prog_CXX=arm-linux-androideabi-g++
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# mp_cv_curses=no
# mp_cv_ncurses=no
#
# ## ------------ ##
# ## confdefs.h. ##
# ## ------------ ##
#
# #define PACKAGE "cdargs"
# #define VERSION "1.35"
# #ifdef __cplusplus
# #include
# #endif
# #define STDC_HEADERS 1
#
#
# configure: exit 1