Build of xbase with android toolchain

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

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

SLOCLanguage
15,315 cpp
5,714 sh
21,029 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: xbase 2.0.0-4 (Tue Apr 4 21:51:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking host system type... i686-pc-linux-gnu
# checking target system type... i686-pc-linux-gnu
# checking build system type... Invalid configuration `x86_64-unknown-linux': machine `x86_64-unknown' not recognized
#
# 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 a C-Compiler... arm-linux-androideabi-gcc
# checking whether the C compiler (arm-linux-androideabi-gcc ) works... yes
# checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for a C++-Compiler... arm-linux-androideabi-g++
# checking whether the C++ compiler (arm-linux-androideabi-g++ -s) works... yes
# checking whether the C++ compiler (arm-linux-androideabi-g++ -s) is a cross-compiler... yes
# checking whether we are using GNU C++... yes
# checking for ranlib... ranlib
# checking for ld used by GCC... /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld
# checking if the linker (/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld) is GNU ld... yes
# checking for BSD-compatible nm... /usr/sbin/nm -B
# checking whether ln -s works... yes
# checking for object suffix... o
# checking for arm-linux-androideabi-g++ option to produce PIC... -fPIC
# checking if arm-linux-androideabi-g++ PIC flag -fPIC works... yes
# checking if arm-linux-androideabi-g++ supports -c -o file.o... yes
# checking if arm-linux-androideabi-g++ supports -c -o file.lo... yes
# checking if arm-linux-androideabi-g++ supports -fno-rtti -fno-exceptions ... yes
# checking if arm-linux-androideabi-g++ static flag -static works... -static
# checking if the linker (/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld) is GNU ld... yes
# checking whether the linker (/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld) supports shared libraries... yes
# checking command to parse /usr/sbin/nm -B output... yes
# checking how to hardcode library paths into programs... immediate
# checking for /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld option to reload object files... -r
# checking dynamic linker characteristics... Linux ld.so
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... no
# checking for objdir... .libs
# creating libtool
# checking for doxygen... yes
# checking for AIX... no
# checking for minix/config.h... no
# checking for dirent.h that defines DIR... yes
# checking for opendir in -ldir... no
# checking how to run the C++ preprocessor... arm-linux-androideabi-g++ -E
# checking for ANSI C header files... yes
# checking for string.h... yes
# checking for strings.h... yes
# checking for io.h... no
# checking for exception... yes
# checking for g++/exception.h... no
# checking for sys/types.h... yes
# checking for sys/locking.h... no
# checking for fcntl.h... yes
# checking for stdarg.h... yes
# checking for ctype.h... yes
# checking for tvision/tv.h... no
# checking whether time.h and sys/time.h may both be included... yes
# checking for bool... yes
# checking if you need GNU extensions... no
# checking for flock... yes
# checking for fcntl... yes
# checking for snprintf... yes
# checking for socket... yes
# checking for vsnprintf... yes
# checking for vsprintf... yes
# checking for setenv... yes
# checking for getdomainname... no
# checking for strcasecmp... yes
# checking for socket in -lsocket... no
# checking for gethostbyname in -lnsl... no
# ./configure: line 2798: /home/tuscan: Is a directory
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating xbase/Makefile
# creating xbase/xbase.h
# creating examples/Makefile
# creating bin/Makefile
# creating html/Makefile
# creating tv/Makefile
# creating libtest/Makefile
# creating xbase-config
# creating xbase.spec
# creating docs/doxygen.cfg
# creating docs/Makefile
# creating xbase/xbconfig.h
# Making all in xbase
# make[1]: Entering directory '/tmp/xbase/src/xbase-2.0.0/xbase'
# /bin/sh ../libtool --silent --mode=compile arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/tmp/xbase/src/xbase-2.0.0 -O2 -Wall -c dbf.cpp
# /bin/sh ../libtool --silent --mode=compile arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/tmp/xbase/src/xbase-2.0.0 -O2 -Wall -c exp.cpp
# /bin/sh ../libtool --silent --mode=compile arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/tmp/xbase/src/xbase-2.0.0 -O2 -Wall -c expfunc.cpp
# /bin/sh ../libtool --silent --mode=compile arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/tmp/xbase/src/xbase-2.0.0 -O2 -Wall -c expproc.cpp
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:68:0,
# from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108,
# from exp.cpp:60:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:59:22: fatal error: iostream.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[1]: *** [Makefile:296: exp.lo] Error 1
# make[1]: *** Waiting for unfinished jobs....
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:68:0,
# from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108,
# from expfunc.cpp:56:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:59:22: fatal error: iostream.h: No such file or directory
# #include
# ^
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:68:0,
# from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108,
# from dbf.cpp:69:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:59:22: fatal error: iostream.h: No such file or directory
# #include
# ^
# compilation terminated.
# compilation terminated.
# make[1]: *** [Makefile:296: expfunc.lo] Error 1
# make[1]: *** [Makefile:296: dbf.lo] Error 1
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:68:0,
# from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108,
# from expproc.cpp:52:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:59:22: fatal error: iostream.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[1]: *** [Makefile:296: expproc.lo] Error 1
# make[1]: Leaving directory '/tmp/xbase/src/xbase-2.0.0/xbase'
# make: *** [Makefile:239: all-recursive] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/xbase/src/xbase-2.0.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:601: checking host system type
# configure:622: checking target system type
# configure:640: checking build system type
# configure:697: checking for a BSD compatible install
# configure:750: checking whether build environment is sane
# configure:788: checking whether make sets ${MAKE}
# configure:827: checking for working aclocal
# configure:840: checking for working autoconf
# configure:853: checking for working automake
# configure:866: checking for working autoheader
# configure:879: checking for working makeinfo
# configure:912: checking for a C-Compiler
# configure:1024: checking whether the C compiler (arm-linux-androideabi-gcc ) works
# configure:1040: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:1066: checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler
# configure:1071: checking whether we are using GNU C
# configure:1080: arm-linux-androideabi-gcc -E conftest.c
# configure:1137: checking how to run the C preprocessor
# configure:1158: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1199: checking for a C++-Compiler
# configure:1321: checking whether the C++ compiler (arm-linux-androideabi-g++ -s) works
# configure:1337: arm-linux-androideabi-g++ -o conftest -s conftest.C 1>&5
# configure:1363: checking whether the C++ compiler (arm-linux-androideabi-g++ -s) is a cross-compiler
# configure:1368: checking whether we are using GNU C++
# configure:1377: arm-linux-androideabi-g++ -E conftest.C
# configure:1452: checking for ranlib
# configure:1492: checking for ld used by GCC
# configure:1549: checking if the linker (/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld) is GNU ld
# GNU gold (GNU Binutils 2.24.90) 1.11
# configure:1565: checking for BSD-compatible nm
# configure:1602: checking whether ln -s works
# configure:1703: checking for doxygen
# configure:1735: checking for AIX
# configure:1760: checking for minix/config.h
# configure:1770: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1766:26: fatal error: minix/config.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure: failed program was:
# #line 1765 "configure"
# #include "confdefs.h"
# #include
# configure:1826: checking for dirent.h that defines DIR
# configure:1839: arm-linux-androideabi-g++ -c -O2 -Wall conftest.C 1>&5
# configure: In function 'int main()':
# configure:1835:6: warning: unused variable 'dirp' [-Wunused-variable]
# DIR *dirp = 0;
# ^
# configure:1864: checking for opendir in -ldir
# configure:1886: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C -ldir 1>&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldir
# collect2: error: ld returned 1 exit status
# configure: failed program was:
# #line 1872 "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 opendir();
#
# int main() {
# opendir()
# ; return 0; }
# configure:1952: checking how to run the C++ preprocessor
# configure:1970: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:1995: checking for ANSI C header files
# configure:2008: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for string.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for strings.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for io.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:16: fatal error: io.h: No such file or directory
# #include <$ac_hdr>
# ^
# compilation terminated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2105: checking for exception
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for g++/exception.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:27: fatal error: g++/exception.h: No such file or directory
# #include <$ac_hdr>
# ^
# compilation terminated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2105: checking for sys/types.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for sys/locking.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:25: fatal error: sys/locking.h: No such file or directory
# #include <$ac_hdr>
# ^
# compilation terminated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2105: checking for fcntl.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for stdarg.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for ctype.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for tvision/tv.h
# configure:2115: arm-linux-androideabi-g++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:24: fatal error: tvision/tv.h: No such file or directory
# #include <$ac_hdr>
# ^
# compilation terminated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2143: checking whether time.h and sys/time.h may both be included
# configure:2157: arm-linux-androideabi-g++ -c -O2 -Wall conftest.C 1>&5
# configure: In function 'int main()':
# configure:2153:12: warning: unused variable 'tp' [-Wunused-variable]
# struct tm *tp;
# ^
# configure:2180: checking for bool
# configure:2200: arm-linux-androideabi-g++ -c -O2 -Wall conftest.C 1>&5
# configure: In function 'int main()':
# configure:2196:6: warning: unused variable 'aBool' [-Wunused-variable]
# bool aBool = true;
# ^
# configure:2222: checking if you need GNU extensions
# configure:2258: checking for flock
# configure:2289: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2315: checking for fcntl
# configure:2346: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2373: checking for snprintf
# configure:2404: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2430: checking for socket
# configure:2461: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2430: checking for vsnprintf
# configure:2461: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2430: checking for vsprintf
# configure:2461: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2486: checking for setenv
# configure:2518: arm-linux-androideabi-gcc -o conftest -O2 -Wall -s conftest.c 1>&5
# configure:2551: checking for getdomainname
# configure:2582: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# /tmp/cciMfyhi.o:conftest.C:function main: error: undefined reference to 'getdomainname'
# collect2: error: ld returned 1 exit status
# configure: failed program was:
# #line 2556 "configure"
# #include "confdefs.h"
# /* System header to define __stub macros and hopefully few prototypes,
# which can conflict with char getdomainname(); below. */
# #include
# /* 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 getdomainname();
#
# int main() {
#
# /* The GNU C library defines this for functions which it implements
# to always fail with ENOSYS. Some functions are actually named
# something starting with __ and the normal name is an alias. */
# #if defined (__stub_getdomainname) || defined (__stub___getdomainname)
# choke me
# #else
# getdomainname();
# #endif
#
# ; return 0; }
# configure:2609: checking for strcasecmp
# configure:2640: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2666: checking for socket in -lsocket
# configure:2688: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C -lsocket 1>&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: failed program was:
# #line 2674 "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();
#
# int main() {
# socket()
# ; return 0; }
# configure:2708: checking for gethostbyname in -lnsl
# configure:2730: arm-linux-androideabi-g++ -o conftest -O2 -Wall -s conftest.C -lnsl 1>&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lnsl
# collect2: error: ld returned 1 exit status
# configure: failed program was:
# #line 2716 "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 gethostbyname();
#
# int main() {
# gethostbyname()
# ; return 0; }