Build of hiredis with clang_glibc toolchain

The build took 00h 03m 31s and was SUCCESSFUL.

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

SLOCLanguage
4,053 ansic
167 makefile
143 cpp
4,363 total

The process tree of the build process is here.

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: hiredis 0.13.3-1 (Thu Apr 13 13:06:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb read.c
# clang -shared -Wl,-soname,libhiredis.so.0.13 -o libhiredis.so net.o hiredis.o sds.o async.o read.o
# ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o
# clang -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb test.c
# clang -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb -o hiredis-test test.o libhiredis.a
# Generating hiredis.pc for pkgconfig...
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/hiredis/pkg/hiredis/usr/include/hiredis /tmp/hiredis/pkg/hiredis/usr/lib
# cp -a hiredis.h async.h read.h sds.h adapters /tmp/hiredis/pkg/hiredis/usr/include/hiredis
# cp -a libhiredis.so /tmp/hiredis/pkg/hiredis/usr/lib/libhiredis.so.0.13
# cd /tmp/hiredis/pkg/hiredis/usr/lib && ln -sf libhiredis.so.0.13 libhiredis.so
# cp -a libhiredis.a /tmp/hiredis/pkg/hiredis/usr/lib
# mkdir -p /tmp/hiredis/pkg/hiredis/usr/lib/pkgconfig
# cp -a hiredis.pc /tmp/hiredis/pkg/hiredis/usr/lib/pkgconfig
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "hiredis"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: hiredis 0.13.3-1 (Thu Apr 13 13:06:59 UTC 2017)

CMD: pacman --query --file hiredis-0.13.3-1-x86_64.pkg.tar.xz
# hiredis 0.13.3-1

Creating hybrid package for 'hiredis'

Trying to find vanilla package 'hiredis'...

CMD: pacman --query --file /mirror/hiredis-0.13.3-1.pkg.tar.xz
# hiredis 0.13.3-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/hiredis/hiredis.h
# /usr/include/hiredis/async.h
# /usr/include/hiredis/read.h
# /usr/include/hiredis/sds.h
# /usr/include/hiredis/adapters/ae.h
# /usr/include/hiredis/adapters/glib.h
# /usr/include/hiredis/adapters/ivykis.h
# /usr/include/hiredis/adapters/libev.h
# /usr/include/hiredis/adapters/libevent.h
# /usr/include/hiredis/adapters/libuv.h
# /usr/include/hiredis/adapters/macosx.h
# /usr/include/hiredis/adapters/qt.h
# /usr/lib/libhiredis.so
# /usr/lib/libhiredis.so.0.13
# /usr/lib/pkgconfig/hiredis.pc
# /usr/share/licenses/hiredis/COPYING
# /sysroot/usr/lib/libhiredis.so.0.13
# /sysroot/usr/lib/libhiredis.so
# /sysroot/usr/lib/libhiredis.a
# /sysroot/usr/lib/pkgconfig/hiredis.pc
# /sysroot/usr/include/hiredis/hiredis.h
# /sysroot/usr/include/hiredis/async.h
# /sysroot/usr/include/hiredis/read.h
# /sysroot/usr/include/hiredis/sds.h
# /sysroot/usr/include/hiredis/adapters/qt.h
# /sysroot/usr/include/hiredis/adapters/ivykis.h
# /sysroot/usr/include/hiredis/adapters/libev.h
# /sysroot/usr/include/hiredis/adapters/libuv.h
# /sysroot/usr/include/hiredis/adapters/glib.h
# /sysroot/usr/include/hiredis/adapters/macosx.h
# /sysroot/usr/include/hiredis/adapters/ae.h
# /sysroot/usr/include/hiredis/adapters/libevent.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 hiredis.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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