Build of libx86 with vanilla toolchain

The build took 00h 00m 47s and was SUCCESSFUL.

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

SLOCLanguage
20,186 ansic
108 makefile
20,294 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: libx86 1.1-5 (Wed Aug 24 12:50:56 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file lrmi.c
# make LIBRARY=static static
# make[1]: Entering directory '/tmp/libx86/src/libx86-1.1'
# cc -c -o x86-common.o x86-common.c
# cc -c -o thunk.o thunk.c
# x86-common.c: In function 'get_int_seg':
# x86-common.c:193:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
# return *(unsigned short *)(i * 4 + 2);
# ^
# x86-common.c: In function 'get_int_off':
# x86-common.c:200:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
# return *(unsigned short *)(i * 4);
# ^
# thunk.c: In function 'LRMI_init':
# thunk.c:150:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
# (&x_inl),
# ^
# thunk.c:150:3: note: (near initialization for 'pioFuncs.inl')
# thunk.c:153:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
# (&x_outl)
# ^
# thunk.c:153:3: note: (near initialization for 'pioFuncs.outl')
# thunk.c:168:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# X86_SS = (unsigned int) stack >> 4;
# ^
# thunk.c: In function 'real_call':
# thunk.c:200:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# X86_SS = (unsigned int) stack >> 4;
# ^
# cc -c -o x86emu/decode.o x86emu/decode.c
# cc -c -o x86emu/debug.o x86emu/debug.c
# cc -c -o x86emu/fpu.o x86emu/fpu.c
# cc -c -o x86emu/ops.o x86emu/ops.c
# cc -c -o x86emu/ops2.o x86emu/ops2.c
# cc -c -o x86emu/prim_ops.o x86emu/prim_ops.c
# cc -c -o x86emu/sys.o x86emu/sys.c
# ar cru libx86.a x86-common.o thunk.o x86emu/decode.o x86emu/debug.o x86emu/fpu.o x86emu/ops.o x86emu/ops2.o x86emu/prim_ops.o x86emu/sys.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# make[1]: Leaving directory '/tmp/libx86/src/libx86-1.1'
# make objclean
# make[1]: Entering directory '/tmp/libx86/src/libx86-1.1'
# make -C x86emu clean
# make[2]: Entering directory '/tmp/libx86/src/libx86-1.1/x86emu'
# rm -f *.a *.o *~
# make[2]: Leaving directory '/tmp/libx86/src/libx86-1.1/x86emu'
# rm -f *.o *~
# make[1]: Leaving directory '/tmp/libx86/src/libx86-1.1'
# make LIBRARY=shared shared
# make[1]: Entering directory '/tmp/libx86/src/libx86-1.1'
# cc -fPIC -c -o x86-common.o x86-common.c
# cc -fPIC -c -o thunk.o thunk.c
# x86-common.c: In function 'get_int_seg':
# x86-common.c:193:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
# return *(unsigned short *)(i * 4 + 2);
# ^
# x86-common.c: In function 'get_int_off':
# x86-common.c:200:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
# return *(unsigned short *)(i * 4);
# ^
# thunk.c: In function 'LRMI_init':
# thunk.c:150:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
# (&x_inl),
# ^
# thunk.c:150:3: note: (near initialization for 'pioFuncs.inl')
# thunk.c:153:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
# (&x_outl)
# ^
# thunk.c:153:3: note: (near initialization for 'pioFuncs.outl')
# thunk.c:168:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# X86_SS = (unsigned int) stack >> 4;
# ^
# thunk.c: In function 'real_call':
# thunk.c:200:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# X86_SS = (unsigned int) stack >> 4;
# ^
# cc -fPIC -c -o x86emu/decode.o x86emu/decode.c
# cc -fPIC -c -o x86emu/debug.o x86emu/debug.c
# cc -fPIC -c -o x86emu/fpu.o x86emu/fpu.c
# cc -fPIC -c -o x86emu/ops.o x86emu/ops.c
# cc -fPIC -c -o x86emu/ops2.o x86emu/ops2.c
# cc -fPIC -c -o x86emu/prim_ops.o x86emu/prim_ops.c
# cc -fPIC -c -o x86emu/sys.o x86emu/sys.c
# cc -fPIC -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 x86-common.o thunk.o x86emu/decode.o x86emu/debug.o x86emu/fpu.o x86emu/ops.o x86emu/ops2.o x86emu/prim_ops.o x86emu/sys.o
# make[1]: Leaving directory '/tmp/libx86/src/libx86-1.1'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -D libx86.so.1 /tmp/libx86/pkg/libx86/usr/lib/libx86.so.1
# install -D libx86.a /tmp/libx86/pkg/libx86/usr/lib/libx86.a
# ln -sf libx86.so.1 /tmp/libx86/pkg/libx86/usr/lib/libx86.so
# install -p -m 0644 -D lrmi.h /tmp/libx86/pkg/libx86/usr/include/libx86.h
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libx86"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libx86 1.1-5 (Wed Aug 24 12:50:59 UTC 2016)

CMD: pacman --query --file libx86-1.1-5-x86_64.pkg.tar.xz
# libx86 1.1-5

Creating hybrid package for 'libx86'

Trying to find vanilla package 'libx86'...

CMD: pacman --query --file /mirror/libx86emu-1.7_1-1.pkg.tar.xz
# libx86emu 1.7_1-1

CMD: pacman --query --file /mirror/libx86-1.1-5.pkg.tar.xz
# libx86 1.1-5

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/libx86.so
# /usr/lib/libx86.so.1
# /usr/include/libx86.h
# /usr/share/licenses/libx86/LICENSE
# /sysroot/usr/lib/libx86.so.1
# /sysroot/usr/lib/libx86.a
# /sysroot/usr/lib/libx86.so
# /sysroot/usr/include/libx86.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 libx86.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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