Build of libfaketime with clang_glibc toolchain

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

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

SLOCLanguage
2,043 ansic
379 sh
92 makefile
21 pascal
2,535 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: libfaketime 0.9.6-2 (Thu Apr 13 11:25:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C src all
# make[1]: Entering directory '/tmp/libfaketime/src/libfaketime-0.9.6/src'
# clang -o libfaketime.o -c -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib/faketime'"' libfaketime.c
# libfaketime.c:312:72: error: while loop has empty body [-Werror,-Wempty-body]
# DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_REALTIME, &systime->real));
# ^
# libfaketime.c:312:72: note: put the semicolon on a separate line to silence this warning
# libfaketime.c:313:72: error: while loop has empty body [-Werror,-Wempty-body]
# DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_MONOTONIC, &systime->mon));
# ^
# libfaketime.c:313:72: note: put the semicolon on a separate line to silence this warning
# libfaketime.c:513:8: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:542:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:571:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:600:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:628:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:656:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:685:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# libfaketime.c:714:7: error: comparison of nonnull parameter 'buf' not equal to a null pointer is 'true' on first encounter [-Werror,-Wtautological-pointer-compare]
# if (buf != NULL)
# ^~~ ~~~~
# 10 errors generated.
# make[1]: *** [Makefile:88: libfaketime.o] Error 1
# make[1]: Leaving directory '/tmp/libfaketime/src/libfaketime-0.9.6/src'
# make: *** [Makefile:7: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...