Build of evtest with musl toolchain

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

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

SLOCLanguage
1,237 sh
1,075 ansic
737 makefile
3,049 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: evtest 1.33-2 (Wed Apr 5 01:46:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) xmlto-0.0.28-1
#
# Total Installed Size: 0.12 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 xmlto...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# autoreconf: Entering directory `.'
# autoreconf: configure.ac: not using Gettext
# autoreconf: running: aclocal
# autoreconf: configure.ac: tracing
# autoreconf: configure.ac: not using Libtool
# autoreconf: running: /usr/bin/autoconf
# autoreconf: running: /usr/bin/autoheader
# autoreconf: running: automake --add-missing --copy --no-force
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
# configure.ac:6: installing './compile'
# configure.ac:3: installing './install-sh'
# configure.ac:3: installing './missing'
# Makefile.am: installing './depcomp'
# autoreconf: Leaving directory `.'
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for 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 whether clang understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking for pkg-config... /usr/bin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking for xsltproc... /usr/bin/xsltproc
# checking for xmlto... /usr/bin/xmlto
# checking for asciidoc... /usr/bin/asciidoc
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# 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/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... 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... 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 whether clang understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/bin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking for xsltproc... /usr/bin/xsltproc
# checking for xmlto... /usr/bin/xmlto
# checking for asciidoc... /usr/bin/asciidoc
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating config.h
# config.status: config.h is unchanged
# config.status: executing depfiles commands
# make all-am
# make[1]: Entering directory '/tmp/evtest/src/evtest-1.33'
# clang -DHAVE_CONFIG_H -I. -MT evtest.o -MD -MP -MF .deps/evtest.Tpo -c -o evtest.o evtest.c
# evtest.c:46:10: fatal error: 'linux/version.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [Makefile:424: evtest.o] Error 1
# make[1]: *** Waiting for unfinished jobs....
# rm evtest.xml
# make[1]: Leaving directory '/tmp/evtest/src/evtest-1.33'
# make: *** [Makefile:316: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/evtest/src/evtest-1.33/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 evtest configure 1.33, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 5a17d4269150
# 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:1854: checking for a BSD-compatible install
# configure:1922: result: /usr/bin/install -c
# configure:1933: checking whether build environment is sane
# configure:1988: result: yes
# configure:2047: checking for x86_64-unknown-linux-strip
# configure:2077: result: no
# configure:2087: checking for strip
# configure:2103: found /sysroot/bin/strip
# configure:2114: result: strip
# configure:2139: checking for a thread-safe mkdir -p
# configure:2178: result: /usr/bin/mkdir -p
# configure:2185: checking for gawk
# configure:2201: found /usr/bin/gawk
# configure:2212: result: gawk
# configure:2223: checking whether make sets $(MAKE)
# configure:2245: result: yes
# configure:2274: checking whether make supports nested variables
# configure:2291: result: yes
# configure:2428: checking for x86_64-unknown-linux-gcc
# configure:2455: result: clang
# configure:2724: checking for C compiler version
# configure:2733: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2744: $? = 0
# configure:2733: 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:2744: $? = 0
# configure:2733: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2744: $? = 1
# configure:2733: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2744: $? = 1
# configure:2764: checking whether the C compiler works
# configure:2786: clang conftest.c >&5
# configure:2790: $? = 0
# configure:2838: result: yes
# configure:2841: checking for C compiler default output file name
# configure:2843: result: a.out
# configure:2849: checking for suffix of executables
# configure:2856: clang -o conftest conftest.c >&5
# configure:2860: $? = 0
# configure:2882: result:
# configure:2904: checking whether we are cross compiling
# configure:2912: clang -o conftest conftest.c >&5
# configure:2916: $? = 0
# configure:2923: ./conftest
# configure:2927: $? = 0
# configure:2942: result: no
# configure:2947: checking for suffix of object files
# configure:2969: clang -c conftest.c >&5
# configure:2973: $? = 0
# configure:2994: result: o
# configure:2998: checking whether we are using the GNU C compiler
# configure:3017: clang -c conftest.c >&5
# configure:3017: $? = 0
# configure:3026: result: yes
# configure:3035: checking whether clang accepts -g
# configure:3055: clang -c -g conftest.c >&5
# configure:3055: $? = 0
# configure:3096: result: yes
# configure:3113: checking for clang option to accept ISO C89
# configure:3176: clang -c conftest.c >&5
# configure:3176: $? = 0
# configure:3189: result: none needed
# configure:3214: checking whether clang understands -c and -o together
# configure:3236: clang -c conftest.c -o conftest2.o
# configure:3239: $? = 0
# configure:3236: clang -c conftest.c -o conftest2.o
# configure:3239: $? = 0
# configure:3251: result: yes
# configure:3279: checking for style of include used by make
# configure:3307: result: GNU
# configure:3333: checking dependency style of clang
# configure:3444: result: gcc3
# configure:3471: checking for x86_64-unknown-linux-pkg-config
# configure:3504: result: no
# configure:3514: checking for pkg-config
# configure:3532: found /usr/bin/pkg-config
# configure:3544: result: /usr/bin/pkg-config
# configure:3569: checking pkg-config is at least version 0.9.0
# configure:3572: result: yes
# configure:3583: checking for xsltproc
# configure:3601: found /usr/bin/xsltproc
# configure:3613: result: /usr/bin/xsltproc
# configure:3637: checking for xmlto
# configure:3655: found /usr/bin/xmlto
# configure:3667: result: /usr/bin/xmlto
# configure:3678: checking for asciidoc
# configure:3696: found /usr/bin/asciidoc
# configure:3708: result: /usr/bin/asciidoc
# configure:3840: checking that generated files are newer than configure
# configure:3846: result: done
# configure:3877: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by evtest config.status 1.33, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 5a17d4269150
#
# config.status:849: creating Makefile
# config.status:849: creating config.h
# config.status:1030: config.h is unchanged
# config.status:1078: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_ASCIIDOC_set=
# ac_cv_env_ASCIIDOC_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_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_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_XMLTO_set=
# ac_cv_env_XMLTO_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_objext=o
# ac_cv_path_ASCIIDOC=/usr/bin/asciidoc
# ac_cv_path_XMLTO=/usr/bin/xmlto
# ac_cv_path_XSLTPROC=/usr/bin/xsltproc
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/bin/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
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/evtest/src/evtest-1.33/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# ASCIIDOC='/usr/bin/asciidoc'
# AUTOCONF='${SHELL} /tmp/evtest/src/evtest-1.33/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/evtest/src/evtest-1.33/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/evtest/src/evtest-1.33/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# HAVE_DOCTOOLS_FALSE='#'
# HAVE_DOCTOOLS_TRUE=''
# HAVE_XSLTPROC_FALSE='#'
# HAVE_XSLTPROC_TRUE=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/evtest/src/evtest-1.33/missing makeinfo'
# MKDIR_P='/usr/bin/mkdir -p'
# OBJEXT='o'
# PACKAGE='evtest'
# PACKAGE_BUGREPORT='https://bugzilla.freedesktop.org/enter_bug.cgi?product=evtest'
# PACKAGE_NAME='evtest'
# PACKAGE_STRING='evtest 1.33'
# PACKAGE_TARNAME='evtest'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.33'
# PATH_SEPARATOR=':'
# PKG_CONFIG='/usr/bin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='1.33'
# XMLTO='/usr/bin/xmlto'
# XSLTPROC='/usr/bin/xsltproc'
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/evtest/src/evtest-1.33/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# 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 "evtest"
# #define PACKAGE_TARNAME "evtest"
# #define PACKAGE_VERSION "1.33"
# #define PACKAGE_STRING "evtest 1.33"
# #define PACKAGE_BUGREPORT "https://bugzilla.freedesktop.org/enter_bug.cgi?product=evtest"
# #define PACKAGE_URL ""
# #define PACKAGE "evtest"
# #define VERSION "1.33"
#
# configure: exit 0