Build of xa with clang_glibc toolchain

The build took 00h 01m 26s and was SUCCESSFUL.

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

SLOCLanguage
6,381 ansic
552 asm
242 makefile
90 perl
53 sh
7,318 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: xa 2.3.7-1 (Thu Apr 13 15:53:26 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# rm -f xa
# (cd src && LD=gcc CC="gcc -O2" make)
# make[1]: Entering directory '/tmp/xa/src/xa-2.3.7/src'
# gcc -O2 -O2 -c -o xa.o xa.c
# gcc -O2 -O2 -c -o xaa.o xaa.c
# gcc -O2 -O2 -c -o xal.o xal.c
# gcc -O2 -O2 -c -o xap.o xap.c
# gcc -O2 -O2 -c -o xat.o xat.c
# gcc -O2 -O2 -c -o xar.o xar.c
# gcc -O2 -O2 -c -o xar2.o xar2.c
# gcc -O2 -O2 -c -o xao.o xao.c
# gcc -O2 -O2 -c -o xau.o xau.c
# gcc -O2 -O2 -c -o xam.o xam.c
# gcc -O2 -O2 -c -o xacharset.o xacharset.c
# gcc -o ../xa xa.o xaa.o xal.o xap.o xat.o xar.o xar2.o xao.o xau.o xam.o xacharset.o -lc
# make[1]: Leaving directory '/tmp/xa/src/xa-2.3.7/src'
# (cd misc && CC="gcc -O2" make)
# make[1]: Entering directory '/tmp/xa/src/xa-2.3.7/misc'
# cp mkrom.sh ../mkrom.sh
# gcc -O2 -O2 uncpk.c -o ../uncpk
# gcc -O2 -O2 printcbm.c -o ../printcbm
# gcc -O2 -O2 file65.c -o ../file65
# gcc -O2 -O2 reloc65.c -o ../reloc65
# gcc -O2 -O2 ldo65.c -o ../ldo65
# make[1]: Leaving directory '/tmp/xa/src/xa-2.3.7/misc'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/xa/pkg/xa/usr/bin
# mkdir -p /tmp/xa/pkg/xa/usr/share/man/man1
# install xa reloc65 ldo65 file65 printcbm uncpk /tmp/xa/pkg/xa/usr/bin
# install man/file65.1 man/ldo65.1 man/printcbm.1 man/reloc65.1 man/uncpk.1 man/xa.1 /tmp/xa/pkg/xa/usr/share/man/man1
# #mkdir -p /tmp/xa/pkg/xa/usr/share/doc/xa65
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "xa"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: xa 2.3.7-1 (Thu Apr 13 15:53:46 UTC 2017)

CMD: pacman --query --file xa-2.3.7-1-x86_64.pkg.tar.xz
# xa 2.3.7-1

Creating hybrid package for 'xa'

Trying to find vanilla package 'xa'...

CMD: pacman --query --file /mirror/openal-examples-1.17.2-2.pkg.tar.xz
# openal-examples 1.17.2-2

CMD: pacman --query --file /mirror/xarchiver-gtk2-0.5.4.6-1.pkg.tar.xz
# xarchiver-gtk2 0.5.4.6-1

CMD: pacman --query --file /mirror/lxappearance-obconf-gtk3-0.2.3-1.pkg.tar.xz
# lxappearance-obconf-gtk3 0.2.3-1

CMD: pacman --query --file /mirror/xawtv-3.103-2.pkg.tar.xz
# xawtv 3.103-2

CMD: pacman --query --file /mirror/xalan-java-2.7.2-1.pkg.tar.xz
# xalan-java 2.7.2-1

CMD: pacman --query --file /mirror/xaw3d-1.6.2-2.pkg.tar.xz
# xaw3d 1.6.2-2

CMD: pacman --query --file /mirror/python2-xapian-1:1.2.23-1.pkg.tar.xz
# python2-xapian 1:1.2.23-1

CMD: pacman --query --file /mirror/xautolock-2.2-4.pkg.tar.xz
# xautolock 2.2-4

CMD: pacman --query --file /mirror/libxau-1.0.8-2.pkg.tar.xz
# libxau 1.0.8-2

CMD: pacman --query --file /mirror/xorg-xauth-1.0.9-1.pkg.tar.xz
# xorg-xauth 1.0.9-1

CMD: pacman --query --file /mirror/nxagent-3.5.0.32-2.pkg.tar.xz
# nxagent 3.5.0.32-2

CMD: pacman --query --file /mirror/xapian-core-1:1.2.23-1.pkg.tar.xz
# xapian-core 1:1.2.23-1

CMD: pacman --query --file /mirror/xautomation-1.09-2.pkg.tar.xz
# xautomation 1.09-2

CMD: pacman --query --file /mirror/python2-xattr-0.8.0-1.pkg.tar.xz
# python2-xattr 0.8.0-1

CMD: pacman --query --file /mirror/lxappearance-obconf-0.2.3-1.pkg.tar.xz
# lxappearance-obconf 0.2.3-1

CMD: pacman --query --file /mirror/python-pyxattr-0.5.6-1.pkg.tar.xz
# python-pyxattr 0.5.6-1

CMD: pacman --query --file /mirror/libxaw-1.0.13-1.pkg.tar.xz
# libxaw 1.0.13-1

CMD: pacman --query --file /mirror/xa-2.3.7-1.pkg.tar.xz
# xa 2.3.7-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/file65
# /usr/bin/ldo65
# /usr/bin/printcbm
# /usr/bin/reloc65
# /usr/bin/uncpk
# /usr/bin/xa
# /usr/share/man/man1/file65.1.gz
# /usr/share/man/man1/ldo65.1.gz
# /usr/share/man/man1/printcbm.1.gz
# /usr/share/man/man1/reloc65.1.gz
# /usr/share/man/man1/uncpk.1.gz
# /usr/share/man/man1/xa.1.gz

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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