Build of iptraf-ng with android toolchain

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

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

SLOCLanguage
11,913 ansic
355 makefile
31 sh
1 awk
12,300 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: iptraf-ng 1.1.4-2 (Tue Apr 4 21:12:50 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: Setting lib to 'lib' (the default)
# configure: CHECKS for programs
# checking for arm-linux-androideabi-cc... arm-linux-androideabi-gcc
# checking for C compiler default output file name... a.out
# checking whether the C compiler works... yes
# checking whether we are cross compiling... yes
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
# checking for inline... inline
# checking for arm-linux-androideabi-gar... no
# checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
# checking for gtar... no
# checking for tar... tar
# checking for asciidoc... asciidoc
# checking for asciidoc version... asciidoc 8.6.9
# configure: CHECKS for libraries
# checking for initscr in -lncurses... no
# configure: creating ./config.status
# config.status: creating config.mak.autogen
# IPTRAF_VERSION = 1.1.4
# CC src/tui/labels.o
# CC src/tui/input.o
# CC src/tui/listbox.o
# CC src/tui/menurt.o
# In file included from src/tui/labels.c:9:0:
# src/iptraf-ng-compat.h:15:20: fatal error: curses.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from src/tui/listbox.c:8:0:
# src/iptraf-ng-compat.h:15:20: fatal error: curses.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:378: src/tui/labels.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [Makefile:378: src/tui/listbox.o] Error 1
# In file included from src/tui/menurt.c:10:0:
# src/iptraf-ng-compat.h:15:20: fatal error: curses.h: No such file or directory
# #include
# ^
# In file included from src/tui/input.c:10:0:
# src/iptraf-ng-compat.h:15:20: fatal error: curses.h: No such file or directory
# #include
# ^
# compilation terminated.
# compilation terminated.
# make: *** [Makefile:378: src/tui/menurt.o] Error 1
# make: *** [Makefile:378: src/tui/input.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/iptraf-ng/src/iptraf-ng-1.1.4/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 iptraf-ng configure 1.1.3.1.94.g421e, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = b0104a6e2445
# 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
# /usr/bin/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:1827: Setting lib to 'lib' (the default)
# configure:1860: CHECKS for programs
# configure:1873: checking for arm-linux-androideabi-cc
# configure:1900: result: arm-linux-androideabi-gcc
# configure:1978: checking for C compiler version
# configure:1986: 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:1990: $? = 0
# configure:1997: 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:2001: $? = 0
# configure:2008: 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:2012: $? = 1
# configure:2035: checking for C compiler default output file name
# configure:2057: arm-linux-androideabi-gcc conftest.c >&5
# configure:2061: $? = 0
# configure:2099: result: a.out
# configure:2118: checking whether the C compiler works
# configure:2151: result: yes
# configure:2158: checking whether we are cross compiling
# configure:2160: result: yes
# configure:2163: checking for suffix of executables
# configure:2170: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2174: $? = 0
# configure:2200: result:
# configure:2206: checking for suffix of object files
# configure:2232: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2236: $? = 0
# configure:2261: result: o
# configure:2265: checking whether we are using the GNU C compiler
# configure:2294: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2301: $? = 0
# configure:2318: result: yes
# configure:2327: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2357: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2364: $? = 0
# configure:2465: result: yes
# configure:2482: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:2556: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2563: $? = 0
# configure:2586: result: none needed
# configure:2605: checking for inline
# configure:2631: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2638: $? = 0
# configure:2656: result: inline
# configure:2686: checking for arm-linux-androideabi-gar
# configure:2716: result: no
# configure:2686: checking for arm-linux-androideabi-ar
# configure:2702: found /sysroot/bin/arm-linux-androideabi-ar
# configure:2713: result: arm-linux-androideabi-ar
# configure:2785: checking for gtar
# configure:2815: result: no
# configure:2785: checking for tar
# configure:2801: found /usr/sbin/tar
# configure:2812: result: tar
# configure:2828: checking for asciidoc
# configure:2844: found /usr/sbin/asciidoc
# configure:2855: result: asciidoc
# configure:2867: checking for asciidoc version
# configure:2878: result: asciidoc 8.6.9
# configure:2891: CHECKS for libraries
# configure:2903: checking for initscr in -lncurses
# configure:2938: arm-linux-androideabi-gcc -o conftest conftest.c -lncurses >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lncurses
# /tmp/ccEewO43.o:conftest.c:function main: error: undefined reference to 'initscr'
# collect2: error: ld returned 1 exit status
# configure:2945: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "iptraf-ng"
# | #define PACKAGE_TARNAME "iptraf-ng"
# | #define PACKAGE_VERSION "1.1.3.1.94.g421e"
# | #define PACKAGE_STRING "iptraf-ng 1.1.3.1.94.g421e"
# | #define PACKAGE_BUGREPORT "iptraf-ng@fedorahosted.org"
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char initscr ();
# | int
# | main ()
# | {
# | return initscr ();
# | ;
# | return 0;
# | }
# configure:2966: result: no
# configure:3126: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by iptraf-ng config.status 1.1.3.1.94.g421e, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on b0104a6e2445
#
# config.status:648: creating config.mak.autogen
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_inline=inline
# 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_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_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_lib_ncurses_initscr=no
# ac_cv_objext=o
# ac_cv_prog_AR=arm-linux-androideabi-ar
# ac_cv_prog_ASCIIDOC=asciidoc
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_TAR=tar
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='arm-linux-androideabi-ar'
# ASCIIDOC7=''
# ASCIIDOC='asciidoc'
# CC='arm-linux-androideabi-gcc'
# CFLAGS=' -W -Wall -std=gnu99 -pedantic'
# CPPFLAGS=''
# DEFS='-DPACKAGE_NAME=\"iptraf-ng\" -DPACKAGE_TARNAME=\"iptraf-ng\" -DPACKAGE_VERSION=\"1.1.3.1.94.g421e\" -DPACKAGE_STRING=\"iptraf-ng\ 1.1.3.1.94.g421e\" -DPACKAGE_BUGREPORT=\"iptraf-ng@fedorahosted.org\"'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INLINE=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# NO_NCURSES='YesPlease'
# OBJEXT='o'
# PACKAGE_BUGREPORT='iptraf-ng@fedorahosted.org'
# PACKAGE_NAME='iptraf-ng'
# PACKAGE_STRING='iptraf-ng 1.1.3.1.94.g421e'
# PACKAGE_TARNAME='iptraf-ng'
# PACKAGE_VERSION='1.1.3.1.94.g421e'
# PATH_SEPARATOR=':'
# SHELL='/bin/sh'
# TAR='tar'
# ac_ct_AR=''
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build_alias='x86_64-unknown-linux'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME "iptraf-ng"
# #define PACKAGE_TARNAME "iptraf-ng"
# #define PACKAGE_VERSION "1.1.3.1.94.g421e"
# #define PACKAGE_STRING "iptraf-ng 1.1.3.1.94.g421e"
# #define PACKAGE_BUGREPORT "iptraf-ng@fedorahosted.org"
#
# configure: exit 0