Build of luajit with android toolchain

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

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

SLOCLanguage
59,696 ansic
548 makefile
60,244 total

The process tree of the build process is here.

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

List of Errors

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/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: luajit 2.0.4-2 (Tue Apr 4 20:21:35 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Building LuaJIT 2.0.4
# make -C src amalg
# make[1]: Entering directory '/tmp/luajit/src/LuaJIT-2.0.4/src'
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# +--------------------------------------------------------------------------+
# | WARNING: Compiling the amalgamation needs a lot of virtual memory |
# | (around 300 MB with GCC 4.x)! If you don't have enough physical memory |
# | your machine will start swapping to disk and the compile will not finish |
# | within a reasonable amount of time. |
# | So either compile on a bigger machine or use the non-amalgamated build. |
# +--------------------------------------------------------------------------+
# make all "LJCORE_O=ljamalg.o"
# make[2]: Entering directory '/tmp/luajit/src/LuaJIT-2.0.4/src'
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lj_arch.h:9:0:
# lua.h:12:20: error: no include path in which to search for stdarg.h
# #include
# ^
# lua.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# In file included from lua.h:16:0,
# from lj_arch.h:9:
# luaconf.h:12:20: error: no include path in which to search for limits.h
# #include
# ^
# luaconf.h:13:20: error: no include path in which to search for stddef.h
# #include
# ^
# HOSTCC host/minilua.o
# HOSTCC host/buildvm_asm.o
# HOSTCC host/buildvm_peobj.o
# HOSTCC host/buildvm_lib.o
# host/minilua.c:31:20: fatal error: stddef.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from host/buildvm_peobj.c:9:0:
# host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[2]: *** [Makefile:660: host/minilua.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[2]: *** [Makefile:660: host/buildvm_peobj.o] Error 1
# In file included from host/buildvm_lib.c:6:0:
# host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[2]: *** [Makefile:660: host/buildvm_lib.o] Error 1
# In file included from host/buildvm_asm.c:6:0:
# host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[2]: *** [Makefile:660: host/buildvm_asm.o] Error 1
# make[2]: Leaving directory '/tmp/luajit/src/LuaJIT-2.0.4/src'
# make[1]: *** [Makefile:573: amalg] Error 2
# make[1]: Leaving directory '/tmp/luajit/src/LuaJIT-2.0.4/src'
# make: *** [Makefile:144: amalg] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...