Build of tree with clang_glibc toolchain

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

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

SLOCLanguage
2,874 ansic
30 makefile
2,904 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: tree 1.7.0-1 (Thu Apr 13 19:27:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o tree.o tree.c
# tree.c:1250:87: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
# } else return sprintf(buf, sizeof(off_t) == sizeof(long long)? " %11lld" : " %9ld", (long long int)size);
# ~~~~ ^~~~~~~~~~~~~~~~~~~
# %9lld
# 1 warning generated.
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o unix.o unix.c
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o html.o html.c
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o xml.o xml.c
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o json.o json.c
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o hash.o hash.c
# gcc -ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o color.o color.c
# gcc -o tree tree.o unix.o html.o xml.o json.o hash.o color.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -d /tmp/tree/pkg/tree/usr/bin
# install -d /tmp/tree/pkg/tree/usr/share/man/man1
# if [ -e tree ]; then \
# install tree /tmp/tree/pkg/tree/usr/bin/tree; \
# fi
# install doc/tree.1 /tmp/tree/pkg/tree/usr/share/man/man1/tree.1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tree"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tree 1.7.0-1 (Thu Apr 13 19:27:56 UTC 2017)

CMD: pacman --query --file tree-1.7.0-1-x86_64.pkg.tar.xz
# tree 1.7.0-1

Creating hybrid package for 'tree'

Trying to find vanilla package 'tree'...

CMD: pacman --query --file /mirror/cherrytree-0.37.1-1.pkg.tar.xz
# cherrytree 0.37.1-1

CMD: pacman --query --file /mirror/python2-pyprof2calltree-1.3.2-3.pkg.tar.xz
# python2-pyprof2calltree 1.3.2-3

CMD: pacman --query --file /mirror/perl-tree-dag-node-1.29-1.pkg.tar.xz
# perl-tree-dag-node 1.29-1

CMD: pacman --query --file /mirror/pyprof2calltree-1.3.2-3.pkg.tar.xz
# pyprof2calltree 1.3.2-3

CMD: pacman --query --file /mirror/perl-html-tree-5.03-3.pkg.tar.xz
# perl-html-tree 5.03-3

CMD: pacman --query --file /mirror/ruby-treetop-1.6.5-1.pkg.tar.xz
# ruby-treetop 1.6.5-1

CMD: pacman --query --file /mirror/haskell-bytestring-tree-builder-0.2.7-3.pkg.tar.xz
# haskell-bytestring-tree-builder 0.2.7-3

CMD: pacman --query --file /mirror/ostree-2016.6-1.pkg.tar.xz
# ostree 2016.6-1

CMD: pacman --query --file /mirror/python-braintree-3.28.0-1.pkg.tar.xz
# python-braintree 3.28.0-1

CMD: pacman --query --file /mirror/openstreetmap-map-icons-svn-31588-1.pkg.tar.xz
# openstreetmap-map-icons-svn 31588-1

CMD: pacman --query --file /mirror/python2-braintree-3.28.0-1.pkg.tar.xz
# python2-braintree 3.28.0-1

CMD: pacman --query --file /mirror/tree-1.7.0-1.pkg.tar.xz
# tree 1.7.0-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/tree
# /usr/share/man/man1/tree.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 tree.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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