Build of lua51 with clang_glibc toolchain

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

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

SLOCLanguage
12,709 ansic
244 makefile
12,953 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

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: lua51 5.1.5-5 (Thu Apr 13 19:51:41 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cd src && make linux
# make[1]: Entering directory '/tmp/lua51/src/lua-5.1.5/src'
# make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
# make[2]: Entering directory '/tmp/lua51/src/lua-5.1.5/src'
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lapi.o lapi.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lcode.o lcode.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ldebug.o ldebug.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ldo.o ldo.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ldump.o ldump.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lfunc.o lfunc.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lgc.o lgc.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o llex.o llex.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lmem.o lmem.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lobject.o lobject.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lopcodes.o lopcodes.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lparser.o lparser.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lstate.o lstate.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lstring.o lstring.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ltable.o ltable.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ltm.o ltm.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lundump.o lundump.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lvm.o lvm.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lzio.o lzio.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lauxlib.o lauxlib.c
# lauxlib.c:577:61: warning: while loop has empty body [-Wempty-body]
# while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
# ^
# lauxlib.c:577:61: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lbaselib.o lbaselib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ldblib.o ldblib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o liolib.o liolib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lmathlib.o lmathlib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o loslib.o loslib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o ltablib.o ltablib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lstrlib.o lstrlib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o loadlib.o loadlib.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o linit.o linit.c
# ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o # DLL needs all object files
# ar: `u' modifier ignored since `D' is the default (see `U')
# ranlib liblua.a
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o lua.o lua.c
# gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o luac.o luac.c
# gcc -O2 -Wall -DLUA_USE_LINUX -c -o print.o print.c
# gcc -o luac luac.o print.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses
# make[2]: Leaving directory '/tmp/lua51/src/lua-5.1.5/src'
# make[1]: Leaving directory '/tmp/lua51/src/lua-5.1.5/src'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# cd src && mkdir -p /tmp/lua51/pkg/lua51/usr/bin /tmp/lua51/pkg/lua51/usr/include/lua5.1 /tmp/lua51/pkg/lua51/usr/lib /tmp/lua51/pkg/lua51/usr/share/man/man1 /tmp/lua51/pkg/lua51/usr/share/lua/5.1 /tmp/lua51/pkg/lua51/usr/lib/lua/5.1
# cd src && install -p -m 0755 lua5.1 luac5.1 /tmp/lua51/pkg/lua51/usr/bin
# install: cannot stat 'lua5.1': No such file or directory
# install: cannot stat 'luac5.1': No such file or directory
# make: *** [Makefile:63: install] Error 1
# ==> ERROR: A failure occurred in package().
# Aborting...