The build took 00h 01m 16s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
1,395 |
ansic |
232 |
sh |
1,627 |
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: time 1.7-8 (Wed Apr 5 01:25:42 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...creating cache ./config.cachechecking for gcc... clangchecking whether we are using GNU C... yeschecking how to run the C preprocessor... clang -Echecking for a BSD compatible install... /usr/bin/install -cchecking whether cross-compiling... yeschecking for ANSI C header files... yeschecking for sys/wait.h that is POSIX.1 compatible... yeschecking for unistd.h... yeschecking for string.h... yeschecking for sys/rusage.h... nochecking for working const... yeschecking for pid_t... yeschecking for size_t... yeschecking return type of signal handlers... voidchecking for struct timeval in sys/time.h... yeschecking for vprintf... yeschecking for wait3 that fills in rusage... nochecking for strerror... yeschecking for getpagesize... yesupdating cache ./config.cachecreating ./config.statuscreating Makefileclang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. time.cclang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. getopt.cclang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. getopt1.cclang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. error.cgetopt.c:353:54: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ()); ^getopt.c:358:24: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] nonoption_flags_len = strlen (nonoption_flags); ^getopt.c:358:24: note: include the header or explicitly provide a declaration for 'strlen' getopt.c:478:30: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^getopt.c:478:30: note: include the header or explicitly provide a declaration for 'strcmp' getopt.c:554:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^getopt.c:554:7: note: include the header or explicitly provide a declaration for 'strncmp' getopt.c:604:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^clang -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. resuse.cIn file included from time.c:34:./resuse.h:43:8: error: redefinition of 'rusage'struct rusage ^/sysroot/include/sys/resource.h:28:8: note: previous definition is herestruct rusage ^time.c:631:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]void^time.c:631:1: note: change return type to 'int'void^~~~inttime.c:640:16: warning: passing 'const char **' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] run_command (command_line, &res); ^~~~~~~~~~~~2 warnings and 1 error generated.make: *** [Makefile:130: time.o] Error 1make: *** Waiting for unfinished jobs....5 warnings generated.In file included from resuse.c:42:./resuse.h:43:8: error: redefinition of 'rusage'struct rusage ^/sysroot/include/sys/resource.h:28:8: note: previous definition is herestruct rusage ^1 error generated.make: *** [Makefile:130: resuse.o] Error 1==> ERROR: A failure occurred in build(). Aborting...Printing config logfiles
CMD: config logfiles '/tmp/time/src/time-1.7/config.log'
This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.configure:627: clang -E conftest.cconfigure:685: clang -E conftest.c >/dev/null 2>conftest.outconfigure:812: clang -o conftest conftest.c 1>&5configure:809:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]main(){return(0);}^1 warning generated.configure:838: clang -E conftest.c >/dev/null 2>conftest.outconfigure:944: clang -c conftest.c 1>&5configure:976: clang -E conftest.c >/dev/null 2>conftest.outconfigure:976: clang -E conftest.c >/dev/null 2>conftest.outconfigure:976: clang -E conftest.c >/dev/null 2>conftest.outconfigure:972:10: fatal error: 'sys/rusage.h' file not found#include ^1 error generated.configure:1056: clang -c conftest.c 1>&5configure:1162: clang -c conftest.c 1>&5configure:1231: clang -o conftest conftest.c 1>&5configure:1214:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]char vprintf();^configure:1214:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'1 warning generated.configure:1391: clang -o conftest conftest.c 1>&5configure:1374:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]char strerror();^configure:1374:6: note: 'strerror' is a builtin with type 'char *(int)'1 warning generated.configure:1424: clang -o conftest conftest.c 1>&5configure:1420:1: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration]getpagesize();^1 warning generated.