+ 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/socks4-2.2nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socks4-2.2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for socks4-2.2nb1
--- LIB ---
--- LIBIDENT ---
--- LIB ---
(cd lib; /usr/pkg/bin/bmake CC="cc" GETPASS=""  OPTIMIZE="-pipe -O2"  RCMD="Rrcmd.o" SUPPORT_RCMD="-DSUPPORT_RCMD"  DNS_THROUGH_NIS=""  OTHER_CFLAGS="   "  RANLIB="ranlib")
--- LIBIDENT ---
(cd libident; /usr/pkg/bin/bmake CC="cc" OTHER_CFLAGS=""  OPTIMIZE="-pipe -O2" RANLIB="ranlib")
--- echocwd ---
/home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident
--- LIB ---
--- echocwd ---
/home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib
--- Rconnect.o ---
--- LIBIDENT ---
--- ident.o ---
cc -pipe -O2   -c ident.c
--- LIB ---
cc -I../include -pipe -O2  -DSUPPORT_RCMD   -c Rconnect.c
--- LIBIDENT ---
ident.c: In function 'ident_lookup':
ident.c:76:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   76 |   ident = (IDENT *) malloc(sizeof(IDENT));
      |                     ^~~~~~
ident.c:18:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
   17 | #include "ident.h"
  +++ |+#include <stdlib.h>
   18 | 
ident.c:76:21: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
   76 |   ident = (IDENT *) malloc(sizeof(IDENT));
      |                     ^~~~~~
ident.c:76:21: note: include '<stdlib.h>' or provide a declaration of 'malloc'
ident.c:98:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
   98 |     free(ident);
      |     ^~~~
ident.c:98:5: note: include '<stdlib.h>' or provide a declaration of 'free'
ident.c:98:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
ident.c:98:5: note: include '<stdlib.h>' or provide a declaration of 'free'
ident.c: In function 'ident_free':
ident.c:135:23: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  135 |   if (id->identifier) free(id->identifier);
      |                       ^~~~
ident.c:135:23: note: include '<stdlib.h>' or provide a declaration of 'free'
ident.c:136:18: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  136 |   if (id->opsys) free(id->opsys);
      |                  ^~~~
ident.c:136:18: note: include '<stdlib.h>' or provide a declaration of 'free'
ident.c:137:20: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  137 |   if (id->charset) free(id->charset);
      |                    ^~~~
ident.c:137:20: note: include '<stdlib.h>' or provide a declaration of 'free'
ident.c:138:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  138 |   free(id);
      |   ^~~~
ident.c:138:3: note: include '<stdlib.h>' or provide a declaration of 'free'
--- LIB ---
Rconnect.c: In function 'SOCKSinit':
Rconnect.c:129:9: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration]
  129 |         gethostname(socks_src_name, sizeof(socks_src_name));
      |         ^~~~~~~~~~~
      |         gethostbyname
Rconnect.c:165:55: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
  165 |                 _res.nsaddr_list[0].sin_addr.s_addr = inet_addr(ns);
      |                                                       ^~~~~~~~~
Rconnect.c:211:40: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration]
  211 |                 if ((pw = getpwuid(uid=getuid())) == NULL) {
      |                                        ^~~~~~
      |                                        getpwuid
Rconnect.c:219:32: warning: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration]
  219 |         if ((pw = getpwuid(uid=geteuid())) == NULL) {
      |                                ^~~~~~~
      |                                getpwuid
Rconnect.c: In function 'connect_sockd':
Rconnect.c:289:29: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration]
  289 |                         if (dup2(new_sock, sock) < 0) {
      |                             ^~~~
Rconnect.c:290:33: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  290 |                                 close(new_sock);
      |                                 ^~~~~
      |                                 pclose
Rconnect.c: In function 'send_src_user':
Rconnect.c:343:25: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  343 |                 if((n = write(s, p, i)) <= 0) {
      |                         ^~~~~
      |                         fwrite
Rconnect.c: In function 'socksC_proto':
Rconnect.c:359:20: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration]
  359 |         if ((sta = socks_SendDst(s, dst)) < 0) {
      |                    ^~~~~~~~~~~~~
Rconnect.c:373:20: warning: implicit declaration of function 'socks_GetDst' [-Wimplicit-function-declaration]
  373 |         if ((sta = socks_GetDst(s, dst)) < 0) {
      |                    ^~~~~~~~~~~~
Rconnect.c: In function 'quit_C_proto':
Rconnect.c:386:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  386 |         exit(SOCKS_FAIL);
      |         ^~~~
Rconnect.c:33:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   32 | #include <sys/wait.h>
  +++ |+#include <stdlib.h>
   33 | 
Rconnect.c:386:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  386 |         exit(SOCKS_FAIL);
      |         ^~~~
Rconnect.c:386:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
Rconnect.c: In function 'do_C_proto':
Rconnect.c:397:9: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration]
  397 |         alarm(CLIENT_CONN_TIMEOUT);
      |         ^~~~~
Rconnect.c:404:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  404 |                 exit(SOCKS_FAIL);
      |                 ^~~~
Rconnect.c:404:17: note: include '<stdlib.h>' or provide a declaration of 'exit'
Rconnect.c:409:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  409 |                 exit(dst.cmd);
      |                 ^~~~
Rconnect.c:409:17: note: include '<stdlib.h>' or provide a declaration of 'exit'
Rconnect.c:411:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  411 |         exit(SOCKS_RESULT);
      |         ^~~~
Rconnect.c:411:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
Rconnect.c: At top level:
Rconnect.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int]
  416 | Rconnect(sock, sin, size)
      | ^~~~~~~~
Rconnect.c: In function 'Rconnect':
Rconnect.c:528:18: warning: implicit declaration of function 'socks_check_cconf' [-Wimplicit-function-declaration]
  528 |         direct = socks_check_cconf(&me, sin);
      |                  ^~~~~~~~~~~~~~~~~
Rconnect.c:600:29: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
  600 |         switch (child_pid = fork()) {
      |                             ^~~~
Rconnect.c: At top level:
Rconnect.c:639:1: warning: return type defaults to 'int' [-Wimplicit-int]
  639 | Rbind(sock, sin, size, dsthost)
      | ^~~~~
Rconnect.c:780:1: warning: return type defaults to 'int' [-Wimplicit-int]
  780 | Rlisten(s, n)
      | ^~~~~~~
Rconnect.c:797:1: warning: return type defaults to 'int' [-Wimplicit-int]
  797 | Rgetsockname(sock, sin, size)
      | ^~~~~~~~~~~~
Rconnect.c:823:1: warning: return type defaults to 'int' [-Wimplicit-int]
  823 | Raccept(sock, sin, size)
      | ^~~~~~~
Rconnect.c: In function 'Raccept':
Rconnect.c:851:32: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration]
  851 |                         return(dup(sock));
      |                                ^~~
--- LIBIDENT ---
--- id_open.o ---
cc -pipe -O2   -c id_open.c
id_open.c:60:14: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch]
   60 | extern void *malloc __P((int size));
      |              ^~~~~~
id_open.c:59:1: note: 'malloc' is declared in header '<stdlib.h>'
   58 | #include "ident.h"
  +++ |+#include <stdlib.h>
   59 | 
id_open.c:63:10: error: conflicting types for 'id_open'; have 'ident_t *(struct in_addr *, struct in_addr *, struct timeval *)'
   63 | ident_t *id_open
      |          ^~~~~~~
In file included from id_open.c:58:
ident.h:63:18: note: previous declaration of 'id_open' with type 'ident_t *(struct in_addr *, struct in_addr *, void *)'
   63 | extern ident_t * id_open __P((__STRUCT_IN_ADDR_P laddr,
      |                  ^~~~~~~
id_open.c: In function 'id_open':
id_open.c:90:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
   90 |     free(id);
      |     ^~~~
id_open.c:90:5: note: include '<stdlib.h>' or provide a declaration of 'free'
id_open.c:90:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
id_open.c:90:5: note: include '<stdlib.h>' or provide a declaration of 'free'
id_open.c:172:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  172 |   close(id->fd);
      |   ^~~~~
      |   pclose
id_open.c:173:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  173 |   free(id);
      |   ^~~~
id_open.c:173:3: note: include '<stdlib.h>' or provide a declaration of 'free'
*** [id_open.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident
1 error

bmake[1]: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/libident
*** [LIBIDENT] Error code 2

bmake: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2
--- LIB ---
A failure has been detected in another branch of the parallel make

bmake[1]: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2/lib
*** [LIB] Error code 2

bmake: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2
2 errors

bmake: stopped in /home/pbulk/build/net/socks4/work/socks.cstc.4.2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/socks4
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/socks4