Build of whowatch with musl toolchain

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

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

SLOCLanguage
3,920 ansic
1,032 sh
4,952 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: whowatch 1.8.5-2 (Wed Apr 5 00:28:53 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: If you wanted to set the --build type, don't use --host.
# If a cross compiler is detected then cross compile mode will be used.
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# 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... yes
# 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 for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking whether make sets $(MAKE)... (cached) yes
# checking for kvm_openfiles in -lkvm... no
# checking for scrollok in -lncurses... no
# checking for scrollok in -lcurses... no
# configure: error: Could not find proper curses library
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/whowatch/src/whowatch-1.8.5/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 whowatch configure 1.8.5, which was
# generated by GNU Autoconf 2.65. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 91659f2c672e
# 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/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2258: checking for a BSD-compatible install
# configure:2326: result: /usr/bin/install -c
# configure:2337: checking whether build environment is sane
# configure:2387: result: yes
# configure:2436: checking for x86_64-unknown-linux-strip
# configure:2466: result: no
# configure:2476: checking for strip
# configure:2492: found /sysroot/bin/strip
# configure:2503: result: strip
# configure:2528: checking for a thread-safe mkdir -p
# configure:2567: result: /usr/sbin/mkdir -p
# configure:2580: checking for gawk
# configure:2596: found /usr/sbin/gawk
# configure:2607: result: gawk
# configure:2618: checking whether make sets $(MAKE)
# configure:2640: result: yes
# configure:2733: checking for x86_64-unknown-linux-gcc
# configure:2760: result: clang
# configure:3029: checking for C compiler version
# configure:3038: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3049: $? = 0
# configure:3038: 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:3049: $? = 0
# configure:3038: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3049: $? = 1
# configure:3038: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3049: $? = 1
# configure:3069: checking whether the C compiler works
# configure:3091: clang conftest.c >&5
# configure:3095: $? = 0
# configure:3144: result: yes
# configure:3147: checking for C compiler default output file name
# configure:3149: result: a.out
# configure:3155: checking for suffix of executables
# configure:3162: clang -o conftest conftest.c >&5
# configure:3166: $? = 0
# configure:3188: result:
# configure:3210: checking whether we are cross compiling
# configure:3218: clang -o conftest conftest.c >&5
# configure:3222: $? = 0
# configure:3229: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3233: $? = 127
# configure:3248: result: yes
# configure:3253: checking for suffix of object files
# configure:3275: clang -c conftest.c >&5
# configure:3279: $? = 0
# configure:3300: result: o
# configure:3304: checking whether we are using the GNU C compiler
# configure:3323: clang -c conftest.c >&5
# configure:3323: $? = 0
# configure:3332: result: yes
# configure:3341: checking whether clang accepts -g
# configure:3361: clang -c -g conftest.c >&5
# configure:3361: $? = 0
# configure:3402: result: yes
# configure:3419: checking for clang option to accept ISO C89
# configure:3483: clang -c conftest.c >&5
# configure:3483: $? = 0
# configure:3496: result: none needed
# configure:3527: checking for style of include used by make
# configure:3555: result: GNU
# configure:3580: checking dependency style of clang
# configure:3690: result: gcc3
# configure:3706: checking whether make sets $(MAKE)
# configure:3728: result: yes
# configure:3741: checking for kvm_openfiles in -lkvm
# configure:3766: clang -o conftest -rdynamic conftest.c -lkvm >&5
# /sysroot/bin/ld: error: cannot find -lkvm
# /tmp/conftest-9a31fb.o:conftest.c:function main: error: undefined reference to 'kvm_openfiles'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3766: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "whowatch"
# | #define PACKAGE_TARNAME "whowatch"
# | #define PACKAGE_VERSION "1.8.5"
# | #define PACKAGE_STRING "whowatch 1.8.5"
# | #define PACKAGE_BUGREPORT "http://github.com/mtsuszycki/whowatch/issues"
# | #define PACKAGE_URL ""
# | #define PACKAGE "whowatch"
# | #define VERSION "1.8.5"
# | /* 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 kvm_openfiles ();
# | int
# | main ()
# | {
# | return kvm_openfiles ();
# | ;
# | return 0;
# | }
# configure:3775: result: no
# configure:3787: checking for scrollok in -lncurses
# configure:3812: clang -o conftest -rdynamic conftest.c -lncurses >&5
# /sysroot/bin/ld: error: cannot find -lncurses
# /tmp/conftest-a67ba5.o:conftest.c:function main: error: undefined reference to 'scrollok'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3812: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "whowatch"
# | #define PACKAGE_TARNAME "whowatch"
# | #define PACKAGE_VERSION "1.8.5"
# | #define PACKAGE_STRING "whowatch 1.8.5"
# | #define PACKAGE_BUGREPORT "http://github.com/mtsuszycki/whowatch/issues"
# | #define PACKAGE_URL ""
# | #define PACKAGE "whowatch"
# | #define VERSION "1.8.5"
# | /* 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 scrollok ();
# | int
# | main ()
# | {
# | return scrollok ();
# | ;
# | return 0;
# | }
# configure:3821: result: no
# configure:3828: checking for scrollok in -lcurses
# configure:3853: clang -o conftest -rdynamic conftest.c -lcurses >&5
# /sysroot/bin/ld: error: cannot find -lcurses
# /tmp/conftest-469d2a.o:conftest.c:function main: error: undefined reference to 'scrollok'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3853: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "whowatch"
# | #define PACKAGE_TARNAME "whowatch"
# | #define PACKAGE_VERSION "1.8.5"
# | #define PACKAGE_STRING "whowatch 1.8.5"
# | #define PACKAGE_BUGREPORT "http://github.com/mtsuszycki/whowatch/issues"
# | #define PACKAGE_URL ""
# | #define PACKAGE "whowatch"
# | #define VERSION "1.8.5"
# | /* 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 scrollok ();
# | int
# | main ()
# | {
# | return scrollok ();
# | ;
# | return 0;
# | }
# configure:3862: result: no
# configure:3870: error: Could not find proper curses library
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# 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_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_lib_curses_scrollok=no
# ac_cv_lib_kvm_kvm_openfiles=no
# ac_cv_lib_ncurses_scrollok=no
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/missing --run aclocal-1.11'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/missing --run tar'
# AUTOCONF='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/missing --run automake-1.11'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# GREP=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=' -rdynamic'
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/missing --run makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='whowatch'
# PACKAGE_BUGREPORT='http://github.com/mtsuszycki/whowatch/issues'
# PACKAGE_NAME='whowatch'
# PACKAGE_STRING='whowatch 1.8.5'
# PACKAGE_TARNAME='whowatch'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.8.5'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='1.8.5'
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__quote=''
# am__tar='${AMTAR} chof - "$$tardir"'
# am__untar='${AMTAR} xf -'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/whowatch/src/whowatch-1.8.5/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/sbin/mkdir -p'
# oldincludedir='/usr/include'
# os=''
# 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 "whowatch"
# #define PACKAGE_TARNAME "whowatch"
# #define PACKAGE_VERSION "1.8.5"
# #define PACKAGE_STRING "whowatch 1.8.5"
# #define PACKAGE_BUGREPORT "http://github.com/mtsuszycki/whowatch/issues"
# #define PACKAGE_URL ""
# #define PACKAGE "whowatch"
# #define VERSION "1.8.5"
#
# configure: exit 1