Build of swaks with musl toolchain

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

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

SLOCLanguage
2,062 perl
2,062 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: swaks 20130209.0-2 (Wed Apr 5 01:59:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (4) perl-digest-hmac-1.03-3 perl-digest-sha1-2.13-7 perl-net-ip-1.26-2 perl-net-dns-1.06-1
#
# Total Installed Size: 0.92 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing perl-digest-sha1...
# installing perl-digest-hmac...
# installing perl-net-ip...
# installing perl-net-dns...
# Optional dependencies for perl-net-dns
# perl-io-socket-inet6: IPv6 support
# perl-socket6: IPv6 support
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ref.pod around line 831: Expected text after =item, not a number
# ref.pod around line 835: Expected text after =item, not a number
# ref.pod around line 839: Expected text after =item, not a number
# ref.pod around line 843: Expected text after =item, not a number
# ref.pod around line 847: Expected text after =item, not a number
# ref.pod around line 851: Expected text after =item, not a number
# ref.pod around line 855: Expected text after =item, not a number
# ref.pod around line 859: Expected text after =item, not a number
# ref.pod around line 863: Expected text after =item, not a number
# ref.pod around line 867: Expected text after =item, not a number
# ref.pod around line 871: Expected text after =item, not a number
# ref.pod around line 875: Expected text after =item, not a number
# ref.pod around line 879: Expected text after =item, not a number
# ref.pod around line 883: Expected text after =item, not a number
# ref.pod around line 887: Expected text after =item, not a number
# ref.pod around line 891: Expected text after =item, not a number
# ref.pod around line 895: Expected text after =item, not a number
# ref.pod around line 899: Expected text after =item, not a number
# ref.pod around line 903: Expected text after =item, not a number
# POD document had syntax errors at /usr/bin/core_perl/pod2man line 70.
# ==> ERROR: A failure occurred in package().
# Aborting...