Build of ptex with clang_glibc toolchain

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

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

SLOCLanguage
15,569 cpp
144 makefile
34 python
15,747 total

The process tree of the build process is here.

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: ptex 2.0.62-2 (Thu Apr 13 15:42:11 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C ptex INSTALLDIR=../../install LIBDIR=lib
# make[1]: Entering directory '/tmp/ptex/src/ptex-2.0.62/src/ptex'
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexCache.o PtexCache.cpp
# ar rv libPtex.a PtexCache.o
# ar: creating libPtex.a
# a - PtexCache.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexFilters.o PtexFilters.cpp
# ar rv libPtex.a PtexFilters.o
# a - PtexFilters.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexHalf.o PtexHalf.cpp
# ar rv libPtex.a PtexHalf.o
# a - PtexHalf.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexReader.o PtexReader.cpp
# ar rv libPtex.a PtexReader.o
# a - PtexReader.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexSeparableFilter.o PtexSeparableFilter.cpp
# ar rv libPtex.a PtexSeparableFilter.o
# a - PtexSeparableFilter.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexSeparableKernel.o PtexSeparableKernel.cpp
# ar rv libPtex.a PtexSeparableKernel.o
# a - PtexSeparableKernel.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexTriangleFilter.o PtexTriangleFilter.cpp
# ar rv libPtex.a PtexTriangleFilter.o
# a - PtexTriangleFilter.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexTriangleKernel.o PtexTriangleKernel.cpp
# ar rv libPtex.a PtexTriangleKernel.o
# a - PtexTriangleKernel.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexUtils.o PtexUtils.cpp
# PtexUtils.cpp:48:22: warning: comparison of constant 2 with expression of type 'Ptex::MeshType' is always false [-Wtautological-constant-out-of-range-compare]
# if (mt < 0 || mt >= int(sizeof(names)/sizeof(const char*)))
# ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# PtexUtils.cpp:57:22: warning: comparison of constant 4 with expression of type 'Ptex::DataType' is always false [-Wtautological-constant-out-of-range-compare]
# if (dt < 0 || dt >= int(sizeof(names)/sizeof(const char*)))
# ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# PtexUtils.cpp:75:24: warning: comparison of constant 4 with expression of type 'Ptex::EdgeId' is always false [-Wtautological-constant-out-of-range-compare]
# if (eid < 0 || eid >= int(sizeof(names)/sizeof(const char*)))
# ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3 warnings generated.
# ar rv libPtex.a PtexUtils.o
# a - PtexUtils.o
# clang++ -Wall -pedantic -W -std=c++98 -O2 -DNDEBUG -I. -fPIC -c -o PtexWriter.o PtexWriter.cpp
# ar rv libPtex.a PtexWriter.o
# a - PtexWriter.o
# clang++ -shared -o libPtex.so PtexCache.o PtexFilters.o PtexHalf.o PtexReader.o PtexSeparableFilter.o PtexSeparableKernel.o PtexTriangleFilter.o PtexTriangleKernel.o PtexUtils.o PtexWriter.o -lm -lz -lpthread
# cp libPtex.a ../../install/lib/libPtex.a
# cp Ptexture.h ../../install/include/Ptexture.h
# cp PtexHalf.h ../../install/include/PtexHalf.h
# cp PtexInt.h ../../install/include/PtexInt.h
# cp PtexUtils.h ../../install/include/PtexUtils.h
# cp libPtex.so ../../install/lib/libPtex.so
# make[1]: Leaving directory '/tmp/ptex/src/ptex-2.0.62/src/ptex'
# make -C utils INSTALLDIR=../../install LIBDIR=lib
# make[1]: Entering directory '/tmp/ptex/src/ptex-2.0.62/src/utils'
# fatal: Not a git repository (or any of the parent directories): .git
# fatal: Not a git repository (or any of the parent directories): .git
# fatal: Not a git repository (or any of the parent directories): .git
# clang++ -Wall -W -pedantic -std=c++98 -O2 -DNDEBUG -I../ptex -fPIC -DPTEX_VER='" ()"' ptxinfo.cpp ../ptex/libPtex.a -o ptxinfo -lm -lz -lpthread
# cp ptxinfo ../../install/bin/ptxinfo
# make[1]: Leaving directory '/tmp/ptex/src/ptex-2.0.62/src/utils'
# make -C tests INSTALLDIR=../../install LIBDIR=lib
# make[1]: Entering directory '/tmp/ptex/src/ptex-2.0.62/src/tests'
# clang++ -Wall -W -pedantic -std=c++98 -O2 -DNDEBUG -I../ptex -fPIC halftest.cpp ../ptex/libPtex.a -o halftest -lm -lz -lpthread
# clang++ -Wall -W -pedantic -std=c++98 -O2 -DNDEBUG -I../ptex -fPIC wtest.cpp ../ptex/libPtex.a -o wtest -lm -lz -lpthread
# clang++ -Wall -W -pedantic -std=c++98 -O2 -DNDEBUG -I../ptex -fPIC rtest.cpp ../ptex/libPtex.a -o rtest -lm -lz -lpthread
# clang++ -Wall -W -pedantic -std=c++98 -O2 -DNDEBUG -I../ptex -fPIC ftest.cpp ../ptex/libPtex.a -o ftest -lm -lz -lpthread
# ./run_tests.py
# File "./run_tests.py", line 22
# print 'Running:', cmd
# ^
# SyntaxError: Missing parentheses in call to 'print'
# make[1]: *** [Makefile:24: tests] Error 1
# make[1]: Leaving directory '/tmp/ptex/src/ptex-2.0.62/src/tests'
# make: *** [Makefile:15: tests] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...