Build of udns 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
4,244 ansic
152 makefile
130 sh
4,526 total

The process tree of the build process is here.

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: udns 0.4-2 (Tue Apr 4 23:26:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure... udns package
# checking for C compiler... no
# configure: fatal: $CC (clang) is not a working compiler
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/udns/src/udns-0.4/config.log'
# This file contains any messages produced by compilers etc while
# running configure, to aid debugging if configure script makes a mistake.
#
# >>> configure
# === udns package
# >>> checking for C compiler
# ==== Command invocation failed. Command line was:
# ./conftest
# ==== compiler input was:
# int main(int argc, char **argv) { return 0; }
# ==== output was:
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ====
# === no
# === FATAL: $CC (clang) is not a working compiler