Build of screen with android toolchain

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

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

SLOCLanguage
40,140 ansic
1,658 sh
63 perl
41,861 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: screen 4.4.0-1 (Tue Apr 4 22:24:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# this is screen version 4.4.0
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# 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 how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking whether arm-linux-androideabi-gcc needs -traditional... no
# checking for library containing strerror... none required
# 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 minix/config.h usability... no
# checking minix/config.h presence... no
# checking for minix/config.h... no
# checking whether it is safe to define __EXTENSIONS__... yes
# configure: error: in `/tmp/screen/src/screen-4.4.0':
# configure: error: cannot run test program while cross compiling
# See `config.log' for more details
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/screen/src/screen-4.4.0/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 --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-colors256 --enable-pam --enable-rxvt_osc --enable-telnet --with-pty-group=5 --with-socket-dir=/run/screens --with-sys-screenrc=/etc/screenrc
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 3a17a1181fd4
# 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:2322: checking for arm-linux-androideabi-gcc
# configure:2349: result: arm-linux-androideabi-gcc
# configure:2618: checking for C compiler version
# configure:2627: 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:2638: $? = 0
# configure:2627: 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:2638: $? = 0
# configure:2627: 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:2638: $? = 1
# configure:2627: arm-linux-androideabi-gcc -qversion >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2638: $? = 1
# configure:2658: checking whether the C compiler works
# configure:2680: arm-linux-androideabi-gcc conftest.c >&5
# configure:2684: $? = 0
# configure:2732: result: yes
# configure:2735: checking for C compiler default output file name
# configure:2737: result: a.out
# configure:2743: checking for suffix of executables
# configure:2750: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2754: $? = 0
# configure:2776: result:
# configure:2798: checking whether we are cross compiling
# configure:2836: result: yes
# configure:2841: checking for suffix of object files
# configure:2863: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2867: $? = 0
# configure:2888: result: o
# configure:2892: checking whether we are using the GNU C compiler
# configure:2911: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:2911: $? = 0
# configure:2920: result: yes
# configure:2929: checking whether arm-linux-androideabi-gcc accepts -g
# configure:2949: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:2949: $? = 0
# configure:2990: result: yes
# configure:3007: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3070: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3070: $? = 0
# configure:3083: result: none needed
# configure:3108: checking how to run the C preprocessor
# configure:3139: arm-linux-androideabi-gcc -E conftest.c
# configure:3139: $? = 0
# configure:3153: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3153: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3178: result: arm-linux-androideabi-gcc -E
# configure:3198: arm-linux-androideabi-gcc -E conftest.c
# configure:3198: $? = 0
# configure:3212: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3212: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3242: checking for grep that handles long lines and -e
# configure:3300: result: /usr/sbin/grep
# configure:3305: checking for egrep
# configure:3367: result: /usr/sbin/grep -E
# configure:3373: checking whether arm-linux-androideabi-gcc needs -traditional
# configure:3407: result: no
# configure:3414: checking for library containing strerror
# configure:3445: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:3445: $? = 0
# configure:3462: result: none required
# configure:3470: checking for ANSI C header files
# configure:3490: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3490: $? = 0
# configure:3574: result: yes
# configure:3587: checking for sys/types.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for sys/stat.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for stdlib.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for string.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for memory.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for strings.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for inttypes.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for stdint.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3587: checking for unistd.h
# configure:3587: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3587: $? = 0
# configure:3587: result: yes
# configure:3600: checking minix/config.h usability
# configure:3600: arm-linux-androideabi-gcc -c conftest.c >&5
# conftest.c:52:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3600: $? = 1
# 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 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
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:3600: result: no
# configure:3600: checking minix/config.h presence
# configure:3600: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:19:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3600: $? = 1
# 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 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
# | /* end confdefs.h. */
# | #include
# configure:3600: result: no
# configure:3600: checking for minix/config.h
# configure:3600: result: no
# configure:3621: checking whether it is safe to define __EXTENSIONS__
# configure:3639: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3639: $? = 0
# configure:3646: result: yes
# configure:3662: error: in `/tmp/screen/src/screen-4.4.0':
# configure:3664: error: cannot run test program while cross compiling
# See `config.log' for more details
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_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_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_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_minix_config_h=no
# 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_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_gcc_traditional=no
# ac_cv_safe_to_define___extensions__=yes
# ac_cv_search_strerror='none required'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AWK=''
# CC='arm-linux-androideabi-gcc'
# CFLAGS=''
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# ETCSCREENRC=''
# EXEEXT=''
# GREP='/usr/sbin/grep'
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# SHELL='/bin/sh'
# VERSION='4.4.0'
# WRITEPATH=''
# XTERMPATH=''
# ac_ct_CC=''
# ac_prefix_program=''
# bindir='${exec_prefix}/bin'
# build_alias='x86_64-unknown-linux'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='/usr/share/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='/usr/share/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #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 __EXTENSIONS__ 1
# #define _ALL_SOURCE 1
# #define _GNU_SOURCE 1
# #define _POSIX_PTHREAD_SEMANTICS 1
# #define _TANDEM_SOURCE 1
#
# configure: exit 1