Build of pixz with musl toolchain

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

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

SLOCLanguage
4,218 sh
1,795 ansic
6,013 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: pixz 1.0.6-1 (Wed Apr 5 00:42:49 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# 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 whether make supports nested variables... yes
# checking for style of include used by make... 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 whether clang understands -c and -o together... yes
# checking dependency style of clang... gcc3
# checking for clang option to accept ISO C99... none needed
# checking for clang option to accept ISO Standard C... (cached) none needed
# checking for src/pixz.1... configure: error: cannot check for file existence when cross compiling
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/pixz/src/pixz-1.0.6/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 pixz configure 1.0.6, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 341c4cf63939
# 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:2393: checking for a BSD-compatible install
# configure:2461: result: /usr/bin/install -c
# configure:2472: checking whether build environment is sane
# configure:2527: result: yes
# configure:2586: checking for x86_64-unknown-linux-strip
# configure:2616: result: no
# configure:2626: checking for strip
# configure:2642: found /sysroot/bin/strip
# configure:2653: result: strip
# configure:2678: checking for a thread-safe mkdir -p
# configure:2717: result: /usr/sbin/mkdir -p
# configure:2724: checking for gawk
# configure:2740: found /usr/sbin/gawk
# configure:2751: result: gawk
# configure:2762: checking whether make sets $(MAKE)
# configure:2784: result: yes
# configure:2813: checking whether make supports nested variables
# configure:2830: result: yes
# configure:2970: checking for style of include used by make
# configure:2998: result: GNU
# configure:3029: checking for x86_64-unknown-linux-gcc
# configure:3056: result: clang
# configure:3325: checking for C compiler version
# configure:3334: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3345: $? = 0
# configure:3334: 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:3345: $? = 0
# configure:3334: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3345: $? = 1
# configure:3334: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3345: $? = 1
# configure:3365: checking whether the C compiler works
# configure:3387: clang conftest.c >&5
# configure:3391: $? = 0
# configure:3439: result: yes
# configure:3442: checking for C compiler default output file name
# configure:3444: result: a.out
# configure:3450: checking for suffix of executables
# configure:3457: clang -o conftest conftest.c >&5
# configure:3461: $? = 0
# configure:3483: result:
# configure:3505: checking whether we are cross compiling
# configure:3513: clang -o conftest conftest.c >&5
# configure:3517: $? = 0
# configure:3524: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3528: $? = 127
# configure:3543: result: yes
# configure:3548: checking for suffix of object files
# configure:3570: clang -c conftest.c >&5
# configure:3574: $? = 0
# configure:3595: result: o
# configure:3599: checking whether we are using the GNU C compiler
# configure:3618: clang -c conftest.c >&5
# configure:3618: $? = 0
# configure:3627: result: yes
# configure:3636: checking whether clang accepts -g
# configure:3656: clang -c -g conftest.c >&5
# configure:3656: $? = 0
# configure:3697: result: yes
# configure:3714: checking for clang option to accept ISO C89
# configure:3777: clang -c conftest.c >&5
# configure:3777: $? = 0
# configure:3790: result: none needed
# configure:3815: checking whether clang understands -c and -o together
# configure:3837: clang -c conftest.c -o conftest2.o
# configure:3840: $? = 0
# configure:3837: clang -c conftest.c -o conftest2.o
# configure:3840: $? = 0
# configure:3852: result: yes
# configure:3871: checking dependency style of clang
# configure:3982: result: gcc3
# configure:4001: checking for clang option to accept ISO C99
# configure:4150: clang -c conftest.c >&5
# configure:4150: $? = 0
# configure:4163: result: none needed
# configure:4271: checking for clang option to accept ISO Standard C
# configure:4282: result: none needed
# configure:4293: checking for src/pixz.1
# configure:4299: error: cannot check for file existence when cross compiling
#
# ## ---------------- ##
# ## 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_LIBARCHIVE_CFLAGS_set=
# ac_cv_env_LIBARCHIVE_CFLAGS_value=
# ac_cv_env_LIBARCHIVE_LIBS_set=
# ac_cv_env_LIBARCHIVE_LIBS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_LZMA_CFLAGS_set=
# ac_cv_env_LZMA_CFLAGS_value=
# ac_cv_env_LZMA_LIBS_set=
# ac_cv_env_LZMA_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_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_c99=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# 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. ##
# ## ----------------- ##
#
# A2X=''
# ACLOCAL='${SHELL} /tmp/pixz/src/pixz-1.0.6/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)'
# AUTOCONF='${SHELL} /tmp/pixz/src/pixz-1.0.6/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/pixz/src/pixz-1.0.6/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/pixz/src/pixz-1.0.6/missing automake-1.15'
# 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=''
# LIBARCHIVE_CFLAGS=''
# LIBARCHIVE_LIBS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# LZMA_CFLAGS=''
# LZMA_LIBS=''
# MAKEINFO='${SHELL} /tmp/pixz/src/pixz-1.0.6/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='pixz'
# PACKAGE_BUGREPORT='https://github.com/vasi/pixz/issues'
# PACKAGE_NAME='pixz'
# PACKAGE_STRING='pixz 1.0.6'
# PACKAGE_TARNAME='pixz'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.0.6'
# PATH_SEPARATOR=':'
# PKG_CONFIG=''
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# POW_LIB=''
# PTHREAD_CC=''
# PTHREAD_CFLAGS=''
# PTHREAD_LIBS=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='1.0.6'
# 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 -'
# 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'
# install_sh='${SHELL} /tmp/pixz/src/pixz-1.0.6/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 "pixz"
# #define PACKAGE_TARNAME "pixz"
# #define PACKAGE_VERSION "1.0.6"
# #define PACKAGE_STRING "pixz 1.0.6"
# #define PACKAGE_BUGREPORT "https://github.com/vasi/pixz/issues"
# #define PACKAGE_URL ""
# #define PACKAGE "pixz"
# #define VERSION "1.0.6"
#
# configure: exit 1