Build of bchunk with musl toolchain

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

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

SLOCLanguage
379 ansic
23 makefile
402 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: bchunk 1.2.0-4 (Tue Apr 4 23:10:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -Wall -Wstrict-prototypes -O2 -c bchunk.c
# gcc -o bchunk bchunk.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 755 -s -o root -g root bchunk /tmp/bchunk/pkg/bchunk/usr/bin
# install -m 644 -o bin -g bin bchunk.1 /tmp/bchunk/pkg/bchunk/usr/share/man/man1
# install: cannot change ownership of '/tmp/bchunk/pkg/bchunk/usr/share/man/man1/bchunk.1': Operation not permitted
# make: *** [Makefile:31: installman] Error 1
# make: *** Waiting for unfinished jobs....
# install: cannot change ownership of '/tmp/bchunk/pkg/bchunk/usr/bin/bchunk': Operation not permitted
# make: *** [Makefile:29: installbin] Error 1
# ==> ERROR: A failure occurred in package().
# Aborting...