+ 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/microsocks-1.0.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/microsocks-1.0.5/work.log ===> Building for microsocks-1.0.5 --- sockssrv.o --- --- server.o --- --- sblist.o --- --- sblist_delete.o --- --- sockssrv.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -Wall -std=c99 -I/usr/include -c sockssrv.c --- server.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -Wall -std=c99 -I/usr/include -c server.c --- sblist.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -Wall -std=c99 -I/usr/include -c sblist.c --- sblist_delete.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -Wall -std=c99 -I/usr/include -c sblist_delete.c --- server.o --- In file included from server.c:1: server.h:11: warning: ignoring '#pragma RcB2 DEP' [-Wunknown-pragmas] 11 | #pragma RcB2 DEP "server.c" --- sblist.o --- In file included from sblist.c:3: sblist.h:90: warning: ignoring '#pragma RcB2 DEP' [-Wunknown-pragmas] 90 | #pragma RcB2 DEP "sblist.c" "sblist_delete.c" --- sblist_delete.o --- In file included from sblist_delete.c:1: sblist.h:90: warning: ignoring '#pragma RcB2 DEP' [-Wunknown-pragmas] 90 | #pragma RcB2 DEP "sblist.c" "sblist_delete.c" --- sockssrv.o --- In file included from sockssrv.c:36: server.h:11: warning: ignoring '#pragma RcB2 DEP' [-Wunknown-pragmas] 11 | #pragma RcB2 DEP "server.c" In file included from sockssrv.c:37: sblist.h:90: warning: ignoring '#pragma RcB2 DEP' [-Wunknown-pragmas] 90 | #pragma RcB2 DEP "sblist.c" "sblist_delete.c" sockssrv.c: In function 'connect_socks_target': sockssrv.c:111:36: error: implicit declaration of function 'dprintf'; did you mean 'vprintf'? [-Wimplicit-function-declaration] 111 | #define dolog(...) do { if(!quiet) dprintf(2, __VA_ARGS__); } while(0) | ^~~~~~~ sockssrv.c:198:17: note: in expansion of macro 'dolog' 198 | dolog("client[%d] %s: connected to %s:%d\n", client->fd, clientname, namebuf, port); | ^~~~~ sockssrv.c: In function 'main': sockssrv.c:416:21: error: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration] 416 | while((ch = getopt(argc, argv, ":1qb:i:p:u:P:w:")) != -1) { | ^~~~~~ | gettxt sockssrv.c:423:37: error: 'optarg' undeclared (first use in this function) 423 | p = optarg; | ^~~~~~ sockssrv.c:423:37: note: each undeclared identifier is reported only once for each function it appears in sockssrv.c:443:45: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 443 | auth_user = strdup(optarg); | ^~~~~~ | strcmp sockssrv.c:457:87: error: 'optopt' undeclared (first use in this function) 457 | dprintf(2, "error: option -%c requires an operand\n", optopt); | ^~~~~~ sockssrv.c:489:25: error: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] 489 | usleep(FAILURE_TIMEOUT); | ^~~~~~ | sleep *** [sockssrv.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/microsocks/work/microsocks-1.0.5 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/microsocks/work/microsocks-1.0.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/microsocks *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/microsocks