Build of libnatpmp with musl toolchain

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

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

SLOCLanguage
1,321 ansic
312 java
134 makefile
23 python
1,790 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: libnatpmp 20140401-2 (Tue Apr 4 23:37:27 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmp.o natpmp.c
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o getgateway.o getgateway.c
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o testgetgateway.o testgetgateway.c
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmpc.o natpmpc.c
# gcc -o testgetgateway testgetgateway.o getgateway.o
# ar crs libnatpmp.a natpmp.o getgateway.o
# gcc -shared -Wl,-soname,libnatpmp.so.1 -o libnatpmp.so natpmp.o getgateway.o
# gcc -o natpmpc-shared natpmpc.o libnatpmp.so
# gcc -o natpmpc-static natpmpc.o libnatpmp.a
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -p -d /tmp/libnatpmp/pkg/libnatpmp/usr/include
# install -p -m 644 natpmp.h /tmp/libnatpmp/pkg/libnatpmp/usr/include
# install -p -d /tmp/libnatpmp/pkg/libnatpmp/usr/lib
# install -p -m 644 libnatpmp.a /tmp/libnatpmp/pkg/libnatpmp/usr/lib
# install -p -m 644 libnatpmp.so /tmp/libnatpmp/pkg/libnatpmp/usr/lib/libnatpmp.so.1
# install -p -d /tmp/libnatpmp/pkg/libnatpmp/usr/bin
# install -p -m 755 natpmpc-shared /tmp/libnatpmp/pkg/libnatpmp/usr/bin/natpmpc
# ln -s -f libnatpmp.so.1 /tmp/libnatpmp/pkg/libnatpmp/usr/lib/libnatpmp.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libnatpmp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libnatpmp 20140401-2 (Tue Apr 4 23:37:28 UTC 2017)

CMD: pacman --query --file libnatpmp-20140401-2-x86_64.pkg.tar.xz
# libnatpmp 20140401-2

Creating hybrid package for 'libnatpmp'

Trying to find vanilla package 'libnatpmp'...

CMD: pacman --query --file /mirror/libnatpmp-20140401-2.pkg.tar.xz
# libnatpmp 20140401-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/natpmp.h
# /usr/lib/libnatpmp.so
# /usr/lib/libnatpmp.so.1
# /usr/bin/natpmpc
# /usr/share/licenses/libnatpmp/LICENSE
# /usr/share/man/man1/natpmpc.1.gz
# /sysroot/usr/lib/libnatpmp.a
# /sysroot/usr/lib/libnatpmp.so.1
# /sysroot/usr/lib/libnatpmp.so
# /sysroot/usr/include/natpmp.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 libnatpmp.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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