Build of xbase with musl toolchain

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

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

SLOCLanguage
15,316 cpp
5,714 sh
21,030 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: xbase 2.0.0-4 (Wed Apr 5 01:41:15 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... i686-pc-linux-gnu
# 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... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking how to run the C preprocessor... clang -E
# checking for a C++-Compiler... clang++
# checking whether the C++ compiler (clang++ -s) works... yes
# checking whether the C++ compiler (clang++ -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/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD-compatible nm... /sysroot/bin/nm -B
# checking whether ln -s works... yes
# checking for object suffix... o
# checking for clang++ option to produce PIC... -fPIC
# checking if clang++ PIC flag -fPIC works... no
# checking if clang++ supports -c -o file.o... no
# checking if we can lock with hard links... yes
# checking if clang++ supports -fno-rtti -fno-exceptions ... no
# checking if clang++ static flag -static works... none
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking whether the linker (/sysroot/bin/ld) supports shared libraries... yes
# checking command to parse /sysroot/bin/nm -B output... no
# checking how to hardcode library paths into programs... immediate
# checking for /sysroot/bin/ld option to reload object files... -r
# checking dynamic linker characteristics... Linux ld.so
# checking if libtool supports shared libraries... no
# checking whether to build shared libraries... no
# checking whether to build static libraries... yes
# 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... clang++ -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... yes
# 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 clang++ -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 clang++ -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 clang++ -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 clang++ -DHAVE_CONFIG_H -I. -I. -I. -I/tmp/xbase/src/xbase-2.0.0 -O2 -Wall -c expproc.cpp
# In file included from expfunc.cpp:56:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:54:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# exp.cpp:51:11: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma implementation "exp.h"
# ^
# In file included from exp.cpp:60:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:54:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# In file included from expproc.cpp:52:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:54:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# dbf.cpp:60:11: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma implementation "dbf.h"
# ^
# In file included from dbf.cpp:69:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:54:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# In file included from expproc.cpp:52:
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108:
# /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:59:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# In file included from expproc.cpp:52:
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108:
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:68:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:49:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# In file included from In file included from exp.cppexpfunc.cpp::6056:
# :
# In file included from In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h/tmp/xbase/src/xbase-2.0.0/xbase/xbase.h::108108:
# :
# /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h/tmp/xbase/src/xbase-2.0.0/xbase/xdate.h::5959::99:: warningwarning: : unknown pragma ignored [-Wunknown-pragmas]unknown pragma ignored [-Wunknown-pragmas]
#
# #pragma interface#pragma interface
#
# ^ ^
#
# In file included from In file included from expfunc.cppexp.cpp::5660:
# :
# In file included from In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h/tmp/xbase/src/xbase-2.0.0/xbase/xbase.h::108108:
# :
# In file included from In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h/tmp/xbase/src/xbase-2.0.0/xbase/xdate.h::6868:
# :
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h/tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h::4949::99:: warningwarning: : unknown pragma ignored [-Wunknown-pragmas]unknown pragma ignored [-Wunknown-pragmas]
#
# #pragma interface#pragma interface
#
# ^ ^
#
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:59:10: fatal error: 'iostream.h' file not found
# #include
# ^
# In file included from dbf.cpp:69:
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108:
# /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:59:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# In file included from dbf.cpp:69:
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xbase.h:108:
# In file included from /tmp/xbase/src/xbase-2.0.0/xbase/xdate.h:68:
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:49:9: warning: unknown pragma ignored [-Wunknown-pragmas]
# #pragma interface
# ^
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h/tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h::5959::1010:: fatal errorfatal error: : 'iostream.h' file not found'iostream.h' file not found
#
# #include #include
#
# ^ ^
#
# /tmp/xbase/src/xbase-2.0.0/xbase/xbstring.h:59:10: fatal error: 'iostream.h' file not found
# #include
# ^
# 4 warnings and 1 error generated.
# make[1]: *** [Makefile:296: exp.lo] Error 1
# make[1]: *** Waiting for unfinished jobs....
# 4 warnings and 1 error generated.
# make[1]: *** [Makefile:296: dbf.lo] Error 1
# 3 warnings and 1 error generated.
# make[1]: *** [Makefile:296: expproc.lo] Error 1
# 3 warnings and 1 error generated.
# make[1]: *** [Makefile:296: expfunc.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 (clang ) works
# configure:1040: clang -o conftest conftest.c 1>&5
# configure:1037:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:1066: checking whether the C compiler (clang ) is a cross-compiler
# configure:1071: checking whether we are using GNU C
# configure:1080: clang -E conftest.c
# configure:1137: checking how to run the C preprocessor
# configure:1158: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1199: checking for a C++-Compiler
# configure:1321: checking whether the C++ compiler (clang++ -s) works
# configure:1337: clang++ -o conftest -s conftest.C 1>&5
# configure:1363: checking whether the C++ compiler (clang++ -s) is a cross-compiler
# configure:1368: checking whether we are using GNU C++
# configure:1377: clang++ -E conftest.C
# configure:1452: checking for ranlib
# configure:1492: checking for ld used by GCC
# configure:1549: checking if the linker (/sysroot/bin/ld) is GNU ld
# GNU gold (GNU Binutils 2.26.20160125) 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: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1766:10: fatal error: 'minix/config.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 1765 "configure"
# #include "confdefs.h"
# #include
# configure:1826: checking for dirent.h that defines DIR
# configure:1839: clang++ -c -O2 -Wall conftest.C 1>&5
# configure:1835:6: warning: unused variable 'dirp' [-Wunused-variable]
# DIR *dirp = 0;
# ^
# 1 warning generated.
# configure:1864: checking for opendir in -ldir
# configure:1886: clang++ -o conftest -O2 -Wall -s conftest.C -ldir 1>&5
# /sysroot/bin/ld: error: cannot find -ldir
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:1995: checking for ANSI C header files
# configure:2008: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for string.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for strings.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for io.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:10: fatal error: 'io.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2105: checking for exception
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for g++/exception.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:10: fatal error: 'g++/exception.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2105: checking for sys/types.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for sys/locking.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:10: fatal error: 'sys/locking.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 2110 "configure"
# #include "confdefs.h"
# #include
# configure:2105: checking for fcntl.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for stdarg.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for ctype.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2105: checking for tvision/tv.h
# configure:2115: clang++ -E conftest.C >/dev/null 2>conftest.out
# configure:2111:10: fatal error: 'tvision/tv.h' file not found
# #include
# ^
# 1 error generated.
# 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: clang++ -c -O2 -Wall conftest.C 1>&5
# configure:2153:12: warning: unused variable 'tp' [-Wunused-variable]
# struct tm *tp;
# ^
# 1 warning generated.
# configure:2180: checking for bool
# configure:2200: clang++ -c -O2 -Wall conftest.C 1>&5
# configure:2196:6: warning: unused variable 'aBool' [-Wunused-variable]
# bool aBool = true;
# ^
# 1 warning generated.
# configure:2222: checking if you need GNU extensions
# clang-3.8: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
# configure:2258: checking for flock
# configure:2289: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2315: checking for fcntl
# configure:2346: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2373: checking for snprintf
# configure:2404: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2430: checking for socket
# configure:2461: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2430: checking for vsnprintf
# configure:2461: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2430: checking for vsprintf
# configure:2461: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2486: checking for setenv
# configure:2518: clang -o conftest -O2 -Wall -s conftest.c 1>&5
# configure:2551: checking for getdomainname
# configure:2582: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2609: checking for strcasecmp
# configure:2640: clang++ -o conftest -O2 -Wall -s conftest.C 1>&5
# configure:2666: checking for socket in -lsocket
# configure:2688: clang++ -o conftest -O2 -Wall -s conftest.C -lsocket 1>&5
# /sysroot/bin/ld: error: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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: clang++ -o conftest -O2 -Wall -s conftest.C -lnsl 1>&5
# /sysroot/bin/ld: error: cannot find -lnsl
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# 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; }