The build took 00h 01m 10s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language | 
|---|---|
| 19,107 | ansic | 
| 303 | sh | 
| 266 | python | 
| 19,676 | 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: libbson 1.3.5-1 (Tue Apr  4 23:04:54 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...autoreconf: Entering directory `.'autoreconf: configure.ac: not using Gettextautoreconf: running: aclocal -I build/autotools --force -I build/autotools/m4 ${ACLOCAL_FLAGS}/usr/bin/m4: stack overflowautom4te: /usr/bin/m4 failed with exit status: 1aclocal: error: echo failed with exit status: 1autoreconf: aclocal failed with exit status: 1==> ERROR: A failure occurred in build().    Aborting...