Build of clthreads with musl toolchain

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

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

SLOCLanguage
764 cpp
33 makefile
797 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: clthreads 2.4.0-2 (Tue Apr 4 22:58:37 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o p_thread.o p_thread.cc
# clang++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o a_thread.o a_thread.cc
# clang++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o itc_mesg.o itc_mesg.cc
# clang++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o itc_ip1q.o itc_ip1q.cc
# clang++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o itc_ctrl.o itc_ctrl.cc
# clang++ -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o textmsg.o textmsg.cc
# g++ -shared -Wl,-soname,libclthreads.so.2 -o libclthreads.so.2.4.0 p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o -lpthread
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /usr/bin/install -d /tmp/clthreads/pkg/clthreads/usr/lib
# /usr/bin/install -m 644 clthreads.h /tmp/clthreads/pkg/clthreads/usr/include
# /usr/bin/install -m 755 libclthreads.so.2.4.0 /tmp/clthreads/pkg/clthreads/usr/lib
# /sbin/ldconfig -n /tmp/clthreads/pkg/clthreads/usr/lib
# ln -sf libclthreads.so.2.4.0 /tmp/clthreads/pkg/clthreads/usr/lib/libclthreads.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "clthreads"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: clthreads 2.4.0-2 (Tue Apr 4 22:58:39 UTC 2017)

CMD: pacman --query --file clthreads-2.4.0-2-x86_64.pkg.tar.xz
# clthreads 2.4.0-2

Creating hybrid package for 'clthreads'

Trying to find vanilla package 'clthreads'...

CMD: pacman --query --file /mirror/clthreads-2.4.0-2.pkg.tar.xz
# clthreads 2.4.0-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/clthreads.h
# /usr/lib/libclthreads.so.2
# /usr/lib/libclthreads.so
# /usr/lib/libclthreads.so.2.4.0
# /sysroot/usr/lib/libclthreads.so.2.4.0
# /sysroot/usr/lib/libclthreads.so.2
# /sysroot/usr/lib/libclthreads.so
# /sysroot/usr/include/clthreads.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 clthreads.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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