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.cache
checking for gcc... clang
checking whether we are using GNU C... yes
checking how to run the C preprocessor... clang -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether cross-compiling... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unistd.h... yes
checking for string.h... yes
checking for sys/rusage.h... no
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for struct timeval in sys/time.h... yes
checking for vprintf... yes
checking for wait3 that fills in rusage... no
checking for strerror... yes
checking for getpagesize... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
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. time.c
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. getopt.c
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. getopt1.c
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. error.c
getopt.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.c
In 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 here
struct 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
^~~~
int
time.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 1
make: *** 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 here
struct 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 while
running configure, to aid debugging if configure makes a mistake.
configure:627: clang -E conftest.c
configure:685: clang -E conftest.c >/dev/null 2>conftest.out
configure:812: clang -o conftest conftest.c 1>&5
configure: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.out
configure:944: clang -c conftest.c 1>&5
configure:976: clang -E conftest.c >/dev/null 2>conftest.out
configure:976: clang -E conftest.c >/dev/null 2>conftest.out
configure:976: clang -E conftest.c >/dev/null 2>conftest.out
configure:972:10: fatal error: 'sys/rusage.h' file not found
#include
^
1 error generated.
configure:1056: clang -c conftest.c 1>&5
configure:1162: clang -c conftest.c 1>&5
configure:1231: clang -o conftest conftest.c 1>&5
configure: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>&5
configure: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>&5
configure:1420:1: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration]
getpagesize();
^
1 warning generated.