Build of luajit with clang_glibc toolchain

The build took 00h 04m 57s and was SUCCESSFUL.

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

SLOCLanguage
59,696 ansic
2,485 asm
548 makefile
62,729 total

The process tree of the build process is here.

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

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: luajit 2.0.4-2 (Thu Apr 13 13:56:06 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'
# +--------------------------------------------------------------------------+
# | 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'
# HOSTCC host/minilua.o
# HOSTLINK host/minilua
# DYNASM host/buildvm_arch.h
# HOSTCC host/buildvm.o
# HOSTCC host/buildvm_asm.o
# HOSTCC host/buildvm_peobj.o
# HOSTCC host/buildvm_lib.o
# HOSTCC host/buildvm_fold.o
# HOSTLINK host/buildvm
# BUILDVM lj_vm.s
# ASM lj_vm.o
# clang-3.8: warning: argument unused during compilation: '-fomit-frame-pointer'
# clang-3.8: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'
# clang-3.8: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'
# clang-3.8: warning: argument unused during compilation: '-U _FORTIFY_SOURCE'
# clang-3.8: warning: argument unused during compilation: '-D LUA_ROOT="/usr"'
# clang-3.8: warning: argument unused during compilation: '-D LUA_MULTILIB="lib"'
# clang-3.8: warning: argument unused during compilation: '-fno-stack-protector'
# clang-3.8: warning: argument unused during compilation: '-fomit-frame-pointer'
# clang-3.8: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'
# clang-3.8: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'
# clang-3.8: warning: argument unused during compilation: '-U _FORTIFY_SOURCE'
# clang-3.8: warning: argument unused during compilation: '-D LUA_ROOT="/usr"'
# clang-3.8: warning: argument unused during compilation: '-D LUA_MULTILIB="lib"'
# clang-3.8: warning: argument unused during compilation: '-fno-stack-protector'
# BUILDVM lj_ffdef.h
# BUILDVM lj_bcdef.h
# BUILDVM lj_folddef.h
# BUILDVM lj_recdef.h
# BUILDVM lj_libdef.h
# CC ljamalg.o
# AR libluajit.a
# ar: `u' modifier ignored since `D' is the default (see `U')
# CC luajit.o
# BUILDVM jit/vmdef.lua
# DYNLINK libluajit.so
# LINK luajit
# OK Successfully built LuaJIT
# make[2]: Leaving directory '/tmp/luajit/src/LuaJIT-2.0.4/src'
# make[1]: Leaving directory '/tmp/luajit/src/LuaJIT-2.0.4/src'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==== Installing LuaJIT 2.0.4 to /usr ====
# mkdir -p /tmp/luajit/pkg/luajit/usr/bin /tmp/luajit/pkg/luajit/usr/lib /tmp/luajit/pkg/luajit/usr/include/luajit-2.0 /tmp/luajit/pkg/luajit/usr/share/man/man1 /tmp/luajit/pkg/luajit/usr/lib/pkgconfig /tmp/luajit/pkg/luajit/usr/share/luajit-2.0.4/jit /tmp/luajit/pkg/luajit/usr/share/lua/5.1 /tmp/luajit/pkg/luajit/usr/lib/lua/5.1
# cd src && install -m 0755 luajit /tmp/luajit/pkg/luajit/usr/bin/luajit-2.0.4
# cd src && test -f libluajit.a && install -m 0644 libluajit.a /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.a || :
# rm -f /tmp/luajit/pkg/luajit/usr/bin/luajit /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.so.2.0.4 /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.so /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.so
# cd src && test -f libluajit.so && \
# install -m 0755 libluajit.so /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.so.2.0.4 && \
# ldconfig -n /tmp/luajit/pkg/luajit/usr/lib && \
# ln -sf libluajit-5.1.so.2.0.4 /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.so && \
# ln -sf libluajit-5.1.so.2.0.4 /tmp/luajit/pkg/luajit/usr/lib/libluajit-5.1.so || :
# cd etc && install -m 0644 luajit.1 /tmp/luajit/pkg/luajit/usr/share/man/man1
# cd etc && sed -e "s|^prefix=.*|prefix=/usr|" -e "s|^multilib=.*|multilib=lib|" luajit.pc > luajit.pc.tmp && \
# install -m 0644 luajit.pc.tmp /tmp/luajit/pkg/luajit/usr/lib/pkgconfig/luajit.pc && \
# rm -f luajit.pc.tmp
# cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /tmp/luajit/pkg/luajit/usr/include/luajit-2.0
# cd src/jit && install -m 0644 bc.lua v.lua dump.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua bcsave.lua vmdef.lua /tmp/luajit/pkg/luajit/usr/share/luajit-2.0.4/jit
# ln -sf luajit-2.0.4 /tmp/luajit/pkg/luajit/usr/bin/luajit
# ==== Successfully installed LuaJIT 2.0.4 to /usr ====
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "luajit"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: luajit 2.0.4-2 (Thu Apr 13 13:57:21 UTC 2017)

CMD: pacman --query --file luajit-2.0.4-2-x86_64.pkg.tar.xz
# luajit 2.0.4-2

Creating hybrid package for 'luajit'

Trying to find vanilla package 'luajit'...

CMD: pacman --query --file /mirror/luajit-2.0.4-2.pkg.tar.xz
# luajit 2.0.4-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/luajit
# /usr/bin/luajit-2.0.4
# /usr/lib/libluajit-5.1.so.2
# /usr/lib/libluajit-5.1.so
# /usr/lib/libluajit-5.1.so.2.0.4
# /usr/lib/pkgconfig/luajit.pc
# /usr/include/luajit-2.0/lua.h
# /usr/include/luajit-2.0/lualib.h
# /usr/include/luajit-2.0/lauxlib.h
# /usr/include/luajit-2.0/luaconf.h
# /usr/include/luajit-2.0/lua.hpp
# /usr/include/luajit-2.0/luajit.h
# /usr/share/man/man1/luajit.1.gz
# /usr/share/luajit-2.0.4/jit/bc.lua
# /usr/share/luajit-2.0.4/jit/v.lua
# /usr/share/luajit-2.0.4/jit/dump.lua
# /usr/share/luajit-2.0.4/jit/dis_x86.lua
# /usr/share/luajit-2.0.4/jit/dis_x64.lua
# /usr/share/luajit-2.0.4/jit/dis_arm.lua
# /usr/share/luajit-2.0.4/jit/dis_ppc.lua
# /usr/share/luajit-2.0.4/jit/dis_mips.lua
# /usr/share/luajit-2.0.4/jit/dis_mipsel.lua
# /usr/share/luajit-2.0.4/jit/bcsave.lua
# /usr/share/luajit-2.0.4/jit/vmdef.lua
# /usr/share/licenses/luajit/COPYRIGHT
# /sysroot/usr/lib/libluajit-5.1.a
# /sysroot/usr/lib/libluajit-5.1.so.2.0.4
# /sysroot/usr/lib/libluajit-5.1.so.2
# /sysroot/usr/lib/libluajit-5.1.so
# /sysroot/usr/lib/pkgconfig/luajit.pc
# /sysroot/usr/include/luajit-2.0/lua.h
# /sysroot/usr/include/luajit-2.0/lualib.h
# /sysroot/usr/include/luajit-2.0/lauxlib.h
# /sysroot/usr/include/luajit-2.0/luaconf.h
# /sysroot/usr/include/luajit-2.0/lua.hpp
# /sysroot/usr/include/luajit-2.0/luajit.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf luajit.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/luajit.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/luajit.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 1158

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/luajit.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/luajit.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'