Build of gfan with clang_glibc toolchain

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

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

SLOCLanguage
39,670 cpp
442 makefile
1 sh
40,113 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: gfan 0.5-2 (Thu Apr 13 17:35:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) cddlib-094h-2
#
# Total Installed Size: 0.76 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 cddlib...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# g++ -O2 -DGMPRATIONAL -Wuninitialized -g -c lp_cdd.cpp
# lp_cdd.cpp:1290:44: warning: format specifies type 'int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat]
# fprintf(stderr,"newLin.size(): %i\n",newLin.size());
# ~~ ^~~~~~~~~~~~~
# %lu
# lp_cdd.cpp:1291:43: warning: format specifies type 'int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat]
# fprintf(stderr,"newIn.size(): %i\n",newIn.size());
# ~~ ^~~~~~~~~~~~
# %lu
# 2 warnings generated.
# g++ -O2 -DGMPRATIONAL -Wuninitialized -g -c parser.cpp
# g++ -O2 -DGMPRATIONAL -Wuninitialized -g -c field.cpp
# g++ -O2 -DGMPRATIONAL -Wuninitialized -g -c monomial.cpp
# g++ -O2 -DGMPRATIONAL -Wuninitialized -g -c printer.cpp
# In file included from printer.cpp:4:
# ./polyhedralfan.h:77:24: error: friend declaration specifying a default argument must be a definition
# friend PolyhedralFan refinement(const PolyhedralFan &a, const PolyhedralFan &b, int cutOffDimension=-1, bool allowASingleConeOfCutOffDimension=false);
# ^
# 1 error generated.
# make: *** [Makefile:438: printer.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...