+ 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/nntpclnt-1.6.1nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nntpclnt-1.6.1nb6/work.log ===> Building for nntpclnt-1.6.1nb6 --- version.o --- --- uname.o --- --- inews.o --- --- nntpclnt.o --- --- version.o --- gcc -pipe -O -DUSG -DNNTPSRC -c version.c --- uname.o --- gcc -pipe -O -DUSG -DNNTPSRC -c uname.c --- inews.o --- gcc -pipe -O -DUSG -DNNTPSRC -c inews.c --- nntpclnt.o --- gcc -pipe -O -DUSG -DNNTPSRC -c nntpclnt.c --- uname.o --- uname.c:66:1: error: return type defaults to 'int' [-Wimplicit-int] 66 | uname(uptr) | ^~~~~ uname.c: In function 'uname': uname.c:74:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 74 | exit(1); | ^~~~ uname.c:20:1: note: include '' or provide a declaration of 'exit' 19 | #include "config.h" +++ |+#include 20 | uname.c:74:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 74 | exit(1); | ^~~~ uname.c:74:9: note: include '' or provide a declaration of 'exit' *** [uname.o] Error code 1 bmake: stopped making "inews" in /home/pbulk/build/news/nntpclnt/work/nntpclnt-1.6.1 --- nntpclnt.o --- nntpclnt.c:201:1: error: return type defaults to 'int' [-Wimplicit-int] 201 | server_init(machine) | ^~~~~~~~~~~ nntpclnt.c: In function 'server_init': nntpclnt.c:230:20: error: implicit declaration of function 'dup' [-Wimplicit-function-declaration] 230 | sockt_wr = dup(sockt_rd); | ^~~ nntpclnt.c:253:21: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 253 | result[0] = atoi(line); | ^~~~ nntpclnt.c: In function 'get_tcp_socket': nntpclnt.c:418:24: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 418 | (void) close(s); | ^~~~~ | pclose nntpclnt.c: At top level: nntpclnt.c:600:1: error: return type defaults to 'int' [-Wimplicit-int] 600 | handle_server_response(response, nntpserver) | ^~~~~~~~~~~~~~~~~~~~~~ nntpclnt.c:751:1: error: return type defaults to 'int' [-Wimplicit-int] 751 | get_server(string, size) | ^~~~~~~~~~ *** [nntpclnt.o] Error code 1 bmake: stopped making "inews" in /home/pbulk/build/news/nntpclnt/work/nntpclnt-1.6.1 bmake: 2 errors bmake: stopped making "inews" in /home/pbulk/build/news/nntpclnt/work/nntpclnt-1.6.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/nntpclnt *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/news/nntpclnt