+ 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/multiskkserv-20100128nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/multiskkserv-20100128nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for multiskkserv-20100128nb1
/opt/pkg/bin/bmake  all-recursive
Making all in lib
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..   -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o libstring.lo libstring.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c libstring.c  -fPIC -DPIC -o .libs/libstring.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c libstring.c -o libstring.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..   -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o dlist.lo dlist.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c dlist.c  -fPIC -DPIC -o .libs/dlist.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c dlist.c -o dlist.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..   -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o hash.lo hash.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c hash.c  -fPIC -DPIC -o .libs/hash.o
hash.c: In function 'default_hash_function':
hash.c:46:23: warning: variable 'l' set but not used [-Wunused-but-set-variable]
   46 |   unsigned int h = 0, l;
      |                       ^
hash.c: In function 'default_hash_function2':
hash.c:63:23: warning: variable 'l' set but not used [-Wunused-but-set-variable]
   63 |   unsigned int h = 0, l;
      |                       ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c hash.c -o hash.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=link gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall   -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -o libutils.la  libstring.lo dlist.lo hash.lo  
libtool: link: ar cr .libs/libutils.a .libs/libstring.o .libs/dlist.o .libs/hash.o 
libtool: link: ranlib .libs/libutils.a
libtool: link: ( cd ".libs" && rm -f "libutils.la" && ln -s "../libutils.la" "libutils.la" )
Making all in tinycdb
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_init.lo cdb_init.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_init.c  -fPIC -DPIC -o .libs/cdb_init.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_init.c -o cdb_init.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_find.lo cdb_find.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_find.c  -fPIC -DPIC -o .libs/cdb_find.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_find.c -o cdb_find.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_findnext.lo cdb_findnext.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_findnext.c  -fPIC -DPIC -o .libs/cdb_findnext.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_findnext.c -o cdb_findnext.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_seq.lo cdb_seq.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_seq.c  -fPIC -DPIC -o .libs/cdb_seq.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_seq.c -o cdb_seq.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_seek.lo cdb_seek.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_seek.c  -fPIC -DPIC -o .libs/cdb_seek.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_seek.c -o cdb_seek.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_unpack.lo cdb_unpack.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_unpack.c  -fPIC -DPIC -o .libs/cdb_unpack.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_unpack.c -o cdb_unpack.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_make_add.lo cdb_make_add.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_make_add.c  -fPIC -DPIC -o .libs/cdb_make_add.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_make_add.c -o cdb_make_add.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_make_put.lo cdb_make_put.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_make_put.c  -fPIC -DPIC -o .libs/cdb_make_put.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_make_put.c -o cdb_make_put.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_make.lo cdb_make.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_make.c  -fPIC -DPIC -o .libs/cdb_make.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_make.c -o cdb_make.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c -o cdb_hash.lo cdb_hash.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_hash.c  -fPIC -DPIC -o .libs/cdb_hash.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -pipe -Wall -c cdb_hash.c -o cdb_hash.o >/dev/null 2>&1
/usr/bin/bash ../libtool --tag=CC    --mode=link gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall   -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -o libtinycdb.la  cdb_init.lo cdb_find.lo cdb_findnext.lo  cdb_seq.lo cdb_seek.lo cdb_unpack.lo cdb_make_add.lo  cdb_make_put.lo cdb_make.lo cdb_hash.lo  
libtool: link: ar cr .libs/libtinycdb.a .libs/cdb_init.o .libs/cdb_find.o .libs/cdb_findnext.o .libs/cdb_seq.o .libs/cdb_seek.o .libs/cdb_unpack.o .libs/cdb_make_add.o .libs/cdb_make_put.o .libs/cdb_make.o .libs/cdb_hash.o 
libtool: link: ranlib .libs/libtinycdb.a
libtool: link: ( cd ".libs" && rm -f "libtinycdb.la" && ln -s "../libtinycdb.la" "libtinycdb.la" )
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -I../tinycdb -I.. -I../lib   -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include  -pthread  -pipe -Wall -c multiskkserv.c
In file included from multiskkserv.c:45:
getaddrinfo.h:23:8: error: redefinition of 'struct addrinfo'
   23 | struct addrinfo {
      |        ^~~~~~~~
In file included from multiskkserv.c:32:
/usr/include/netdb.h:112:8: note: originally defined here
  112 | struct addrinfo {
      |        ^~~~~~~~
getaddrinfo.h:35: warning: "AI_PASSIVE" redefined
   35 | # define AI_PASSIVE     1       /* Socket address is intended for `bind'.  */
      | 
/usr/include/netdb.h:131: note: this is the location of the previous definition
  131 | #define AI_PASSIVE      0x0008  /* intended for bind() + listen() */
      | 
getaddrinfo.h:36: warning: "AI_CANONNAME" redefined
   36 | # define AI_CANONNAME   2       /* Request for canonical name.  */
      | 
/usr/include/netdb.h:132: note: this is the location of the previous definition
  132 | #define AI_CANONNAME    0x0010  /* return canonical version of host */
      | 
getaddrinfo.h:37: warning: "AI_NUMERICHOST" redefined
   37 | # define AI_NUMERICHOST 3       /* Don't use name resolution.  */
      | 
/usr/include/netdb.h:133: note: this is the location of the previous definition
  133 | #define AI_NUMERICHOST  0x0020  /* use numeric node address string */
      | 
getaddrinfo.h:40: warning: "EAI_BADFLAGS" redefined
   40 | #define EAI_BADFLAGS   -1      /* Invalid value for `ai_flags' field.  */
      | 
/usr/include/netdb.h:154: note: this is the location of the previous definition
  154 | #define EAI_BADFLAGS    3       /* invalid ai_flags */
      | 
getaddrinfo.h:41: warning: "EAI_NONAME" redefined
   41 | #define EAI_NONAME     -2      /* NAME or SERVICE is unknown.  */
      | 
/usr/include/netdb.h:158: note: this is the location of the previous definition
  158 | #define EAI_NONAME      8       /* host/servname not known */
      | 
getaddrinfo.h:42: warning: "EAI_AGAIN" redefined
   42 | #define EAI_AGAIN      -3      /* Temporary failure in name resolution.  */
      | 
/usr/include/netdb.h:153: note: this is the location of the previous definition
  153 | #define EAI_AGAIN       2       /* DNS temporary failure */
      | 
getaddrinfo.h:43: warning: "EAI_FAIL" redefined
   43 | #define EAI_FAIL       -4      /* Non-recoverable failure in name res.  */
      | 
/usr/include/netdb.h:155: note: this is the location of the previous definition
  155 | #define EAI_FAIL        4       /* DNS non-recoverable failure */
      | 
getaddrinfo.h:44: warning: "EAI_NODATA" redefined
   44 | #define EAI_NODATA     -5      /* No address associated with NAME.  */
      | 
/usr/include/netdb.h:151: note: this is the location of the previous definition
  151 | #define EAI_NODATA      7       /* no address */
      | 
getaddrinfo.h:45: warning: "EAI_FAMILY" redefined
   45 | #define EAI_FAMILY     -6      /* `ai_family' not supported.  */
      | 
/usr/include/netdb.h:156: note: this is the location of the previous definition
  156 | #define EAI_FAMILY      5       /* ai_family not supported */
      | 
getaddrinfo.h:46: warning: "EAI_SOCKTYPE" redefined
   46 | #define EAI_SOCKTYPE   -7      /* `ai_socktype' not supported.  */
      | 
/usr/include/netdb.h:160: note: this is the location of the previous definition
  160 | #define EAI_SOCKTYPE    10      /* ai_socktype not supported */
      | 
getaddrinfo.h:47: warning: "EAI_SERVICE" redefined
   47 | #define EAI_SERVICE    -8      /* SERVICE not supported for `ai_socktype'.  */
      | 
/usr/include/netdb.h:159: note: this is the location of the previous definition
  159 | #define EAI_SERVICE     9       /* servname not supported for ai_socktype */
      | 
getaddrinfo.h:48: warning: "EAI_ADDRFAMILY" redefined
   48 | #define EAI_ADDRFAMILY -9      /* Address family for NAME not supported.  */
      | 
/usr/include/netdb.h:150: note: this is the location of the previous definition
  150 | #define EAI_ADDRFAMILY  1       /* address family not supported */
      | 
getaddrinfo.h:49: warning: "EAI_MEMORY" redefined
   49 | #define EAI_MEMORY     -10     /* Memory allocation failure.  */
      | 
/usr/include/netdb.h:157: note: this is the location of the previous definition
  157 | #define EAI_MEMORY      6       /* memory allocation failure */
      | 
getaddrinfo.h:50: warning: "EAI_SYSTEM" redefined
   50 | #define EAI_SYSTEM     -11     /* System error returned in `errno'.  */
      | 
/usr/include/netdb.h:161: note: this is the location of the previous definition
  161 | #define EAI_SYSTEM      11      /* system error in errno */
      | 
getaddrinfo.h:55: warning: "NI_NUMERICHOST" redefined
   55 | #define NI_NUMERICHOST 1       /* Don't try to look up hostname.  */
      | 
/usr/include/netdb.h:168: note: this is the location of the previous definition
  168 | #define NI_NUMERICHOST  0x0002  /* return numeric form of address */
      | 
getaddrinfo.h:56: warning: "NI_NUMERICSERV" redefined
   56 | #define NI_NUMERICSERV 2       /* Don't convert port number to name.  */
      | 
/usr/include/netdb.h:170: note: this is the location of the previous definition
  170 | #define NI_NUMERICSERV  0x0008
      | 
getaddrinfo.h:57: warning: "NI_NOFQDN" redefined
   57 | #define NI_NOFQDN      4       /* Only return nodename portion.  */
      | 
/usr/include/netdb.h:167: note: this is the location of the previous definition
  167 | #define NI_NOFQDN       0x0001
      | 
getaddrinfo.h:58: warning: "NI_NAMEREQD" redefined
   58 | #define NI_NAMEREQD    8       /* Don't return numeric addresses.  */
      | 
/usr/include/netdb.h:169: note: this is the location of the previous definition
  169 | #define NI_NAMEREQD     0x0004  /* request DNS name */
      | 
getaddrinfo.h:59: warning: "NI_DGRAM" redefined
   59 | #define NI_DGRAM       16      /* Look up UDP service rather than TCP.  */
      | 
/usr/include/netdb.h:171: note: this is the location of the previous definition
  171 | #define NI_DGRAM        0x0010
      | 
getaddrinfo.h:64:12: error: conflicting types for 'getaddrinfo'; have 'int(const char *, const char *, const struct addrinfo *, struct addrinfo **)'
   64 | extern int getaddrinfo (const char *, const char *, const struct addrinfo *,
      |            ^~~~~~~~~~~
/usr/include/netdb.h:318:17: note: previous declaration of 'getaddrinfo' with type 'int(const char * restrict,  const char * restrict,  const struct addrinfo * restrict,  struct addrinfo ** restrict)'
  318 | int             getaddrinfo(const char *_RESTRICT_KYWD,
      |                 ^~~~~~~~~~~
getaddrinfo.h:67:13: error: conflicting types for 'freeaddrinfo'; have 'void(struct addrinfo *)'
   67 | extern void freeaddrinfo (struct addrinfo *ai);
      |             ^~~~~~~~~~~~
/usr/include/netdb.h:322:17: note: previous declaration of 'freeaddrinfo' with type 'void(struct addrinfo *)'
  322 | void            freeaddrinfo(struct addrinfo *);
      |                 ^~~~~~~~~~~~
multiskkserv.c: In function 'prepare_listen':
multiskkserv.c:186:24: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration]
  186 |         strncpy(ipbuf, inet_ntoa(sp_v4->sin_addr), sizeof(ipbuf));
      |                        ^~~~~~~~~
multiskkserv.c:186:24: warning: passing argument 2 of 'strncpy' makes pointer from integer without a cast [-Wint-conversion]
  186 |         strncpy(ipbuf, inet_ntoa(sp_v4->sin_addr), sizeof(ipbuf));
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        int
In file included from /usr/include/string.h:34,
                 from ../compat.h:32,
                 from multiskkserv.c:39:
/usr/include/iso/string_iso.h:82:44: note: expected 'const char * restrict' but argument is of type 'int'
   82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
      |                                            ^
multiskkserv.c: In function 'main':
multiskkserv.c:619:36: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [-Wint-conversion]
  619 |         skkconn->peername = strdup(inet_ntoa(sp_v4->sin_addr));
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    int
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'int'
  139 | extern char *strdup(const char *);
      |                     ^~~~~~~~~~~~
multiskkserv.c:586:11: warning: unused variable 'gaierr' [-Wunused-variable]
  586 |       int gaierr;
      |           ^~~~~~
multiskkserv.c:585:12: warning: variable 'ipbuf' set but not used [-Wunused-but-set-variable]
  585 |       char ipbuf[INET6_ADDRSTRLEN];
      |            ^~~~~
*** [multiskkserv.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/inputmethod/multiskkserv/work/multiskkserv-20100128-ac/src
1 error

bmake[2]: stopped in /home/pbulk/build/inputmethod/multiskkserv/work/multiskkserv-20100128-ac/src
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/inputmethod/multiskkserv/work/multiskkserv-20100128-ac
1 error

bmake[1]: stopped in /home/pbulk/build/inputmethod/multiskkserv/work/multiskkserv-20100128-ac
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/inputmethod/multiskkserv/work/multiskkserv-20100128-ac
1 error

bmake: stopped in /home/pbulk/build/inputmethod/multiskkserv/work/multiskkserv-20100128-ac
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/inputmethod/multiskkserv
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/inputmethod/multiskkserv