+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpdstat-0.8nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpdstat-0.8nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tcpdstat-0.8nb1 --- stat.o --- --- net_read.o --- --- stat.o --- cc -pipe -O2 -I/usr/pkg/include -I. -DINET6 -c stat.c --- net_read.o --- cc -pipe -O2 -I/usr/pkg/include -I. -DINET6 -c net_read.c --- stat.o --- stat.c: In function 'main': stat.c:123:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 123 | if (strcmp(file, "-") != 0) { | ^~~~~~ stat.c:45:1: note: include '<string.h>' or provide a declaration of 'strcmp' 44 | #include "tcpdstat.h" +++ |+#include <string.h> 45 | stat.c: In function 'show_stat': stat.c:257:10: warning: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] 257 | tm = localtime(&t); | ^~~~~~~~~ stat.c:257:8: warning: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 257 | tm = localtime(&t); | ^ stat.c:258:44: error: invalid use of undefined type 'struct tm' 258 | printf("Id: %.4d%.2d%.2d%.2d%.2d\n", tm->tm_year + 1900, tm->tm_mon + 1, | ^~ stat.c:258:64: error: invalid use of undefined type 'struct tm' 258 | printf("Id: %.4d%.2d%.2d%.2d%.2d\n", tm->tm_year + 1900, tm->tm_mon + 1, | ^~ stat.c:259:14: error: invalid use of undefined type 'struct tm' 259 | tm->tm_mday, tm->tm_hour, tm->tm_min); | ^~ stat.c:259:27: error: invalid use of undefined type 'struct tm' 259 | tm->tm_mday, tm->tm_hour, tm->tm_min); | ^~ stat.c:259:40: error: invalid use of undefined type 'struct tm' 259 | tm->tm_mday, tm->tm_hour, tm->tm_min); | ^~ stat.c:260:29: warning: implicit declaration of function 'ctime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 260 | printf("StartTime: %s", ctime(&t)); | ^~~~~ | utimes *** [stat.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/tcpdstat/work/tcpd-tools-0.8/tcpdstat bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/tcpdstat/work/tcpd-tools-0.8/tcpdstat *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/tcpdstat *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/tcpdstat