Build of libutempter with clang_glibc toolchain

The build took 00h 00m 26s and was NOT successful.

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

SLOCLanguage
362 ansic
52 makefile
414 total

The process tree of the build process is here.

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

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: libutempter 1.1.6-2 (Thu Apr 13 17:41:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/lib\" -Wl,-z,now,-stats utempter.c -o utempter
# utempter.c:144:23: warning: implicit conversion loses integer precision: '__time_t' (aka 'long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
# ut.ut_tv.tv_sec = tv.tv_sec;
# ~ ~~~^~~~~~
# utempter.c:145:24: warning: implicit conversion loses integer precision: '__suseconds_t' (aka 'long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
# ut.ut_tv.tv_usec = tv.tv_usec;
# ~ ~~~^~~~~~~
# 2 warnings generated.
# /usr/bin/ld: total time in link: 0.009999
# /usr/bin/ld: data size 3686400
# clang -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/lib\" -c -fPIC iface.c -o iface.os
# clang -shared \
# -Wl,-soname,libutempter.so.0,--version-script=libutempter.map,-z,defs,-stats \
# -lc iface.os -o libutempter.so
# /usr/bin/ld: total time in link: 0.013333
# /usr/bin/ld: data size 3837952
# clang -std=gnu99 -W -Wall -Waggregate-return -Wcast-align -Wconversion -Wdisabled-optimization -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -DLIBEXECDIR=\"/usr/lib\" -c -o iface.o iface.c
# ar rv libutempter.a iface.o
# ar: creating libutempter.a
# a - iface.o
# ranlib libutempter.a
# make: Nothing to be done for 'all'.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/libutempter/pkg/libutempter/usr/lib /tmp/libutempter/pkg/libutempter/usr/lib/utempter \
# /tmp/libutempter/pkg/libutempter/usr/include /tmp/libutempter/pkg/libutempter/usr/share/man/man3
# install -p -m2711 utempter /tmp/libutempter/pkg/libutempter/usr/lib/utempter/
# install -p -m644 utempter.h /tmp/libutempter/pkg/libutempter/usr/include/
# install -p -m755 libutempter.so /tmp/libutempter/pkg/libutempter/usr/lib/libutempter.so.1.1.6
# install -p -m644 libutempter.a /tmp/libutempter/pkg/libutempter/usr/lib/
# ln -s libutempter.so.1.1.6 /tmp/libutempter/pkg/libutempter/usr/lib/libutempter.so.0
# ln -s libutempter.so.0 /tmp/libutempter/pkg/libutempter/usr/lib/libutempter.so
# install -p -m644 utempter.3 /tmp/libutempter/pkg/libutempter/usr/share/man/man3/
# for n in libutempter utempter_add_record utempter_remove_record \
# utempter_remove_added_record utempter_set_helper; do \
# ln -s utempter.3 /tmp/libutempter/pkg/libutempter/usr/share/man/man3/$n.3; \
# done
# chown: changing ownership of '/tmp/libutempter/pkg/libutempter/usr/lib/utempter/utempter': Operation not permitted
# ==> ERROR: A failure occurred in package().
# Aborting...