Build of luajit with vanilla toolchain

The build took 00h 01m 15s 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.

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...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: luajit 2.0.4-2 (Wed Aug 24 12:42:46 UTC 2016)
# ==> 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
# HOSTCC host/buildvm_asm.o
# HOSTCC host/buildvm_peobj.o
# HOSTCC host/buildvm_lib.o
# HOSTCC host/buildvm_fold.o
# CC luajit.o
# HOSTLINK host/minilua
# DYNASM host/buildvm_arch.h
# HOSTCC host/buildvm.o
# In file included from host/buildvm.c:59:0:
# ./../dynasm/dasm_x86.h: In function 'dasm_put':
# ./../dynasm/dasm_x86.h:207:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue;
# ^~
# ./../dynasm/dasm_x86.h:207:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (*p++ == 1 && *p == DASM_DISP) mrm = n; continue;
# ^~~~~~~~
# HOSTLINK host/buildvm
# BUILDVM lj_vm.s
# BUILDVM lj_ffdef.h
# BUILDVM lj_bcdef.h
# BUILDVM lj_folddef.h
# BUILDVM lj_recdef.h
# BUILDVM lj_libdef.h
# BUILDVM jit/vmdef.lua
# ASM lj_vm.o
# CC ljamalg.o
# In file included from ljamalg.c:60:0:
# lj_cparse.c: In function 'cp_next_':
# lj_cparse.c:313:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '|') return '|'; cp_get(cp); return CTOK_OROR;
# ^~
# lj_cparse.c:313:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '|') return '|'; cp_get(cp); return CTOK_OROR;
# ^~~~~~
# lj_cparse.c:315:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '&') return '&'; cp_get(cp); return CTOK_ANDAND;
# ^~
# lj_cparse.c:315:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '&') return '&'; cp_get(cp); return CTOK_ANDAND;
# ^~~~~~
# lj_cparse.c:317:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '=') return '='; cp_get(cp); return CTOK_EQ;
# ^~
# lj_cparse.c:317:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '=') return '='; cp_get(cp); return CTOK_EQ;
# ^~~~~~
# lj_cparse.c:319:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '=') return '!'; cp_get(cp); return CTOK_NE;
# ^~
# lj_cparse.c:319:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '=') return '!'; cp_get(cp); return CTOK_NE;
# ^~~~~~
# lj_cparse.c:329:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '>') return '-'; cp_get(cp); return CTOK_DEREF;
# ^~
# lj_cparse.c:329:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '>') return '-'; cp_get(cp); return CTOK_DEREF;
# ^~~~~~
# In file included from ljamalg.c:60:0:
# lj_cparse.c: In function 'cp_next_':
# lj_cparse.c:313:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '|') return '|'; cp_get(cp); return CTOK_OROR;
# ^~
# lj_cparse.c:313:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '|') return '|'; cp_get(cp); return CTOK_OROR;
# ^~~~~~
# lj_cparse.c:315:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '&') return '&'; cp_get(cp); return CTOK_ANDAND;
# ^~
# lj_cparse.c:315:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '&') return '&'; cp_get(cp); return CTOK_ANDAND;
# ^~~~~~
# lj_cparse.c:317:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '=') return '='; cp_get(cp); return CTOK_EQ;
# ^~
# lj_cparse.c:317:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '=') return '='; cp_get(cp); return CTOK_EQ;
# ^~~~~~
# lj_cparse.c:319:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '=') return '!'; cp_get(cp); return CTOK_NE;
# ^~
# lj_cparse.c:319:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '=') return '!'; cp_get(cp); return CTOK_NE;
# ^~~~~~
# lj_cparse.c:329:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (cp_get(cp) != '>') return '-'; cp_get(cp); return CTOK_DEREF;
# ^~
# lj_cparse.c:329:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (cp_get(cp) != '>') return '-'; cp_get(cp); return CTOK_DEREF;
# ^~~~~~
# AR libluajit.a
# DYNLINK libluajit.so
# ar: `u' modifier ignored since `D' is the default (see `U')
# 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 (Wed Aug 24 12:43:12 UTC 2016)

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
# ==> 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'