Build of zlib with musl toolchain

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

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

SLOCLanguage
20,081 ansic
3,071 asm
1,681 ada
1,131 pascal
1,001 cpp
879 cs
700 sh
131 makefile
104 perl
28,779 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: zlib 1.2.8-4 (Wed Apr 5 00:12:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Using ar
# unknown option: --host=x86_64-unknown-linux
# ./configure --help for help
# ** ./configure aborting.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/zlib/src/zlib-1.2.8/configure.log'
# --------------------
# ./configure --host=x86_64-unknown-linux --prefix=/usr
# Wed Apr 5 00:12:04 UTC 2017
# Using ar
# unknown option: --host=x86_64-unknown-linux
# ./configure --help for help
# ** ./configure aborting.
# --------------------
#
#