Build of libnsbmp with musl toolchain

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

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

SLOCLanguage
1,109 ansic
32 makefile
19 sh
1,160 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: libnsbmp 0.1.3-1 (Tue Apr 4 23:43:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) netsurf-buildsystem-1.5-1
#
# Total Installed Size: 0.06 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 netsurf-buildsystem...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# COMPILE: src/libnsbmp.c
# LINK: build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libnsbmp.so.0.1.3
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 644 include/libnsbmp.h /tmp/libnsbmp/pkg/libnsbmp/usr/include/
# sed -e... libnsbmp.pc.in >build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libnsbmp.pc
# install -m 644 build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libnsbmp.pc /tmp/libnsbmp/pkg/libnsbmp/usr/lib/pkgconfig/libnsbmp.pc
# install -m 755 build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libnsbmp.so.0.1.3 /tmp/libnsbmp/pkg/libnsbmp/usr/lib/libnsbmp.so.0.1.3
# ln -f -s libnsbmp.so.0.1.3 /tmp/libnsbmp/pkg/libnsbmp/usr/lib/libnsbmp.so.0
# ln -f -s libnsbmp.so.0.1.3 /tmp/libnsbmp/pkg/libnsbmp/usr/lib/libnsbmp.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libnsbmp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libnsbmp 0.1.3-1 (Tue Apr 4 23:43:31 UTC 2017)

CMD: pacman --query --file libnsbmp-0.1.3-1-x86_64.pkg.tar.xz
# libnsbmp 0.1.3-1

Creating hybrid package for 'libnsbmp'

Trying to find vanilla package 'libnsbmp'...

CMD: pacman --query --file /mirror/libnsbmp-0.1.3-1.pkg.tar.xz
# libnsbmp 0.1.3-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/include/libnsbmp.h
# /usr/lib/libnsbmp.so.0.1.3
# /usr/lib/libnsbmp.so.0
# /usr/lib/libnsbmp.so
# /usr/lib/pkgconfig/libnsbmp.pc
# /usr/share/licenses/libnsbmp/COPYING
# /sysroot/usr/lib/libnsbmp.so.0.1.3
# /sysroot/usr/lib/libnsbmp.so.0
# /sysroot/usr/lib/libnsbmp.so
# /sysroot/usr/lib/pkgconfig/libnsbmp.pc
# /sysroot/usr/include/libnsbmp.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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