Build of chrony with vanilla toolchain

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

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

SLOCLanguage
23,240 ansic
1,707 sh
866 yacc
173 makefile
25,986 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...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: chrony 2.4-1 (Wed Aug 24 14:20:35 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Unrecognized option : --host=x86_64-unknown-linux
# Configuring for Linux-x86_64
# Checking for gcc : Yes
# Checking for 64-bit time_t : Yes
# NTP time mapped to 1966-09-06T14:20:36Z/2102-10-13T20:48:52Z
# Checking for math : No
# Checking for math in -lm : Yes
# Checking for : Yes
# Checking for : Yes
# Checking for struct in_pktinfo : Yes
# Checking for IPv6 support : Yes
# Checking for struct in6_pktinfo : No
# Checking for struct in6_pktinfo with _GNU_SOURCE : Yes
# Checking for getaddrinfo() : Yes
# Checking for pthread : Yes
# Checking for arc4random_buf() : No
# Checking for : No
# Checking for : No
# Checking for libcap : Yes
# Checking for : Yes
# Checking for : Yes
# Checking for clock_gettime() : Yes
# Checking for sched_setscheduler() : Yes
# Checking for mlockall() : Yes
# Checking for editline : Yes
# Checking for NSS : Yes
# Features : +CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SECHASH +ASYNCDNS +READLINE +IPV6 -DEBUG
# Creating Makefile
# Creating doc/Makefile
# Creating test/unit/Makefile
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c array.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c cmdparse.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c conf.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c local.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c logging.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c main.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c memory.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c reference.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c regress.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c rtc.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sched.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sources.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sourcestats.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c stubs.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sys.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c smooth.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c tempcomp.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c util.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -I/usr/include/nss -I/usr/include/nspr -c hash_nss.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sys_generic.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sys_linux.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c sys_timex.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c cmdmon.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c manual.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c pktlength.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c ntp_core.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c ntp_io.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c ntp_sources.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c addrfilt.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c clientlog.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c keys.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c nameserv.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c refclock.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c refclock_phc.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c refclock_pps.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c refclock_shm.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c refclock_sock.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c nameserv_async.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c rtc_linux.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c client.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c getdate.c
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o chronyd array.o cmdparse.o conf.o local.o logging.o main.o memory.o reference.o regress.o rtc.o sched.o sources.o sourcestats.o stubs.o sys.o smooth.o tempcomp.o util.o hash_nss.o sys_generic.o sys_linux.o sys_timex.o cmdmon.o manual.o pktlength.o ntp_core.o ntp_io.o ntp_sources.o addrfilt.o clientlog.o keys.o nameserv.o refclock.o refclock_phc.o refclock_pps.o refclock_shm.o refclock_sock.o nameserv_async.o rtc_linux.o -lm -lfreebl3 -lcap
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o chronyc array.o client.o cmdparse.o getdate.o memory.o nameserv.o pktlength.o util.o hash_nss.o -lm -lfreebl3 -ledit
# ==> Entering fakeroot environment...
# ==> Starting package()...
# [ -d /tmp/chrony/pkg/chrony/etc ] || mkdir -p /tmp/chrony/pkg/chrony/etc
# make -C doc install-docs
# [ -d /tmp/chrony/pkg/chrony/usr/sbin ] || mkdir -p /tmp/chrony/pkg/chrony/usr/sbin
# make[1]: Entering directory '/tmp/chrony/src/chrony-2.4/doc'
# asciidoctor -b html -o - chrony.conf.adoc | sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" > chrony.conf.html
# /bin/sh: asciidoctor: command not found
# [ -d /tmp/chrony/pkg/chrony/usr/bin ] || mkdir -p /tmp/chrony/pkg/chrony/usr/bin
# asciidoctor -b html -o - chronyc.adoc | sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" > chronyc.html
# /bin/sh: asciidoctor: command not found
# [ -d /tmp/chrony/pkg/chrony/var/lib/chrony ] || mkdir -p /tmp/chrony/pkg/chrony/var/lib/chrony
# asciidoctor -b html -o - chronyd.adoc | sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" > chronyd.html
# if [ -f /tmp/chrony/pkg/chrony/usr/sbin/chronyd ]; then rm -f /tmp/chrony/pkg/chrony/usr/sbin/chronyd ; fi
# /bin/sh: asciidoctor: command not found
# asciidoctor -b html -o - faq.adoc | sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" > faq.html
# if [ -f /tmp/chrony/pkg/chrony/usr/bin/chronyc ]; then rm -f /tmp/chrony/pkg/chrony/usr/bin/chronyc ; fi
# cp chronyd /tmp/chrony/pkg/chrony/usr/sbin/chronyd
# /bin/sh: asciidoctor: command not found
# chmod 755 /tmp/chrony/pkg/chrony/usr/sbin/chronyd
# asciidoctor -b html -o - installation.adoc | sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" > installation.html
# cp chronyc /tmp/chrony/pkg/chrony/usr/bin/chronyc
# chmod 755 /tmp/chrony/pkg/chrony/usr/bin/chronyc
# /bin/sh: asciidoctor: command not found
# make -C doc install
# [ -d /tmp/chrony/pkg/chrony/usr/share/doc/chrony ] || mkdir -p /tmp/chrony/pkg/chrony/usr/share/doc/chrony
# for f in chrony.conf.html chronyc.html chronyd.html faq.html installation.html; do \
# cp $f /tmp/chrony/pkg/chrony/usr/share/doc/chrony; \
# chmod 644 /tmp/chrony/pkg/chrony/usr/share/doc/chrony/$f; \
# done
# make[1]: Entering directory '/tmp/chrony/src/chrony-2.4/doc'
# sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" < chrony.conf.man.in > chrony.conf.man
# sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" < chronyc.man.in > chronyc.man
# make[1]: Leaving directory '/tmp/chrony/src/chrony-2.4/doc'
# sed -e "s%\@SYSCONFDIR\@%/etc%g; s%\@BINDIR\@%/usr/bin%g; s%\@SBINDIR\@%/usr/sbin%g; s%\@CHRONY_VERSION\@%2.4%g; s%\@DEFAULT_HWCLOCK_FILE\@%%g; s%\@DEFAULT_USER\@%root%g; s%\@CHRONYSOCKDIR\@%/var/run/chrony%g; s%\@CHRONYVARDIR\@%/var/lib/chrony%g;" < chronyd.man.in > chronyd.man
# [ -d /tmp/chrony/pkg/chrony/usr/share/man/man1 ] || mkdir -p /tmp/chrony/pkg/chrony/usr/share/man/man1
# [ -d /tmp/chrony/pkg/chrony/usr/share/man/man5 ] || mkdir -p /tmp/chrony/pkg/chrony/usr/share/man/man5
# [ -d /tmp/chrony/pkg/chrony/usr/share/man/man8 ] || mkdir -p /tmp/chrony/pkg/chrony/usr/share/man/man8
# cp chronyc.man /tmp/chrony/pkg/chrony/usr/share/man/man1/chronyc.1
# chmod 644 /tmp/chrony/pkg/chrony/usr/share/man/man1/chronyc.1
# cp chronyd.man /tmp/chrony/pkg/chrony/usr/share/man/man8/chronyd.8
# chmod 644 /tmp/chrony/pkg/chrony/usr/share/man/man8/chronyd.8
# cp chrony.conf.man /tmp/chrony/pkg/chrony/usr/share/man/man5/chrony.conf.5
# chmod 644 /tmp/chrony/pkg/chrony/usr/share/man/man5/chrony.conf.5
# make[1]: Leaving directory '/tmp/chrony/src/chrony-2.4/doc'
# chown: changing ownership of '/tmp/chrony/pkg/chrony/var/lib/chrony': Operation not permitted
# ==> ERROR: A failure occurred in package().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/chrony/src/chrony-2.4/config.log'
# docheck.c:
# int main(int argc, char **argv) {
#
# return 0; }
# gcc -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
#
# char x[sizeof(time_t) > 4 ? 1 : -1] = {0};
# return x[0];
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
# return (int) pow(2.0, log(sqrt((double)argc)));
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
# /tmp/ccHYfH4N.o: In function `main':
# /tmp/chrony/src/chrony-2.4/docheck.c:3: undefined reference to `sqrt'
# /tmp/chrony/src/chrony-2.4/docheck.c:3: undefined reference to `log'
# /tmp/chrony/src/chrony-2.4/docheck.c:3: undefined reference to `pow'
# collect2: error: ld returned 1 exit status
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
# return (int) pow(2.0, log(sqrt((double)argc)));
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c -lm
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
#
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
#
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
#
# struct in_pktinfo ipi;
# return sizeof (ipi.ipi_spec_dst.s_addr) + IP_PKTINFO;
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# #include
# int main(int argc, char **argv) {
#
# struct sockaddr_in6 n;
# char p[100];
# n.sin6_addr = in6addr_any;
# return !inet_ntop(AF_INET6, &n.sin6_addr.s6_addr, p, sizeof(p));
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
#
# return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
# docheck.c: In function 'main':
# docheck.c:5:20: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
# return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;
# ^~~~~~
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
# return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -D_GNU_SOURCE -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# #include
# int main(int argc, char **argv) {
# return getaddrinfo(0, 0, 0, 0);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
# return pthread_create((void *)1, NULL, (void *)1, NULL);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
# arc4random_buf(NULL, 0);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
# docheck.c: In function 'main':
# docheck.c:3:1: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration]
# arc4random_buf(NULL, 0);
# ^~~~~~~~~~~~~~
# /tmp/cckp2Hfo.o: In function `main':
# /tmp/chrony/src/chrony-2.4/docheck.c:3: undefined reference to `arc4random_buf'
# collect2: error: ld returned 1 exit status
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
#
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
# docheck.c:1:25: fatal error: sys/timepps.h: No such file or directory
# #include
# ^
# compilation terminated.
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
#
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
# docheck.c:1:21: fatal error: timepps.h: No such file or directory
# #include
# ^
# compilation terminated.
#
# docheck.c:
# #include
# #include
# #include
# #include
# #include
# int main(int argc, char **argv) {
# prctl(PR_SET_KEEPCAPS, 1);cap_set_proc(cap_from_text("cap_sys_time=ep"));
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c -lcap
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
# ioctl(1, RTC_UIE_ON&RTC_UIE_OFF&RTC_RD_TIME&RTC_SET_TIME, 0&RTC_UF);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
# ioctl(1, PTP_CLOCK_GETCAPS, 0);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
# clock_gettime(0, NULL);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
#
# docheck.c:
# #include
# int main(int argc, char **argv) {
#
# struct sched_param sched;
# sched_get_priority_max(SCHED_FIFO);
# sched_setscheduler(0, SCHED_FIFO, &sched);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
#
# struct rlimit rlim;
# setrlimit(RLIMIT_MEMLOCK, &rlim);
# mlockall(MCL_CURRENT|MCL_FUTURE);
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c
#
# docheck.c:
# #include
# #include
# int main(int argc, char **argv) {
# add_history(readline("prompt"));
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -o docheck docheck.c -ledit
#
# docheck.c:
# #include
# #include
# #include
# int main(int argc, char **argv) {
# NSSLOWHASH_Begin(NSSLOWHASH_NewContext(NSSLOW_Init(), HASH_AlgSHA512));
# return 0; }
# gcc -O2 -g -Wmissing-prototypes -Wall -pthread -I/usr/include/nss -I/usr/include/nspr -o docheck docheck.c -lfreebl3
#