Build of shhopt with musl toolchain

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

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

SLOCLanguage
351 ansic
78 makefile
429 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: shhopt 1.1.7-1 (Wed Apr 5 00:25:47 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -I. -MM *.c >depend
# gcc -o shhopt.o -c -s -Wall -I. shhopt.c
# clang-3.8: warning: argument unused during compilation: '-s'
# ar rc libshhopt.a shhopt.o
# ranlib libshhopt.a || true
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -d -m 755 /tmp/shhopt/pkg/shhopt/usr//lib /tmp/shhopt/pkg/shhopt/usr//include
# install -m 644 libshhopt.a /tmp/shhopt/pkg/shhopt/usr//lib
# install -m 644 shhopt.h /tmp/shhopt/pkg/shhopt/usr//include
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "shhopt"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: shhopt 1.1.7-1 (Wed Apr 5 00:25:48 UTC 2017)

CMD: pacman --query --file shhopt-1.1.7-1-x86_64.pkg.tar.xz
# shhopt 1.1.7-1

Creating hybrid package for 'shhopt'

Trying to find vanilla package 'shhopt'...

CMD: pacman --query --file /mirror/shhopt-1.1.7-1.pkg.tar.xz
# shhopt 1.1.7-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/libshhopt.a
# /usr/include/shhopt.h
# /sysroot/usr/lib/libshhopt.a
# /sysroot/usr/include/shhopt.h

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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