Build of lxsplit with musl toolchain

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

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

SLOCLanguage
626 ansic
40 makefile
666 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: lxsplit 0.2.4-3 (Wed Apr 5 00:06:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -Wall -W -DNO_DEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o mkuoff_t mkuoff_t.c
# Generating uoff_t.h
# ./mkuoff_t: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make: *** [Makefile:60: uoff_t.h] Error 127
# ==> ERROR: A failure occurred in build().
# Aborting...