The build took 00h 01m 02s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
2,043 |
ansic |
379 |
sh |
92 |
makefile |
21 |
pascal |
2,535 |
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: libfaketime 0.9.6-2 (Tue Apr 4 23:02:36 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
clang -o libfaketimeMT.o -c -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib/faketime'"' libfaketime.c
clang -o faketime -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib/faketime'"' faketime.c -Wl,--version-script=libfaketime.map -lpthread -lrt
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: error: while loop has empty body [-Werror,-Wempty-body]
DONT_FAKE_TIME((*real_clock_gettime)(CLOCK_REALTIME, &systime->real));
^
libfaketime.clibfaketime.c::312312::7272:: note: noteput 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
: 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:1430:29: error: implicit declaration of function 'dlvsym' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
real_timer_settime_22 = dlvsym(RTLD_NEXT, "timer_settime","GLIBC_2.2");
^
libfaketime.c:1430:29: note: did you mean 'dlsym'?
/sysroot/include/dlfcn.h:25:8: note: 'dlsym' declared here
void *dlsym(void *__restrict, const char *__restrict);
^
libfaketime.c:1430:25: error: incompatible integer to pointer conversion assigning to 'int (*)(int, int, const struct itimerspec *, struct itimerspec *)' from 'int' [-Werror,-Wint-conversion]
real_timer_settime_22 = dlvsym(RTLD_NEXT, "timer_settime","GLIBC_2.2");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:1431:26: error: incompatible integer to pointer conversion assigning to 'int (*)(timer_t, int, const struct itimerspec *, struct itimerspec *)' (aka 'int (*)(void *, int, const struct itimerspec *, struct itimerspec *)') from 'int' [-Werror,-Wint-conversion]
real_timer_settime_233 = dlvsym(RTLD_NEXT, "timer_settime","GLIBC_2.3.3");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:1436:25: error: incompatible integer to pointer conversion assigning to 'int (*)(int, struct itimerspec *)' from 'int' [-Werror,-Wint-conversion]
real_timer_gettime_22 = dlvsym(RTLD_NEXT, "timer_gettime","GLIBC_2.2");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:1437:26: error: incompatible integer to pointer conversion assigning to 'int (*)(timer_t, struct itimerspec *)' (aka 'int (*)(void *, struct itimerspec *)') from 'int' [-Werror,-Wint-conversion]
real_timer_gettime_233 = dlvsym(RTLD_NEXT, "timer_gettime","GLIBC_2.3.3");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
make[1]: *** [Makefile:88: libfaketime.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libfaketime.c:1430:29: error: implicit declaration of function 'dlvsym' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
real_timer_settime_22 = dlvsym(RTLD_NEXT, "timer_settime","GLIBC_2.2");
^
libfaketime.c:1430:29: note: did you mean 'dlsym'?
/sysroot/include/dlfcn.h:25:8: note: 'dlsym' declared here
void *dlsym(void *__restrict, const char *__restrict);
^
libfaketime.c:1430:25: error: incompatible integer to pointer conversion assigning to 'int (*)(int, int, const struct itimerspec *, struct itimerspec *)' from 'int' [-Werror,-Wint-conversion]
real_timer_settime_22 = dlvsym(RTLD_NEXT, "timer_settime","GLIBC_2.2");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:1431:26: error: incompatible integer to pointer conversion assigning to 'int (*)(timer_t, int, const struct itimerspec *, struct itimerspec *)' (aka 'int (*)(void *, int, const struct itimerspec *, struct itimerspec *)') from 'int' [-Werror,-Wint-conversion]
real_timer_settime_233 = dlvsym(RTLD_NEXT, "timer_settime","GLIBC_2.3.3");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:1436:25: error: incompatible integer to pointer conversion assigning to 'int (*)(int, struct itimerspec *)' from 'int' [-Werror,-Wint-conversion]
real_timer_gettime_22 = dlvsym(RTLD_NEXT, "timer_gettime","GLIBC_2.2");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:1437:26: error: incompatible integer to pointer conversion assigning to 'int (*)(timer_t, struct itimerspec *)' (aka 'int (*)(void *, struct itimerspec *)') from 'int' [-Werror,-Wint-conversion]
real_timer_gettime_233 = dlvsym(RTLD_NEXT, "timer_gettime","GLIBC_2.3.3");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
make[1]: *** [Makefile:88: libfaketimeMT.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...