Build of tinyxml with clang_glibc toolchain

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

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

SLOCLanguage
4,748 cpp
57 makefile
9 ansic
4,814 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: tinyxml 2.6.2-5 (Thu Apr 13 16:43:59 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) setconf-0.7.2-1
#
# Total Installed Size: 0.02 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 setconf...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 tinyxml.cpp -o tinyxml.o
# g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 tinyxmlparser.cpp -o tinyxmlparser.o
# g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 xmltest.cpp -o xmltest.o
# xmltest.cpp:1141:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# "<>"
# ^~~~
# xmltest.cpp:1142:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# "Cntnt"
# ^~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# xmltest.cpp:1143:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# ">";
# ^~~~
# xmltest.cpp:1149:65: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# TiXmlHandle aHandle = docHandle.FirstChildElement( "" );
# ^~~~
# xmltest.cpp:1153:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# XmlTest( "ISO-8859-1 Parsing.", "Cntnt", tHandle.Text()->Value() );
# ^~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 5 warnings generated.
# g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 tinyxmlerror.cpp -o tinyxmlerror.o
# g++ -c -Wall -Wno-unknown-pragmas -Wno-format -O3 tinystr.cpp -o tinystr.o
# g++ -o xmltest tinyxml.o tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o
# /usr/bin/ld: tinystr.o: relocation R_X86_64_32 against `_ZN11TiXmlString8nullrep_E' can not be used when making a shared object; recompile with -fPIC
# tinystr.o: error adding symbols: Bad value
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# ==> ERROR: A failure occurred in build().
# Aborting...