Build of bsdiff with musl toolchain

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

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

SLOCLanguage
421 ansic
13 makefile
434 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: bsdiff 4.3-8 (Tue Apr 4 22:52:58 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file Makefile
# clang -O3 -lbz2 bsdiff.c -o bsdiff
# clang -O3 -lbz2 bspatch.c -o bspatch
# bspatch.c:31:10: fatal error: 'bzlib.h' file not found
# #include
# ^
# bsdiff.c:33:10: fatal error: 'bzlib.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [: bspatch] Error 1
# make: *** Waiting for unfinished jobs....
# 1 error generated.
# make: *** [: bsdiff] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...