The build took 00h 01m 07s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
23,233 |
ansic |
1,707 |
sh |
866 |
yacc |
173 |
makefile |
25,979 |
total |
The process tree of the build process is here.
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:
There were existing files in /sysroot, using those
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: chrony 2.4-1 (Wed Apr 5 01:59:18 UTC 2017)
==> 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 clang : Yes
Checking for 64-bit time_t : Yes
NTP time mapped to 1967-04-18T01:59:18Z/2103-05-25T08:27:34Z
Checking for math : Yes
Checking for : Yes
Checking for : Yes
Checking for struct in_pktinfo : Yes
Checking for IPv6 support : Yes
Checking for struct in6_pktinfo : Yes
Checking for getaddrinfo() : Yes
Checking for pthread : Yes
Checking for arc4random_buf() : No
Checking for : No
Checking for : No
Checking for libcap : No
Checking for : No
Checking for : No
Checking for sched_setscheduler() : Yes
Checking for mlockall() : Yes
Checking for editline : No
Checking for readline : No
Checking for readline with -lncurses : No
Checking for NSS : No
Checking for tomcrypt : No
Features : +CMDMON +NTP +REFCLOCK -RTC -PRIVDROP -SCFILTER -SECHASH +ASYNCDNS -READLINE +IPV6 -DEBUG
Creating Makefile
Creating doc/Makefile
Creating test/unit/Makefile
clang -O2 -g -pthread -c array.c
clang -O2 -g -pthread -c cmdparse.c
clang -O2 -g -pthread -c conf.c
clang -O2 -g -pthread -c local.c
clang -O2 -g -pthread -c logging.c
clang -O2 -g -pthread -c main.c
clang -O2 -g -pthread -c memory.c
clang -O2 -g -pthread -c reference.c
clang -O2 -g -pthread -c regress.c
clang -O2 -g -pthread -c rtc.c
clang -O2 -g -pthread -c sched.c
clang -O2 -g -pthread -c sources.c
clang -O2 -g -pthread -c sourcestats.c
clang -O2 -g -pthread -c stubs.c
clang -O2 -g -pthread -c sys.c
clang -O2 -g -pthread -c smooth.c
clang -O2 -g -pthread -c tempcomp.c
clang -O2 -g -pthread -c util.c
clang -O2 -g -pthread -c hash_intmd5.c
clang -O2 -g -pthread -c sys_generic.c
clang -O2 -g -pthread -c sys_linux.c
clang -O2 -g -pthread -c sys_timex.c
clang -O2 -g -pthread -c cmdmon.c
clang -O2 -g -pthread -c manual.c
clang -O2 -g -pthread -c pktlength.c
clang -O2 -g -pthread -c ntp_core.c
clang -O2 -g -pthread -c ntp_io.c
clang -O2 -g -pthread -c ntp_sources.c
clang -O2 -g -pthread -c addrfilt.c
clang -O2 -g -pthread -c clientlog.c
clang -O2 -g -pthread -c keys.c
clang -O2 -g -pthread -c nameserv.c
clang -O2 -g -pthread -c refclock.c
clang -O2 -g -pthread -c refclock_phc.c
clang -O2 -g -pthread -c refclock_pps.c
clang -O2 -g -pthread -c refclock_shm.c
clang -O2 -g -pthread -c refclock_sock.c
clang -O2 -g -pthread -c nameserv_async.c
clang -O2 -g -pthread -c client.c
clang -O2 -g -pthread -c getdate.c
clang -O2 -g -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_intmd5.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
clang -O2 -g -pthread -o chronyc array.o client.o cmdparse.o getdate.o memory.o nameserv.o pktlength.o util.o hash_intmd5.o
==> Entering fakeroot environment...
==> Starting package()...
[ -d /tmp/chrony/pkg/chrony/etc ] || mkdir -p /tmp/chrony/pkg/chrony/etc
make -C doc install-docs
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
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
[ -d /tmp/chrony/pkg/chrony/usr/sbin ] || mkdir -p /tmp/chrony/pkg/chrony/usr/sbin
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
/bin/sh: asciidoctor: command not found
/bin/sh: asciidoctor: command not found
/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
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
/bin/sh: asciidoctor: command not found
[ -d /tmp/chrony/pkg/chrony/usr/bin ] || mkdir -p /tmp/chrony/pkg/chrony/usr/bin
/bin/sh: asciidoctor: command not found
[ -d /tmp/chrony/pkg/chrony/usr/share/doc/chrony ] || mkdir -p /tmp/chrony/pkg/chrony/usr/share/doc/chrony
[ -d /tmp/chrony/pkg/chrony/var/lib/chrony ] || mkdir -p /tmp/chrony/pkg/chrony/var/lib/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
if [ -f /tmp/chrony/pkg/chrony/usr/sbin/chronyd ]; then rm -f /tmp/chrony/pkg/chrony/usr/sbin/chronyd ; fi
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
chmod 755 /tmp/chrony/pkg/chrony/usr/sbin/chronyd
cp chronyc /tmp/chrony/pkg/chrony/usr/bin/chronyc
chmod 755 /tmp/chrony/pkg/chrony/usr/bin/chronyc
make -C doc install
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
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
make[1]: Leaving directory '/tmp/chrony/src/chrony-2.4/doc'
[ -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; }
clang -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; }
clang -O2 -g -o docheck docheck.c
docheck.c:
#include
int main(int argc, char **argv) {
return (int) pow(2.0, log(sqrt((double)argc)));
return 0; }
clang -O2 -g -o docheck docheck.c
docheck.c:
#include
int main(int argc, char **argv) {
return 0; }
clang -O2 -g -o docheck docheck.c
docheck.c:
#include
int main(int argc, char **argv) {
return 0; }
clang -O2 -g -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; }
clang -O2 -g -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; }
clang -O2 -g -o docheck docheck.c
docheck.c:
#include
#include
int main(int argc, char **argv) {
return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;
return 0; }
clang -O2 -g -o docheck docheck.c
docheck.c:
#include
#include
#include
int main(int argc, char **argv) {
return getaddrinfo(0, 0, 0, 0);
return 0; }
clang -O2 -g -o docheck docheck.c
docheck.c:
#include
int main(int argc, char **argv) {
return pthread_create((void *)1, NULL, (void *)1, NULL);
return 0; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:
#include
int main(int argc, char **argv) {
arc4random_buf(NULL, 0);
return 0; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:3:1: warning: implicit declaration of function 'arc4random_buf' is invalid in C99 [-Wimplicit-function-declaration]
arc4random_buf(NULL, 0);
^
1 warning generated.
docheck.c:3: error: undefined reference to 'arc4random_buf'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
docheck.c:
#include
int main(int argc, char **argv) {
return 0; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:1:10: fatal error: 'sys/timepps.h' file not found
#include
^
1 error generated.
docheck.c:
#include
int main(int argc, char **argv) {
return 0; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:1:10: fatal error: 'timepps.h' file not found
#include
^
1 error generated.
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; }
clang -O2 -g -pthread -o docheck docheck.c -lcap
docheck.c:4:10: fatal error: 'sys/capability.h' file not found
#include
^
1 error generated.
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; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:2:10: fatal error: 'linux/rtc.h' file not found
#include
^
1 error generated.
docheck.c:
#include
#include
int main(int argc, char **argv) {
ioctl(1, PTP_CLOCK_GETCAPS, 0);
return 0; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:2:10: fatal error: 'linux/ptp_clock.h' file not found
#include
^
1 error generated.
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; }
clang -O2 -g -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; }
clang -O2 -g -pthread -o docheck docheck.c
docheck.c:
#include
#include
int main(int argc, char **argv) {
add_history(readline("prompt"));
return 0; }
clang -O2 -g -pthread -o docheck docheck.c -ledit
docheck.c:2:10: fatal error: 'editline/readline.h' file not found
#include
^
1 error generated.
docheck.c:
#include
#include
#include
int main(int argc, char **argv) {
add_history(readline("prompt"));
return 0; }
clang -O2 -g -pthread -o docheck docheck.c -lreadline
docheck.c:2:10: fatal error: 'readline/readline.h' file not found
#include
^
1 error generated.
docheck.c:
#include
#include
#include
int main(int argc, char **argv) {
add_history(readline("prompt"));
return 0; }
clang -O2 -g -pthread -o docheck docheck.c -lreadline -lncurses
docheck.c:2:10: fatal error: 'readline/readline.h' file not found
#include
^
1 error generated.
docheck.c:
#include
#include
#include
int main(int argc, char **argv) {
NSSLOWHASH_Begin(NSSLOWHASH_NewContext(NSSLOW_Init(), HASH_AlgSHA512));
return 0; }
clang -O2 -g -pthread -I/usr/include/nss -I/usr/include/nspr -o docheck docheck.c -lfreebl3
/sysroot/bin/ld: error: cannot find -lfreebl3
docheck.c:5: error: undefined reference to 'NSSLOW_Init'
docheck.c:5: error: undefined reference to 'NSSLOWHASH_NewContext'
docheck.c:5: error: undefined reference to 'NSSLOWHASH_Begin'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
docheck.c:
#include
int main(int argc, char **argv) {
hash_memory_multi(find_hash("md5"), NULL, NULL, NULL, 0, NULL, 0);
return 0; }
clang -O2 -g -pthread -I/usr/include/tomcrypt -o docheck docheck.c -ltomcrypt
docheck.c:1:10: fatal error: 'tomcrypt.h' file not found
#include
^
1 error generated.