Build of unrealircd with musl toolchain

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

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

SLOCLanguage
70,322 ansic
3,992 sh
169 makefile
4 perl
74,487 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...

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: unrealircd 4.0.4-1 (Wed Apr 5 02:16:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) c-ares-1.11.0-1
#
# Total Installed Size: 0.16 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing c-ares...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for x86_64-unknown-linux-gcc... clang
# 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... no
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking if gcc has a working -pipe... yes
# checking for rm... /usr/bin/rm
# checking for cp... /usr/bin/cp
# checking for touch... /usr/bin/touch
# checking for openssl... /usr/bin/openssl
# checking for install... /usr/bin/install
# checking for gmake... make
# checking for gmake... no
# checking for gunzip... /usr/bin/gunzip
# checking for pkg-config... /usr/bin/pkg-config
# checking for crypt in -ldescrypt... no
# checking for crypt in -lcrypt... yes
# checking for socket in -lsocket... no
# checking for inet_ntoa in -lnsl... no
# checking for RAND_egd in -lcrypto... no
# checking if your system has IPv6 support... no
# configure: error: Your system does not support IPv6
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/unrealircd/src/unrealircd-4.0.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 unrealircd configure 4.0.4, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --with-pidfile=/run/unrealircd/ircd.pid --with-showlistmodes --enable-ssl=/usr --with-bindir=/usr/bin --with-datadir=/var/lib/unrealircd --with-confdir=/etc/unrealircd --with-modulesdir=/usr/lib/unrealircd --with-logdir=/var/log/unrealircd --with-cachedir=/var/cache/unrealircd --with-docdir=/usr/share/doc/unrealircd --with-tmpdir=/tmp --with-scriptdir=/usr --with-nick-history=2000 --with-sendq=3000000 --with-permissions=0644 --with-fd-setsize=1024 --enable-dynamic-linking
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 128dfcb2ba0b
# 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: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2562: checking for x86_64-unknown-linux-gcc
# configure:2589: result: clang
# configure:2858: checking for C compiler version
# configure:2867: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2878: $? = 0
# configure:2867: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:2878: $? = 0
# configure:2867: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2878: $? = 1
# configure:2867: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2878: $? = 1
# configure:2898: checking whether the C compiler works
# configure:2920: clang conftest.c >&5
# configure:2924: $? = 0
# configure:2972: result: yes
# configure:2975: checking for C compiler default output file name
# configure:2977: result: a.out
# configure:2983: checking for suffix of executables
# configure:2990: clang -o conftest conftest.c >&5
# configure:2994: $? = 0
# configure:3016: result:
# configure:3038: checking whether we are cross compiling
# configure:3046: clang -o conftest conftest.c >&5
# configure:3050: $? = 0
# configure:3057: ./conftest
# configure:3061: $? = 0
# configure:3076: result: no
# configure:3081: checking for suffix of object files
# configure:3103: clang -c conftest.c >&5
# configure:3107: $? = 0
# configure:3128: result: o
# configure:3132: checking whether we are using the GNU C compiler
# configure:3151: clang -c conftest.c >&5
# configure:3151: $? = 0
# configure:3160: result: yes
# configure:3169: checking whether clang accepts -g
# configure:3189: clang -c -g conftest.c >&5
# configure:3189: $? = 0
# configure:3230: result: yes
# configure:3247: checking for clang option to accept ISO C89
# configure:3310: clang -c conftest.c >&5
# configure:3310: $? = 0
# configure:3323: result: none needed
# configure:3346: checking if gcc has a working -pipe
# configure:3365: clang -c -funsigned-char -pipe conftest.c >&5
# configure:3365: $? = 0
# configure:3374: result: yes
# configure:3392: checking for rm
# configure:3410: found /usr/bin/rm
# configure:3422: result: /usr/bin/rm
# configure:3432: checking for cp
# configure:3450: found /usr/bin/cp
# configure:3462: result: /usr/bin/cp
# configure:3472: checking for touch
# configure:3490: found /usr/bin/touch
# configure:3502: result: /usr/bin/touch
# configure:3512: checking for openssl
# configure:3530: found /usr/bin/openssl
# configure:3542: result: /usr/bin/openssl
# configure:3552: checking for install
# configure:3570: found /usr/bin/install
# configure:3582: result: /usr/bin/install
# configure:3592: checking for gmake
# configure:3620: result: make
# configure:3630: checking for gmake
# configure:3663: result: no
# configure:3670: checking for gunzip
# configure:3688: found /usr/bin/gunzip
# configure:3700: result: /usr/bin/gunzip
# configure:3710: checking for pkg-config
# configure:3728: found /usr/bin/pkg-config
# configure:3740: result: /usr/bin/pkg-config
# configure:3749: checking for crypt in -ldescrypt
# configure:3774: clang -o conftest -pipe -funsigned-char conftest.c -ldescrypt >&5
# /sysroot/bin/ld: error: cannot find -ldescrypt
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3774: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | /* 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 crypt ();
# | int
# | main ()
# | {
# | return crypt ();
# | ;
# | return 0;
# | }
# configure:3783: result: no
# configure:3792: checking for crypt in -lcrypt
# configure:3817: clang -o conftest -pipe -funsigned-char conftest.c -lcrypt >&5
# configure:3817: $? = 0
# configure:3826: result: yes
# configure:3838: checking for socket in -lsocket
# configure:3863: clang -o conftest -pipe -funsigned-char conftest.c -lsocket >&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:3863: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | /* 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 socket ();
# | int
# | main ()
# | {
# | return socket ();
# | ;
# | return 0;
# | }
# configure:3872: result: no
# configure:3879: checking for inet_ntoa in -lnsl
# configure:3904: clang -o conftest -pipe -funsigned-char conftest.c -lnsl >&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:3904: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | /* 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 inet_ntoa ();
# | int
# | main ()
# | {
# | return inet_ntoa ();
# | ;
# | return 0;
# | }
# configure:3913: result: no
# configure:3920: checking for RAND_egd in -lcrypto
# configure:3945: clang -o conftest -pipe -funsigned-char conftest.c -lcrypto >&5
# /sysroot/bin/ld: error: cannot find -lcrypto
# /tmp/conftest-23c5f3.o:conftest.c:function main: error: undefined reference to 'RAND_egd'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3945: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | /* 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 RAND_egd ();
# | int
# | main ()
# | {
# | return RAND_egd ();
# | ;
# | return 0;
# | }
# configure:3954: result: no
# configure:3968: checking if your system has IPv6 support
# configure:3993: clang -o conftest -pipe -funsigned-char conftest.c >&5
# conftest.c:19:1: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(0); /* We only check if the code compiles, that's enough. We can deal with missing runtime IPv6 */
# ^
# conftest.c:19:1: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:3993: $? = 0
# configure:3993: ./conftest
# ./configure: line 1649: 1436 Segmentation fault (core dumped) ./conftest$ac_exeext
# configure:3993: $? = 139
# configure: program exited with status 139
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "unrealircd"
# | #define PACKAGE_TARNAME "unrealircd"
# | #define PACKAGE_VERSION "4.0.4"
# | #define PACKAGE_STRING "unrealircd 4.0.4"
# | #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# | #define PACKAGE_URL "http://unrealircd.org/"
# | #define UNREAL_VERSION_GENERATION 4
# | #define UNREAL_VERSION_MAJOR 0
# | #define UNREAL_VERSION_MINOR 4
# | #define UNREAL_VERSION_SUFFIX ""
# | #define HAVE_CRYPT /**/
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | int main() {
# | int s = socket(AF_INET6, SOCK_STREAM, 0);
# | exit(0); /* We only check if the code compiles, that's enough. We can deal with missing runtime IPv6 */
# | }
# |
# configure:4004: result: no
# configure:4007: error: Your system does not support IPv6
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CARES_CFLAGS_set=
# ac_cv_env_CARES_CFLAGS_value=
# ac_cv_env_CARES_LIBS_set=
# ac_cv_env_CARES_LIBS_value=
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# 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_PCRE2_CFLAGS_set=
# ac_cv_env_PCRE2_CFLAGS_value=
# ac_cv_env_PCRE2_LIBS_set=
# ac_cv_env_PCRE2_LIBS_value=
# ac_cv_env_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_TRE_CFLAGS_set=
# ac_cv_env_TRE_CFLAGS_value=
# ac_cv_env_TRE_LIBS_set=
# ac_cv_env_TRE_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_ip6=no
# ac_cv_lib_crypt_crypt=yes
# ac_cv_lib_crypto_RAND_egd=no
# ac_cv_lib_descrypt_crypt=no
# ac_cv_lib_nsl_inet_ntoa=no
# ac_cv_lib_socket_socket=no
# ac_cv_objext=o
# ac_cv_path_CP=/usr/bin/cp
# ac_cv_path_GUNZIP=/usr/bin/gunzip
# ac_cv_path_INSTALL=/usr/bin/install
# ac_cv_path_OPENSSLPATH=/usr/bin/openssl
# ac_cv_path_PKGCONFIG=/usr/bin/pkg-config
# ac_cv_path_RM=/usr/bin/rm
# ac_cv_path_TOUCH=/usr/bin/touch
# ac_cv_pipe=yes
# ac_cv_prog_CC=clang
# ac_cv_prog_MAKER=make
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# BINDIR=''
# BUILDDIR=''
# CACHEDIR=''
# CARES_CFLAGS=''
# CARES_LIBS=''
# CC='clang'
# CFLAGS='-pipe -funsigned-char'
# CONFDIR=''
# CP='/usr/bin/cp'
# CPP=''
# CPPFLAGS=''
# CRYPTOLIB=''
# DEFS=''
# DOCDIR=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# FD_SETSIZE=''
# GMAKE=''
# GREP=''
# GUNZIP='/usr/bin/gunzip'
# INSTALL='/usr/bin/install'
# IRCDLIBS='-lcrypt '
# LDFLAGS=''
# LIBOBJS=''
# LIBS=' '
# LOGDIR=''
# LTLIBOBJS=''
# MAKER='make'
# MKPASSWDLIBS='-lcrypt'
# MODULEFLAGS=''
# MODULESDIR=''
# OBJEXT='o'
# OPENSSLPATH='/usr/bin/openssl'
# PACKAGE_BUGREPORT='http://bugs.unrealircd.org/'
# PACKAGE_NAME='unrealircd'
# PACKAGE_STRING='unrealircd 4.0.4'
# PACKAGE_TARNAME='unrealircd'
# PACKAGE_URL='http://unrealircd.org/'
# PACKAGE_VERSION='4.0.4'
# PATH_SEPARATOR=':'
# PCRE2_CFLAGS=''
# PCRE2_LIBS=''
# PERMDATADIR=''
# PIDFILE=''
# PKGCONFIG='/usr/bin/pkg-config'
# PKG_CONFIG=''
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# PTHREAD_CC=''
# PTHREAD_CFLAGS=''
# PTHREAD_LIBS=''
# RM='/usr/bin/rm'
# SCRIPTDIR=''
# SHELL='/bin/sh'
# STRTOUL=''
# TMPDIR=''
# TOUCH='/usr/bin/touch'
# TRE_CFLAGS=''
# TRE_LIBS=''
# UNRLINCDIR=''
# URL=''
# ac_ct_CC=''
# ax_pthread_config=''
# bindir='${exec_prefix}/bin'
# build=''
# build_alias=''
# build_cpu=''
# build_os=''
# build_vendor=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host='x86_64-unknown-linux'
# host_alias='x86_64-unknown-linux'
# host_cpu=''
# host_os=''
# host_vendor=''
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='NONE'
# 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 "unrealircd"
# #define PACKAGE_TARNAME "unrealircd"
# #define PACKAGE_VERSION "4.0.4"
# #define PACKAGE_STRING "unrealircd 4.0.4"
# #define PACKAGE_BUGREPORT "http://bugs.unrealircd.org/"
# #define PACKAGE_URL "http://unrealircd.org/"
# #define UNREAL_VERSION_GENERATION 4
# #define UNREAL_VERSION_MAJOR 0
# #define UNREAL_VERSION_MINOR 4
# #define UNREAL_VERSION_SUFFIX ""
# #define HAVE_CRYPT /**/
#
# configure: exit 1