Build of lmdb with clang_glibc toolchain

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

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

SLOCLanguage
9,715 ansic
261 sh
75 makefile
10,051 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: lmdb 0.9.18-1 (Thu Apr 13 19:40:34 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mdb.c
# mdb.c:9846:46: warning: data argument not used by format string [-Wformat-extra-args]
# (int)mr[i].mr_pid, (size_t)mr[i].mr_tid, txnid);
# ^
# 1 warning generated.
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c midl.c
# ar rs liblmdb.a mdb.o midl.o
# ar: creating liblmdb.a
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -fPIC -c mdb.c -o mdb.lo
# mdb.c:9846:46: warning: data argument not used by format string [-Wformat-extra-args]
# (int)mr[i].mr_pid, (size_t)mr[i].mr_tid, txnid);
# ^
# 1 warning generated.
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -fPIC -c midl.c -o midl.lo
# gcc -pthread -shared -o liblmdb.so mdb.lo midl.lo
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mdb_stat.c
# mdb_stat.c:197:12: warning: data argument not used by format string [-Wformat-extra-args]
# pg, span);
# ^
# 1 warning generated.
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mdb_stat.o liblmdb.a -o mdb_stat
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mdb_copy.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mdb_copy.o liblmdb.a -o mdb_copy
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mdb_dump.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mdb_dump.o liblmdb.a -o mdb_dump
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mdb_load.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mdb_load.o liblmdb.a -o mdb_load
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mtest.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mtest.o liblmdb.a -o mtest
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mtest2.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mtest2.o liblmdb.a -o mtest2
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mtest3.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mtest3.o liblmdb.a -o mtest3
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mtest4.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mtest4.o liblmdb.a -o mtest4
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized -c mtest5.c
# gcc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized mtest5.o liblmdb.a -o mtest5
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/lmdb/pkg/lmdb/usr/bin
# mkdir -p /tmp/lmdb/pkg/lmdb/usr/lib
# mkdir -p /tmp/lmdb/pkg/lmdb/usr/include
# mkdir -p /tmp/lmdb/pkg/lmdb/usr/share/man/man1
# for f in mdb_stat mdb_copy mdb_dump mdb_load; do cp $f /tmp/lmdb/pkg/lmdb/usr/bin; done
# for f in liblmdb.a liblmdb.so; do cp $f /tmp/lmdb/pkg/lmdb/usr/lib; done
# for f in lmdb.h; do cp $f /tmp/lmdb/pkg/lmdb/usr/include; done
# for f in mdb_stat.1 mdb_copy.1 mdb_dump.1 mdb_load.1; do cp $f /tmp/lmdb/pkg/lmdb/usr/share/man/man1; done
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "lmdb"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: lmdb 0.9.18-1 (Thu Apr 13 19:40:47 UTC 2017)

CMD: pacman --query --file lmdb-0.9.18-1-x86_64.pkg.tar.xz
# lmdb 0.9.18-1

Creating hybrid package for 'lmdb'

Trying to find vanilla package 'lmdb'...

CMD: pacman --query --file /mirror/lmdb-0.9.18-1.pkg.tar.xz
# lmdb 0.9.18-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/mdb_load
# /usr/bin/mdb_copy
# /usr/bin/mdb_dump
# /usr/bin/mdb_stat
# /usr/share/licenses/lmdb/LICENSE
# /usr/share/man/man1/mdb_dump.1.gz
# /usr/share/man/man1/mdb_stat.1.gz
# /usr/share/man/man1/mdb_copy.1.gz
# /usr/share/man/man1/mdb_load.1.gz
# /usr/lib/liblmdb.so
# /usr/include/lmdb.h
# /sysroot/usr/lib/liblmdb.a
# /sysroot/usr/lib/liblmdb.so
# /sysroot/usr/include/lmdb.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 lmdb.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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