Build of macchanger with musl toolchain

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

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

SLOCLanguage
570 ansic
152 sh
44 python
766 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: macchanger 1.7.0-2 (Wed Apr 5 00:09:30 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# WARNING: I'm going to run ./configure with no arguments - if you wish
# to pass any to it, please specify them on the ./autogen.sh command line.
#
# Running: aclocal ...
# Running: autoheader...
# Running: automake -a ...
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# configure.ac:11: installing './compile'
# configure.ac:3: installing './install-sh'
# configure.ac:3: installing './missing'
# src/Makefile.am: installing './depcomp'
# Running: autoconf...
# 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/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking whether make supports nested variables... (cached) 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... configure: error: in `/tmp/macchanger/src/macchanger-1.7.0':
# configure: error: cannot run C compiled programs.
# If you meant to cross compile, use `--host'.
# See `config.log' for more details
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/macchanger/src/macchanger-1.7.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 macchanger configure 1.7.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 4b714cf64571
# 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:1830: checking for a BSD-compatible install
# configure:1898: result: /usr/bin/install -c
# configure:1909: checking whether build environment is sane
# configure:1964: result: yes
# configure:2115: checking for a thread-safe mkdir -p
# configure:2154: result: /usr/sbin/mkdir -p
# configure:2161: checking for gawk
# configure:2177: found /usr/sbin/gawk
# configure:2188: result: gawk
# configure:2199: checking whether make sets $(MAKE)
# configure:2221: result: yes
# configure:2250: checking whether make supports nested variables
# configure:2267: result: yes
# configure:2405: checking whether make supports nested variables
# configure:2422: result: yes
# configure:2487: checking for gcc
# configure:2514: result: clang
# configure:2743: checking for C compiler version
# configure:2752: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2763: $? = 0
# configure:2752: 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:2763: $? = 0
# configure:2752: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2763: $? = 1
# configure:2752: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2763: $? = 1
# configure:2783: checking whether the C compiler works
# configure:2805: clang conftest.c >&5
# configure:2809: $? = 0
# configure:2857: result: yes
# configure:2860: checking for C compiler default output file name
# configure:2862: result: a.out
# configure:2868: checking for suffix of executables
# configure:2875: clang -o conftest conftest.c >&5
# configure:2879: $? = 0
# configure:2901: result:
# configure:2923: checking whether we are cross compiling
# configure:2931: clang -o conftest conftest.c >&5
# configure:2935: $? = 0
# configure:2942: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2946: $? = 127
# configure:2953: error: in `/tmp/macchanger/src/macchanger-1.7.0':
# configure:2955: error: cannot run C compiled programs.
# If you meant to cross compile, use `--host'.
# See `config.log' for more details
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# 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_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_ac_ct_CC=clang
# ac_cv_prog_make_make_set=yes
# am_cv_make_support_nested_variables=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/macchanger/src/macchanger-1.7.0/missing aclocal-1.15'
# AMDEPBACKSLASH=''
# AMDEP_FALSE=''
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# AUTOCONF='${SHELL} /tmp/macchanger/src/macchanger-1.7.0/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/macchanger/src/macchanger-1.7.0/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/macchanger/src/macchanger-1.7.0/missing automake-1.15'
# AWK='gawk'
# CC='clang'
# CCDEPMODE=''
# CFLAGS=''
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# 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/macchanger/src/macchanger-1.7.0/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT=''
# PACKAGE='macchanger'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='macchanger'
# PACKAGE_STRING='macchanger 1.7.0'
# PACKAGE_TARNAME='macchanger'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.7.0'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP=''
# VERSION='1.7.0'
# ac_ct_CC='clang'
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE=''
# am__fastdepCC_TRUE=''
# am__include=''
# am__isrc=''
# am__leading_dot='.'
# am__nodep=''
# 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='NONE'
# host_alias=''
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/macchanger/src/macchanger-1.7.0/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='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 "macchanger"
# #define PACKAGE_TARNAME "macchanger"
# #define PACKAGE_VERSION "1.7.0"
# #define PACKAGE_STRING "macchanger 1.7.0"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "macchanger"
# #define VERSION "1.7.0"
#
# configure: exit 1