Build of clamav with musl toolchain

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

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

SLOCLanguage
309,276 ansic
270,022 cpp
16,202 sh
3,090 asm
2,619 python
2,300 pascal
2,144 perl
1,681 ada
1,352 yacc
1,147 makefile
879 cs
714 lex
184 lisp
117 csh
4 exp
611,731 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: clamav 0.99.2-1 (Wed Apr 5 01:07:56 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# error: target not found: libmilter
# ==> ERROR: 'pacman' failed to install missing dependencies.