Build of clalsadrv with clang_glibc toolchain

The build took 00h 03m 04s and was NOT successful.

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

SLOCLanguage
1,077 cpp
47 makefile
1,124 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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: clalsadrv 2.0.0-2 (Thu Apr 13 12:44:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) clthreads-2.4.0-2
#
# Total Installed Size: 0.04 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 clthreads...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang++ -Wall -I. -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o clalsadrv.o clalsadrv.cc
# In file included from clalsadrv.cc:21:
# ./clalsadrv.h:145:28: warning: private field '_pcnt' is not used [-Wunused-private-field]
# int _pcnt;
# ^
# ./clalsadrv.h:146:28: warning: private field '_xrun' is not used [-Wunused-private-field]
# bool _xrun;
# ^
# 2 warnings generated.
# g++ -shared -Wl,-soname,libclalsadrv.so.2 -o libclalsadrv.so.2.0.0 clalsadrv.o -lasound
# clang++ -I../libs -O2 -Wall -MMD -MP -DVERSION=\"\" -c -o loopback.o loopback.cc
# g++ -L../libs -L/usr/lib64 -o alsa-loopback loopback.o -lasound -lclthreads -lclalsadrv -lpthread -lrt
# clang++ -I../libs -O2 -Wall -MMD -MP -DVERSION=\"\" -c -o latency.o latency.cc
# g++ -L../libs -L/usr/lib64 -o alsa-latency latency.o -lasound -lclthreads -lclalsadrv -lpthread -lrt
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make: Entering directory '/tmp/clalsadrv/src/clalsadrv-2.0.0/libs'
# install -Dm 644 clalsadrv.h /tmp/clalsadrv/pkg/clalsadrv//usr/include/clalsadrv.h
# install -Dm 755 libclalsadrv.so.2.0.0 /tmp/clalsadrv/pkg/clalsadrv//usr/lib/libclalsadrv.so.2.0.0
# /sbin/ldconfig /usr/lib
# /sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
# make: *** [Makefile:50: install] Error 1
# make: Leaving directory '/tmp/clalsadrv/src/clalsadrv-2.0.0/libs'
# ==> ERROR: A failure occurred in package().
# Aborting...