Build of hexer with clang_glibc toolchain

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

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

SLOCLanguage
11,799 ansic
80 makefile
11,879 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: hexer 0.2.3-1 (Thu Apr 13 16:24:53 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o buffer.o buffer.c
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o tio.o tio.c
# clang -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o edit.o edit.c
# In file included from edit.c:59:
# ./hexer.h:59:7: error: conflicting types for '__builtin_alloca'
# char *alloca(size_t);
# ^
# /usr/include/alloca.h:35:23: note: expanded from macro 'alloca'
# # define alloca(size) __builtin_alloca (size)
# ^
# ./hexer.h:59:7: note: '__builtin_alloca' is a builtin with type 'void *(unsigned long)'
# /usr/include/alloca.h:35:23: note: expanded from macro 'alloca'
# # define alloca(size) __builtin_alloca (size)
# ^
# In file included from edit.c:62:
# ./readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# extern char **(*completer)(const char *prefix, const const char *command,
# ^
# 1 warning and 1 error generated.
# make: *** [: edit.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...