Build of tetrinet with clang_glibc toolchain

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

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

SLOCLanguage
4,203 ansic
22 makefile
4,225 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: tetrinet 0.11-7 (Thu Apr 13 16:33:30 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c sockets.c
# In file included from sockets.c:19:
# ./tetrinet.h:77:12: error: redefinition of 'log' as different kind of symbol
# extern int log;
# ^
# ./tetrinet.h:77:12: note: previous definition is here
# sockets.c:69:9: warning: address of function 'log' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (log) {
# ~~ ^~~
# sockets.c:69:9: note: prefix with the address-of operator to silence this warning
# if (log) {
# ^
# &
# sockets.c:92:9: warning: address of function 'log' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (log) {
# ~~ ^~~
# sockets.c:92:9: note: prefix with the address-of operator to silence this warning
# if (log) {
# ^
# &
# 2 warnings and 1 error generated.
# make: *** [Makefile:33: sockets.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...