+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gnutime-1.7nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gnutime-1.7nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for gnutime-1.7nb1 --- time.o --- --- getopt.o --- --- getopt1.o --- --- error.o --- --- resuse.o --- --- stamp-v --- --- time.o --- gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 time.c --- getopt.o --- gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 getopt.c --- error.o --- gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 error.c --- getopt1.o --- gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 getopt1.c --- resuse.o --- gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 resuse.c --- stamp-v --- rm -f t-version.c echo 'const char *version_string = "'GNU time 1.7'";' > t-version.c if cmp -s version.c t-version.c; then rm t-version.c; else mv t-version.c version.c; fi echo timestamp > stamp-v --- version.o --- gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 version.c --- time.o --- : error: two or more data types in declaration specifiers : error: two or more data types in declaration specifiers --- getopt.o --- : error: duplicate 'unsigned' --- getopt1.o --- : error: duplicate 'unsigned' --- resuse.o --- : error: two or more data types in declaration specifiers : error: two or more data types in declaration specifiers --- error.o --- : error: duplicate 'unsigned' --- getopt.o --- getopt.c: In function '_getopt_initialize': getopt.c:353:54: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 353 | sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ()); | ^~~~~~ getopt.c:358:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 358 | nonoption_flags_len = strlen (nonoption_flags); | ^~~~~~ getopt.c:358:24: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:103:1: note: include '' or provide a declaration of 'strlen' 102 | #include "getopt.h" +++ |+#include 103 | getopt.c: In function '_getopt_internal': getopt.c:478:30: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 478 | if (optind != argc && !strcmp (argv[optind], "--")) | ^~~~~~ getopt.c:554:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 554 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ^~~~~~~ getopt.c:554:43: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 554 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ~~~~~~~~^~~~~~~~~~ : note: built-in 'strncmp' declared here getopt.c:556:32: warning: incompatible implicit declaration of built-in function 'strlen' 556 | if (nameend - nextchar == strlen (p->name)) | ^~~~~~ getopt.c:556:32: note: include '' or provide a declaration of 'strlen' getopt.c:580:16: warning: incompatible implicit declaration of built-in function 'strlen' 580 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:580:16: note: include '' or provide a declaration of 'strlen' getopt.c:610:17: warning: incompatible implicit declaration of built-in function 'strlen' 610 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:610:17: note: include '' or provide a declaration of 'strlen' getopt.c:626:17: warning: incompatible implicit declaration of built-in function 'strlen' 626 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:626:17: note: include '' or provide a declaration of 'strlen' getopt.c:631:16: warning: incompatible implicit declaration of built-in function 'strlen' 631 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:631:16: note: include '' or provide a declaration of 'strlen' --- getopt1.o --- *** [getopt1.o] Error code 1 bmake: stopped in /home/pbulk/build/time/gnutime/work/time-1.7 --- getopt.o --- *** [getopt.o] Error code 1 bmake: stopped in /home/pbulk/build/time/gnutime/work/time-1.7 --- error.o --- *** [error.o] Error code 1 bmake: stopped in /home/pbulk/build/time/gnutime/work/time-1.7 --- resuse.o --- In file included from resuse.c:42: resuse.h:43:8: error: redefinition of 'struct rusage' 43 | struct rusage | ^~~~~~ In file included from /usr/include/sys/wait.h:40, from wait.h:21, from resuse.c:23: /usr/include/sys/resource.h:172:8: note: originally defined here 172 | struct rusage { | ^~~~~~ --- time.o --- In file included from time.c:34: resuse.h:43:8: error: redefinition of 'struct rusage' 43 | struct rusage | ^~~~~~ In file included from /usr/include/sys/wait.h:40, from wait.h:21, from time.c:24: /usr/include/sys/resource.h:172:8: note: originally defined here 172 | struct rusage { | ^~~~~~ time.c: In function 'run_command': time.c:620:20: warning: assignment to 'sighandler' {aka 'int (*)()'} from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 620 | interrupt_signal = signal (SIGINT, SIG_IGN); | ^ time.c:621:15: warning: assignment to 'sighandler' {aka 'int (*)()'} from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 621 | quit_signal = signal (SIGQUIT, SIG_IGN); | ^ time.c:627:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 627 | signal (SIGINT, interrupt_signal); | ^~~~~~~~~~~~~~~~ | | | sighandler {aka int (*)()} In file included from /usr/include/signal.h:42, from time.c:27: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'sighandler' {aka 'int (*)()'} 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ time.c:628:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 628 | signal (SIGQUIT, quit_signal); | ^~~~~~~~~~~ | | | sighandler {aka int (*)()} In file included from /usr/include/signal.h:42, from time.c:27: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'sighandler' {aka 'int (*)()'} 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ --- resuse.o --- *** [resuse.o] Error code 1 bmake: stopped in /home/pbulk/build/time/gnutime/work/time-1.7 --- time.o --- *** [time.o] Error code 1 bmake: stopped in /home/pbulk/build/time/gnutime/work/time-1.7 5 errors bmake: stopped in /home/pbulk/build/time/gnutime/work/time-1.7 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/time/gnutime *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/time/gnutime