Build of tinycdb with musl toolchain

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

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

SLOCLanguage
1,707 ansic
225 makefile
113 sh
2,045 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: tinycdb 0.78-2 (Wed Apr 5 01:26:32 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc -D_FILE_OFFSET_BITS=64 -c cdb_init.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_find.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_findnext.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_seq.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_seek.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_unpack.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_make_add.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_make_put.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_make.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb_hash.c
# cc -D_FILE_OFFSET_BITS=64 -c cdb.c
# rm -f libcdb.a
# ar rv libcdb.a cdb_init.o cdb_find.o cdb_findnext.o cdb_seq.o cdb_seek.o cdb_unpack.o cdb_make_add.o cdb_make_put.o cdb_make.o cdb_hash.o
# cdb.c:189:58: warning: data argument not used by format string [-Wformat-extra-args]
# if (printf(mode == 'd' ? "+%u,%u:" : "+%u:", klen, vlen) < 0) return -1;
# ~~~~~~ ^
# /r: creating libcdb.a
# 1 warning generated.
# a - cdb_init.o
# a - cdb_find.o
# a - cdb_findnext.o
# a - cdb_seq.o
# a - cdb_seek.o
# a - cdb_unpack.o
# a - cdb_make_add.o
# a - cdb_make_put.o
# a - cdb_make.o
# a - cdb_hash.o
# ranlib libcdb.a
# cc -o cdb cdb.o libcdb.a
# ==> Entering fakeroot environment...
# ==> Starting package()...
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_init.lo -DNSSCDB_DIR=\"/etc\" cdb_init.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_find.lo -DNSSCDB_DIR=\"/etc\" cdb_find.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_findnext.lo -DNSSCDB_DIR=\"/etc\" cdb_findnext.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_seq.lo -DNSSCDB_DIR=\"/etc\" cdb_seq.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_seek.lo -DNSSCDB_DIR=\"/etc\" cdb_seek.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_unpack.lo -DNSSCDB_DIR=\"/etc\" cdb_unpack.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_make_add.lo -DNSSCDB_DIR=\"/etc\" cdb_make_add.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_make_put.lo -DNSSCDB_DIR=\"/etc\" cdb_make_put.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_make.lo -DNSSCDB_DIR=\"/etc\" cdb_make.c
# cc -O -D_FILE_OFFSET_BITS=64 -fPIC -c -o cdb_hash.lo -DNSSCDB_DIR=\"/etc\" cdb_hash.c
# rm -f libcdb.so
# ln -s libcdb.so.1 libcdb.so
# cc -shared -o libcdb.so.1 \
# -Wl,--soname=libcdb.so.1 -Wl,--version-script=libcdb.map \
# cdb_init.lo cdb_find.lo cdb_findnext.lo cdb_seq.lo cdb_seek.lo cdb_unpack.lo cdb_make_add.lo cdb_make_put.lo cdb_make.lo cdb_hash.lo
# cc -o cdb-shared cdb.o libcdb.so.1
# installing libcdb.so.1 to /tmp/tinycdb/pkg/tinycdb/usr/lib/libcdb.so.1
# set -- \
# cdb.h 644 /usr/include - \
# cdb.3 644 /usr/share/man/man3 - \
# cdb.1 644 /usr/share/man/man1 - \
# cdb.5 644 /usr/share/man/man5 - \
# cdb-shared 755 /usr/bin cdb \
# libcdb.a 644 /usr/lib - \
# ; \
# while [ "$1" ] ; do if [ .$4 = .- ]; then f=$1; else f=$4; fi; d=/tmp/tinycdb/pkg/tinycdb$3 ; echo installing $1 to $d/$f; [ -d $d ] || mkdir -p $d || exit 1 ; cp $1 $d/$f || exit 1; chmod 0$2 $d/$f || exit 1; shift 4; done
# installing cdb.h to /tmp/tinycdb/pkg/tinycdb/usr/include/cdb.h
# installing cdb.3 to /tmp/tinycdb/pkg/tinycdb/usr/share/man/man3/cdb.3
# installing cdb.1 to /tmp/tinycdb/pkg/tinycdb/usr/share/man/man1/cdb.1
# installing cdb.5 to /tmp/tinycdb/pkg/tinycdb/usr/share/man/man5/cdb.5
# installing cdb-shared to /tmp/tinycdb/pkg/tinycdb/usr/bin/cdb
# installing libcdb.a to /tmp/tinycdb/pkg/tinycdb/usr/lib/libcdb.a
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tinycdb"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tinycdb 0.78-2 (Wed Apr 5 01:26:34 UTC 2017)

CMD: pacman --query --file tinycdb-0.78-2-x86_64.pkg.tar.xz
# tinycdb 0.78-2

Creating hybrid package for 'tinycdb'

Trying to find vanilla package 'tinycdb'...

CMD: pacman --query --file /mirror/tinycdb-0.78-2.pkg.tar.xz
# tinycdb 0.78-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/cdb
# /usr/include/cdb.h
# /usr/lib/libcdb.so
# /usr/lib/libcdb.so.1
# /usr/share/licenses/tinycdb/copyright
# /usr/share/man/man1/cdb.1.gz
# /usr/share/man/man3/cdb.3.gz
# /usr/share/man/man5/cdb.5.gz
# /sysroot/usr/lib/libcdb.so.1
# /sysroot/usr/lib/libcdb.so
# /sysroot/usr/lib/libcdb.a
# /sysroot/usr/include/cdb.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 tinycdb.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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