Build of nbtscan with android toolchain

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

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

SLOCLanguage
2,496 sh
1,162 ansic
3,658 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: nbtscan 1.5.1-6 (Tue Apr 4 20:35:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking for C compiler default output... 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 a BSD-compatible install... /usr/bin/install -c
# checking for socket in -lxnet... no
# checking for socket in -lsocket... no
# checking for inet_aton in -lresolv... no
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking for stdint.h... (cached) yes
# checking for uint8_t... yes
# checking for uint16_t... yes
# checking for uint32_t... yes
# checking for arm-linux-androideabi-gcc option to accept ANSI C... none needed
# checking for an ANSI C-conforming const... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking for snprintf... yes
# checking for inet_aton... yes
# checking for socket... yes
# 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/nbtscan/src/nbtscan-1.5.1a/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.53. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 0b4a5dd57557
# 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:1193: checking for arm-linux-androideabi-gcc
# configure:1219: result: arm-linux-androideabi-gcc
# configure:1501: checking for C compiler version
# configure:1504: 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:1507: $? = 0
# configure:1509: 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:1512: $? = 0
# configure:1514: 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:1517: $? = 1
# configure:1543: checking for C compiler default output
# configure:1546: arm-linux-androideabi-gcc conftest.c >&5
# configure:1549: $? = 0
# configure:1582: result: a.out
# configure:1587: checking whether the C compiler works
# configure:1611: result: yes
# configure:1618: checking whether we are cross compiling
# configure:1620: result: yes
# configure:1623: checking for suffix of executables
# configure:1625: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:1628: $? = 0
# configure:1650: result:
# configure:1656: checking for suffix of object files
# configure:1680: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:1683: $? = 0
# configure:1702: result: o
# configure:1706: checking whether we are using the GNU C compiler
# configure:1733: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:1736: $? = 0
# configure:1739: test -s conftest.o
# configure:1742: $? = 0
# configure:1754: result: yes
# configure:1760: checking whether arm-linux-androideabi-gcc accepts -g
# configure:1784: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:1787: $? = 0
# configure:1790: test -s conftest.o
# configure:1793: $? = 0
# configure:1803: result: yes
# configure:1830: 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:1833: $? = 1
# configure: failed program was:
# #ifndef __cplusplus
# choke me
# #endif
# configure:1980: checking for a BSD-compatible install
# configure:2034: result: /usr/bin/install -c
# configure:2048: checking for socket in -lxnet
# configure:2081: arm-linux-androideabi-gcc -o conftest conftest.c -lxnet >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lxnet
# collect2: error: ld returned 1 exit status
# configure:2084: $? = 1
# configure: failed program was:
# #line 2055 "configure"
# #include "confdefs.h"
#
# /* Override any gcc2 internal prototype to avoid an error. */
# #ifdef __cplusplus
# extern "C"
# #endif
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char socket ();
# #ifdef F77_DUMMY_MAIN
# # ifdef __cplusplus
# extern "C"
# # endif
# int F77_DUMMY_MAIN() { return 1; }
# #endif
# int
# main ()
# {
# socket ();
# ;
# return 0;
# }
# configure:2101: result: no
# configure:2113: checking for socket in -lsocket
# configure:2146: arm-linux-androideabi-gcc -o conftest conftest.c -lsocket >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsocket
# collect2: error: ld returned 1 exit status
# configure:2149: $? = 1
# configure: failed program was:
# #line 2120 "configure"
# #include "confdefs.h"
#
# /* Override any gcc2 internal prototype to avoid an error. */
# #ifdef __cplusplus
# extern "C"
# #endif
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char socket ();
# #ifdef F77_DUMMY_MAIN
# # ifdef __cplusplus
# extern "C"
# # endif
# int F77_DUMMY_MAIN() { return 1; }
# #endif
# int
# main ()
# {
# socket ();
# ;
# return 0;
# }
# configure:2166: result: no
# configure:2178: checking for inet_aton in -lresolv
# configure:2211: arm-linux-androideabi-gcc -o conftest conftest.c -lresolv >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lresolv
# collect2: error: ld returned 1 exit status
# configure:2214: $? = 1
# configure: failed program was:
# #line 2185 "configure"
# #include "confdefs.h"
#
# /* Override any gcc2 internal prototype to avoid an error. */
# #ifdef __cplusplus
# extern "C"
# #endif
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char inet_aton ();
# #ifdef F77_DUMMY_MAIN
# # ifdef __cplusplus
# extern "C"
# # endif
# int F77_DUMMY_MAIN() { return 1; }
# #endif
# int
# main ()
# {
# inet_aton ();
# ;
# return 0;
# }
# configure:2231: result: no
# configure:2248: checking how to run the C preprocessor
# configure:2274: arm-linux-androideabi-gcc -E conftest.c
# configure:2280: $? = 0
# configure:2307: arm-linux-androideabi-gcc -E conftest.c
# configure:2303:28: fatal error: ac_nonexistent.h: No such file or directory
# #line $LINENO "configure"
# ^
# compilation terminated.
# configure:2313: $? = 1
# configure: failed program was:
# #line 2302 "configure"
# #include "confdefs.h"
# #include
# configure:2350: result: arm-linux-androideabi-gcc -E
# configure:2365: arm-linux-androideabi-gcc -E conftest.c
# configure:2371: $? = 0
# configure:2398: arm-linux-androideabi-gcc -E conftest.c
# configure:2394:28: fatal error: ac_nonexistent.h: No such file or directory
# #line $LINENO "configure"
# ^
# compilation terminated.
# configure:2404: $? = 1
# configure: failed program was:
# #line 2393 "configure"
# #include "confdefs.h"
# #include
# configure:2444: checking for ANSI C header files
# configure:2458: arm-linux-androideabi-gcc -E conftest.c
# configure:2464: $? = 0
# configure:2573: result: yes
# configure:2597: checking for sys/types.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for sys/stat.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for stdlib.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for string.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for memory.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for strings.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for inttypes.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for stdint.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for unistd.h
# configure:2610: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2655: checking sys/time.h usability
# configure:2664: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2667: $? = 0
# configure:2670: test -s conftest.o
# configure:2673: $? = 0
# configure:2682: result: yes
# configure:2686: checking sys/time.h presence
# configure:2693: arm-linux-androideabi-gcc -E conftest.c
# configure:2699: $? = 0
# configure:2717: result: yes
# configure:2735: checking for sys/time.h
# configure:2742: result: yes
# configure:2760: checking for stdint.h
# configure:2765: result: yes
# configure:2870: checking for uint8_t
# configure:2897: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2900: $? = 0
# configure:2903: test -s conftest.o
# configure:2906: $? = 0
# configure:2916: result: yes
# configure:2981: checking for uint16_t
# configure:3008: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3011: $? = 0
# configure:3014: test -s conftest.o
# configure:3017: $? = 0
# configure:3027: result: yes
# configure:3092: checking for uint32_t
# configure:3119: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3122: $? = 0
# configure:3125: test -s conftest.o
# configure:3128: $? = 0
# configure:3138: result: yes
# configure:3205: checking for arm-linux-androideabi-gcc option to accept ANSI C
# configure:3268: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3271: $? = 0
# configure:3274: test -s conftest.o
# configure:3277: $? = 0
# configure:3294: result: none needed
# configure:3302: checking for an ANSI C-conforming const
# configure:3372: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3375: $? = 0
# configure:3378: test -s conftest.o
# configure:3381: $? = 0
# configure:3391: result: yes
# configure:3401: checking whether time.h and sys/time.h may both be included
# configure:3429: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3432: $? = 0
# configure:3435: test -s conftest.o
# configure:3438: $? = 0
# configure:3448: result: yes
# configure:3465: checking for snprintf
# configure:3508: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3480:6: warning: conflicting types for built-in function 'snprintf' [enabled by default]
# /* We use char because int might match the return type of a gcc2
# ^
# configure:3511: $? = 0
# configure:3514: test -s conftest
# configure:3517: $? = 0
# configure:3527: result: yes
# configure:3465: checking for inet_aton
# configure:3508: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3511: $? = 0
# configure:3514: test -s conftest
# configure:3517: $? = 0
# configure:3527: result: yes
# configure:3465: checking for socket
# configure:3508: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3511: $? = 0
# configure:3514: test -s conftest
# configure:3517: $? = 0
# configure:3527: result: yes
# configure:3544: checking build system type
# configure:3562: result: x86_64-unknown-linux-gnu
# configure:3570: checking host system type
# configure:3579: 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_c_compiler_gnu=yes
# ac_cv_c_const=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_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_exeext=
# ac_cv_func_inet_aton=yes
# ac_cv_func_snprintf=yes
# ac_cv_func_socket=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_time=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=
# ac_cv_host_alias=arm-linux-androideabi
# ac_cv_lib_resolv_inet_aton=no
# ac_cv_lib_socket_socket=no
# ac_cv_lib_xnet_socket=no
# 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_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_type_uint16_t=yes
# ac_cv_type_uint32_t=yes
# ac_cv_type_uint8_t=yes
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_STDINT_H 1
# #define my_uint8_t uint8_t
# #define my_uint16_t uint16_t
# #define my_uint32_t uint32_t
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SNPRINTF 1
# #define HAVE_INET_ATON 1
# #define HAVE_SOCKET 1
#
# configure: exit 1