Build of cloc with musl toolchain

The build took 00h 01m 08s and was SUCCESSFUL.

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

SLOCLanguage
16,791 perl
74 makefile
16,865 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: cloc 1.66-1 (Tue Apr 4 23:59:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) perl-algorithm-diff-1.1903-1 perl-regexp-common-2016010801-2
#
# Total Installed Size: 0.46 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-algorithm-diff...
# installing perl-regexp-common...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# # perl-test - Check syntax
# podchecker *.pod
# make -f pod2man.mk PACKAGE=cloc makeman
# perl -cw cloc
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/cloc/src/cloc-1.66/Unix'
# # make target - create manual page from a *.pod page
# podchecker cloc.1.pod
# cloc.1.pod pod syntax OK.
# LC_ALL= LANG=C pod2man --utf8 \
# --center="User Commands" \
# --date="$(date "+%Y-%m-%d")" \
# --name="cloc" \
# --section="1" \
# cloc.1.pod \
# | sed 's,[Pp]erl v[0-9.]\+,cloc,' \
# > cloc.1 && \
# rm -f pod*.tmp
# cloc.1.pod pod syntax OK.
# cloc syntax OK
# # install-bin - Install programs
# /usr/bin/install -m 755 -d /tmp/cloc/pkg/cloc/usr/bin
# for f in cloc; \
# do \
# dest=${f%.pl}; \
# /usr/bin/install -m 755 $f /tmp/cloc/pkg/cloc/usr/bin/$dest; \
# done
# make[1]: Leaving directory '/tmp/cloc/src/cloc-1.66/Unix'
# # install-man
# /usr/bin/install -m 755 -d /tmp/cloc/pkg/cloc/usr/share/man/man1
# /usr/bin/install -m 644 *.1 /tmp/cloc/pkg/cloc/usr/share/man/man1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "cloc"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: cloc 1.66-1 (Tue Apr 4 23:59:25 UTC 2017)

CMD: pacman --query --file cloc-1.66-1-any.pkg.tar.xz
# cloc 1.66-1

Creating hybrid package for 'cloc'

Trying to find vanilla package 'cloc'...

CMD: pacman --query --file /mirror/xorg-xclock-1.0.7-1.pkg.tar.xz
# xorg-xclock 1.0.7-1

CMD: pacman --query --file /mirror/gnome-clocks-3.20.1-1.pkg.tar.xz
# gnome-clocks 3.20.1-1

CMD: pacman --query --file /mirror/haskell-clock-0.7.2-2.pkg.tar.xz
# haskell-clock 0.7.2-2

CMD: pacman --query --file /mirror/cloc-1.66-1.pkg.tar.xz
# cloc 1.66-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/cloc
# /usr/share/man/man1/cloc.1.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf cloc.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/cloc.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/cloc.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/cloc.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'