Build of libvterm with clang_glibc toolchain

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

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

SLOCLanguage
5,574 ansic
261 sh
171 perl
105 makefile
6,111 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: libvterm 0.1.git1.c4317a6-2 (Thu Apr 13 15:17:50 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC src/state.c
# CC src/parser.c
# CC src/screen.c
# CC src/pen.c
# CC src/vterm.c
# CC src/mouse.c
# TBL src/encoding/DECdrawing.tbl
# TBL src/encoding/uk.tbl
# CC src/encoding.c
# CC src/keyboard.c
# CC src/unicode.c
# src/unicode.c:217:12: warning: unused function 'mk_wcswidth' [-Wunused-function]
# static int mk_wcswidth(const wchar_t *pwcs, size_t n)
# ^
# src/unicode.c:308:12: warning: unused function 'mk_wcswidth_cjk' [-Wunused-function]
# static int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n)
# ^
# 2 warnings generated.
# LINK libvterm.la
# ar: `u' modifier ignored since `D' is the default (see `U')
# CC bin/unterm.c
# CC bin/vterm-ctrl.c
# bin/vterm-ctrl.c:89:10: warning: comparison of constant 155 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
# if(c == 0x9b)
# ~ ^ ~~~~
# 1 warning generated.
# CC bin/vterm-dump.c
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -d /tmp/libvterm/pkg/libvterm/usr/include
# install -m644 include/vterm.h include/vterm_keycodes.h /tmp/libvterm/pkg/libvterm/usr/include
# install -d /tmp/libvterm/pkg/libvterm/usr/lib/pkgconfig
# sed -e "s,@PREFIX@,/usr," -e "s,@LIBDIR@,/usr/lib," -e "s,@VERSION@,0.0," /tmp/libvterm/pkg/libvterm/usr/lib/pkgconfig/vterm.pc
# install -d /tmp/libvterm/pkg/libvterm/usr/lib
# libtool --quiet --mode=install install libvterm.la /tmp/libvterm/pkg/libvterm/usr/lib/libvterm.la
# libtool: warning: remember to run 'libtool --finish /usr/lib'
# libtool --quiet --mode=finish /tmp/libvterm/pkg/libvterm/usr/lib
# install -d /tmp/libvterm/pkg/libvterm/usr/bin
# libtool --quiet --mode=install install bin/unterm bin/vterm-ctrl bin/vterm-dump /tmp/libvterm/pkg/libvterm/usr/bin/
# libtool: warning: '/tmp/libvterm/src/libvterm/libvterm.la' has not been installed in '/usr/lib'
# libtool: warning: '/tmp/libvterm/src/libvterm/libvterm.la' has not been installed in '/usr/lib'
# libtool: warning: '/tmp/libvterm/src/libvterm/libvterm.la' has not been installed in '/usr/lib'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libvterm"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libvterm 0.1.git1.c4317a6-2 (Thu Apr 13 15:17:59 UTC 2017)

CMD: pacman --query --file libvterm-0.1.git1.c4317a6-2-x86_64.pkg.tar.xz
# libvterm 0.1.git1.c4317a6-2

Creating hybrid package for 'libvterm'

Trying to find vanilla package 'libvterm'...

CMD: pacman --query --file /mirror/libvterm-0.1.git1.c4317a6-2.pkg.tar.xz
# libvterm 0.1.git1.c4317a6-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/unterm
# /usr/bin/vterm-dump
# /usr/bin/vterm-ctrl
# /usr/include/vterm.h
# /usr/include/vterm_keycodes.h
# /usr/lib/libvterm.so
# /usr/lib/libvterm.so.0
# /usr/lib/libvterm.so.0.0.0
# /usr/lib/pkgconfig/vterm.pc
# /usr/share/licenses/libvterm/LICENSE
# /sysroot/usr/lib/libvterm.so.0.0.0
# /sysroot/usr/lib/libvterm.so.0
# /sysroot/usr/lib/libvterm.so
# /sysroot/usr/lib/libvterm.la
# /sysroot/usr/lib/libvterm.a
# /sysroot/usr/lib/pkgconfig/vterm.pc
# /sysroot/usr/include/vterm.h
# /sysroot/usr/include/vterm_keycodes.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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