Build of wavemon with musl toolchain

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

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

SLOCLanguage
5,463 ansic
3,062 sh
8,525 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: wavemon 0.8.0-1 (Wed Apr 5 00:43:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# 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 how to run the C preprocessor... clang -E
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for ANSI C header files... yes
# checking whether time.h and sys/time.h may both be included... 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 ncurses.h usability... no
# checking ncurses.h presence... no
# checking for ncurses.h... no
# configure: error: ncurses.h not found
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/wavemon/src/wavemon-0.8.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 wavemon configure 0.8.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --mandir=/usr/share/man
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 1447ed50648b
# 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:2236: checking build system type
# configure:2250: result: x86_64-unknown-linux-gnu
# configure:2270: checking host system type
# configure:2283: result: x86_64-unknown-linux-gnu
# configure:2317: checking for x86_64-unknown-linux-gcc
# configure:2344: result: clang
# configure:2613: checking for C compiler version
# configure:2622: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2633: $? = 0
# configure:2622: 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:2633: $? = 0
# configure:2622: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2633: $? = 1
# configure:2622: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2633: $? = 1
# configure:2653: checking whether the C compiler works
# configure:2675: clang -O2 -Wall conftest.c >&5
# configure:2679: $? = 0
# configure:2727: result: yes
# configure:2730: checking for C compiler default output file name
# configure:2732: result: a.out
# configure:2738: checking for suffix of executables
# configure:2745: clang -o conftest -O2 -Wall conftest.c >&5
# configure:2749: $? = 0
# configure:2771: result:
# configure:2793: checking whether we are cross compiling
# configure:2801: clang -o conftest -O2 -Wall conftest.c >&5
# configure:2805: $? = 0
# configure:2812: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2816: $? = 127
# configure:2831: result: yes
# configure:2836: checking for suffix of object files
# configure:2858: clang -c -O2 -Wall conftest.c >&5
# configure:2862: $? = 0
# configure:2883: result: o
# configure:2887: checking whether we are using the GNU C compiler
# configure:2906: clang -c -O2 -Wall conftest.c >&5
# configure:2906: $? = 0
# configure:2915: result: yes
# configure:2924: checking whether clang accepts -g
# configure:2944: clang -c -g conftest.c >&5
# configure:2944: $? = 0
# configure:2985: result: yes
# configure:3002: checking for clang option to accept ISO C89
# configure:3065: clang -c -O2 -Wall conftest.c >&5
# configure:3065: $? = 0
# configure:3078: result: none needed
# configure:3103: checking how to run the C preprocessor
# configure:3134: clang -E conftest.c
# configure:3134: $? = 0
# configure:3148: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3148: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "wavemon"
# | #define PACKAGE_TARNAME "wavemon-current"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "wavemon 0.8.0"
# | #define PACKAGE_BUGREPORT "gerrit@erg.abdn.ac.uk"
# | #define PACKAGE_URL "https://github.com/uoaerg/wavemon"
# | #define BUILD_DATE "Wed Apr 5 00:43:39 UTC 2017"
# | /* end confdefs.h. */
# | #include
# configure:3173: result: clang -E
# configure:3193: clang -E conftest.c
# configure:3193: $? = 0
# configure:3207: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3207: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "wavemon"
# | #define PACKAGE_TARNAME "wavemon-current"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "wavemon 0.8.0"
# | #define PACKAGE_BUGREPORT "gerrit@erg.abdn.ac.uk"
# | #define PACKAGE_URL "https://github.com/uoaerg/wavemon"
# | #define BUILD_DATE "Wed Apr 5 00:43:39 UTC 2017"
# | /* end confdefs.h. */
# | #include
# configure:3249: checking for a BSD-compatible install
# configure:3317: result: /usr/bin/install -c
# configure:3332: checking for grep that handles long lines and -e
# configure:3390: result: /usr/sbin/grep
# configure:3395: checking for egrep
# configure:3457: result: /usr/sbin/grep -E
# configure:3462: checking for ANSI C header files
# configure:3482: clang -c -O2 -Wall conftest.c >&5
# configure:3482: $? = 0
# configure:3566: result: yes
# configure:3574: checking whether time.h and sys/time.h may both be included
# configure:3594: clang -c -O2 -Wall conftest.c >&5
# configure:3594: $? = 0
# configure:3601: result: yes
# configure:3614: checking for sys/types.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for sys/stat.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for stdlib.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for string.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for memory.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for strings.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for inttypes.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for stdint.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3614: checking for unistd.h
# configure:3614: clang -c -O2 -Wall conftest.c >&5
# configure:3614: $? = 0
# configure:3614: result: yes
# configure:3630: checking ncurses.h usability
# configure:3630: clang -c -O2 -Wall conftest.c >&5
# conftest.c:54:10: fatal error: 'ncurses.h' file not found
# #include
# ^
# 1 error generated.
# configure:3630: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "wavemon"
# | #define PACKAGE_TARNAME "wavemon-current"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "wavemon 0.8.0"
# | #define PACKAGE_BUGREPORT "gerrit@erg.abdn.ac.uk"
# | #define PACKAGE_URL "https://github.com/uoaerg/wavemon"
# | #define BUILD_DATE "Wed Apr 5 00:43:39 UTC 2017"
# | #define STDC_HEADERS 1
# | #define TIME_WITH_SYS_TIME 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:3630: result: no
# configure:3630: checking ncurses.h presence
# configure:3630: clang -E conftest.c
# conftest.c:21:10: fatal error: 'ncurses.h' file not found
# #include
# ^
# 1 error generated.
# configure:3630: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "wavemon"
# | #define PACKAGE_TARNAME "wavemon-current"
# | #define PACKAGE_VERSION "0.8.0"
# | #define PACKAGE_STRING "wavemon 0.8.0"
# | #define PACKAGE_BUGREPORT "gerrit@erg.abdn.ac.uk"
# | #define PACKAGE_URL "https://github.com/uoaerg/wavemon"
# | #define BUILD_DATE "Wed Apr 5 00:43:39 UTC 2017"
# | #define STDC_HEADERS 1
# | #define TIME_WITH_SYS_TIME 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:3630: result: no
# configure:3630: checking for ncurses.h
# configure:3630: result: no
# configure:3637: error: ncurses.h not found
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# 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_LIBNL3_CFLAGS_set=
# ac_cv_env_LIBNL3_CFLAGS_value=
# ac_cv_env_LIBNL3_GENL_CFLAGS_set=
# ac_cv_env_LIBNL3_GENL_CFLAGS_value=
# ac_cv_env_LIBNL3_GENL_LIBS_set=
# ac_cv_env_LIBNL3_GENL_LIBS_value=
# ac_cv_env_LIBNL3_LIBS_set=
# ac_cv_env_LIBNL3_LIBS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_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_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_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_ncurses_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_time=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='clang'
# CFLAGS='-O2 -Wall'
# CPP='clang -E'
# CPPFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBNL3_CFLAGS=''
# LIBNL3_GENL_CFLAGS=''
# LIBNL3_GENL_LIBS=''
# LIBNL3_LIBS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT='gerrit@erg.abdn.ac.uk'
# PACKAGE_NAME='wavemon'
# PACKAGE_STRING='wavemon 0.8.0'
# PACKAGE_TARNAME='wavemon-current'
# PACKAGE_URL='https://github.com/uoaerg/wavemon'
# PACKAGE_VERSION='0.8.0'
# PATH_SEPARATOR=':'
# PKG_CONFIG=''
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# SHELL='/bin/sh'
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/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 "wavemon"
# #define PACKAGE_TARNAME "wavemon-current"
# #define PACKAGE_VERSION "0.8.0"
# #define PACKAGE_STRING "wavemon 0.8.0"
# #define PACKAGE_BUGREPORT "gerrit@erg.abdn.ac.uk"
# #define PACKAGE_URL "https://github.com/uoaerg/wavemon"
# #define BUILD_DATE "Wed Apr 5 00:43:39 UTC 2017"
# #define STDC_HEADERS 1
# #define TIME_WITH_SYS_TIME 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
#
# configure: exit 1