The build took 00h 01m 13s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language | 
|---|---|
| 702 | cpp | 
| 80 | makefile | 
| 782 | total | 
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
    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:
        There were existing files in /sysroot, using those
        CMD: sudo -u tuscan PATH=/sysroot/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: cdbxx 0.0.1rc2-5 (Wed Apr  5 01:27:48 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> Installing missing dependencies...resolving dependencies...looking for conflicting packages...Packages (1) tinycdb-0.78-2Total Installed Size:  0.05 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 tinycdb...:: Running post-transaction hooks...(1/1) Updating manpage index...==> WARNING: Using existing $srcdir/ tree==> Starting build()...make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'Making dependences for iterator.ccMaking dependences for db.ccg++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include    -c  -fpic db.cc -o db.sog++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include    -c  -fpic iterator.cc -o iterator.sog++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include    -c -o db.o db.ccg++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include    -c -o iterator.o iterator.ccar rv libcdbxx.a db.o iterator.og++ -lcdb -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG  -shared -Wl,-soname,libcdbxx.so.0 -lc db.so iterator.so -o libcdbxx.so/r: creating libcdbxx.aln -sf libcdbxx.so libcdbxx.so.0a - db.oa - iterator.oranlib libcdbxx.amake[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/src'make[1]: Entering directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'g++ -g -O2 -Wall -W -Wold-style-cast -fno-common -pedantic -DNDEBUG -I../include  -Wl,-rpath,/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite/../src/ -L../src/ -lcdbxx -lcdb  test.cc   -o testtest.cc:28: error: undefined reference to '__dso_handle'clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)make[1]: *** [: test] Error 1 make[1]: Leaving directory '/tmp/cdbxx/src/cdbxx-0.0.1rc2/testsuite'make: *** [Makefile:12: all] Error 1==> ERROR: A failure occurred in build().    Aborting...