Build of curseofwar with clang_glibc toolchain

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

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

SLOCLanguage
3,305 ansic
91 makefile
3,396 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: curseofwar 1.2.0-2 (Thu Apr 13 16:23:27 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/curseofwar/src/curseofwar-1.2.0'
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c grid.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c state.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c king.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c network.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c client.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c server.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c output-common.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c path.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c main-common.c
# main-common.c:206:34: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# op->map_seed = abs(strtol(optarg, &endptr, 10));
# ^
# main-common.c:206:34: note: use function 'labs' instead
# op->map_seed = abs(strtol(optarg, &endptr, 10));
# ^~~
# labs
# 1 warning generated.
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c output.c
# gcc -DVERSION="\"1.2.0\"" -Wall -O2 -c main.c
# gcc -Wall -O2 grid.o state.o king.o network.o client.o server.o output-common.o path.o main-common.o output.o main.o -lm -lncurses -o curseofwar
# make: Leaving directory '/tmp/curseofwar/src/curseofwar-1.2.0'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make: Entering directory '/tmp/curseofwar/src/curseofwar-1.2.0'
# install -m 755 -d /tmp/curseofwar/pkg/curseofwar/usr/share/man/man6
# sed "s/%VERSION%/1.2.0/g" curseofwar.6 | gzip -c > /tmp/curseofwar/pkg/curseofwar/usr/share/man/man6/curseofwar.6.gz
# chmod 644 /tmp/curseofwar/pkg/curseofwar/usr/share/man/man6/curseofwar.6.gz
# install -m 755 -d /tmp/curseofwar/pkg/curseofwar/usr/share/doc/curseofwar
# cat CHANGELOG | gzip -c > /tmp/curseofwar/pkg/curseofwar/usr/share/doc/curseofwar/changelog.gz
# chmod 644 /tmp/curseofwar/pkg/curseofwar/usr/share/doc/curseofwar/changelog.gz
# install -m 755 -D curseofwar /tmp/curseofwar/pkg/curseofwar/usr/bin/curseofwar
# make: Leaving directory '/tmp/curseofwar/src/curseofwar-1.2.0'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "curseofwar"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: curseofwar 1.2.0-2 (Thu Apr 13 16:23:47 UTC 2017)

CMD: pacman --query --file curseofwar-1.2.0-2-x86_64.pkg.tar.xz
# curseofwar 1.2.0-2

Creating hybrid package for 'curseofwar'

Trying to find vanilla package 'curseofwar'...

CMD: pacman --query --file /mirror/curseofwar-1.2.0-2.pkg.tar.xz
# curseofwar 1.2.0-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/share/man/man6/curseofwar.6.gz
# /usr/share/doc/curseofwar/changelog.gz
# /usr/bin/curseofwar

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 curseofwar.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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