+ 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/libmemcache-1.4.0beta9nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libmemcache-1.4.0beta9nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libmemcache-1.4.0beta9nb2
--- all ---
/usr/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in doc
Making all in include
--- all-recursive ---
Making all in memcache
Making all in src
--- memcache.lo ---
--- buffer.lo ---
--- memcache.lo ---
if /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/include   -O3 -std=c99 -Wall -pipe -Wpacked -Wdisabled-optimization -MT memcache.lo -MD -MP -MF ".deps/memcache.Tpo" -c -o memcache.lo memcache.c;  then mv -f ".deps/memcache.Tpo" ".deps/memcache.Plo"; else rm -f ".deps/memcache.Tpo"; exit 1; fi
--- buffer.lo ---
if /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/include   -O3 -std=c99 -Wall -pipe -Wpacked -Wdisabled-optimization -MT buffer.lo -MD -MP -MF ".deps/buffer.Tpo" -c -o buffer.lo buffer.c;  then mv -f ".deps/buffer.Tpo" ".deps/buffer.Plo"; else rm -f ".deps/buffer.Tpo"; exit 1; fi
--- memcache.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -std=c99 -Wall -pipe -Wpacked -Wdisabled-optimization -MT memcache.lo -MD -MP -MF .deps/memcache.Tpo -c memcache.c  -fPIC -DPIC -o .libs/memcache.o
--- buffer.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -std=c99 -Wall -pipe -Wpacked -Wdisabled-optimization -MT buffer.lo -MD -MP -MF .deps/buffer.Tpo -c buffer.c  -fPIC -DPIC -o .libs/buffer.o
In file included from ../include/memcache/buffer.h:30,
                 from buffer.c:40:
../include/memcache.h:921:30: warning: inline function 'mc_global_ctxt' declared but never defined
  921 | inline struct memcache_ctxt *mc_global_ctxt(void);
      |                              ^~~~~~~~~~~~~~
--- memcache.lo ---
memcache.c:45:2: warning: #warning "Working around busted-ass Linux header include problems: use FreeBSD instead" [-Wcpp]
   45 | #warning "Working around busted-ass Linux header include problems: use FreeBSD instead"
      |  ^~~~~~~
memcache.c:46:2: warning: #warning "http://www.FreeBSD.org/ - you won't regret it" [-Wcpp]
   46 | #warning "http://www.FreeBSD.org/ - you won't regret it"
      |  ^~~~~~~
memcache.c: In function 'mcm_err_func':
memcache.c:1013:31: warning: variable 'ctxt' set but not used [-Wunused-but-set-variable]
 1013 |   const struct memcache_ctxt *ctxt;
      |                               ^~~~
memcache.c: In function 'mcm_hash_key_func':
memcache.c:1620:31: warning: variable 'ctxt' set but not used [-Wunused-but-set-variable]
 1620 |   const struct memcache_ctxt *ctxt;
      |                               ^~~~
In file included from memcache.c:60:
memcache.c: In function 'mcm_server_add3':
memcache.c:2076:35: warning: implicit declaration of function 'gai_strerror'; did you mean 'strerror'? [-Wimplicit-function-declaration]
 2076 |     MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret));
      |                                   ^~~~~~~~~~~~
../include/memcache.h:1061:96: note: in definition of macro 'MCM_ERR_MSG'
 1061 | #define MCM_ERR_MSG(_code, _msg)        mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
      |                                                                                                ^~~~
memcache.c:2076:35: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
 2076 |     MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret));
      |                                   ^~~~~~~~~~~~~~~~~
      |                                   |
      |                                   int
../include/memcache.h:1061:109: note: in definition of macro 'MCM_ERR_MSG'
 1061 | #define MCM_ERR_MSG(_code, _msg)        mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
      |                                                                                                             ^~~~
In file included from memcache.c:35:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'int'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
In file included from memcache.c:60:
memcache.c:2076:35: warning: passing argument 6 of 'mcm_err' makes pointer from integer without a cast [-Wint-conversion]
 2076 |     MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret));
      |                                   ^~~~~~~~~~~~~~~~~
      |                                   |
      |                                   int
../include/memcache.h:1061:96: note: in definition of macro 'MCM_ERR_MSG'
 1061 | #define MCM_ERR_MSG(_code, _msg)        mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
      |                                                                                                ^~~~
memcache.c:769:46: note: expected 'const char *' but argument is of type 'int'
  769 |         const u_int32_t errcode, const char *msg, const u_int32_t msglen, const u_int32_t errlvl) {
      |                                  ~~~~~~~~~~~~^~~
memcache.c: In function 'mcm_server_connect':
memcache.c:2203:43: error: invalid use of undefined type 'struct addrinfo'
 2203 |   if (ms->hostinfo == NULL || ms->hostinfo->ai_addrlen == 0) {
      |                                           ^~
In file included from memcache.c:60:
memcache.c:2206:37: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
 2206 |       MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i));
      |                                     ^~~~~~~~~~~~~~~
      |                                     |
      |                                     int
../include/memcache.h:1061:109: note: in definition of macro 'MCM_ERR_MSG'
 1061 | #define MCM_ERR_MSG(_code, _msg)        mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
      |                                                                                                             ^~~~
In file included from memcache.c:35:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'int'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
In file included from memcache.c:60:
memcache.c:2206:37: warning: passing argument 6 of 'mcm_err' makes pointer from integer without a cast [-Wint-conversion]
 2206 |       MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i));
      |                                     ^~~~~~~~~~~~~~~
      |                                     |
      |                                     int
../include/memcache.h:1061:96: note: in definition of macro 'MCM_ERR_MSG'
 1061 | #define MCM_ERR_MSG(_code, _msg)        mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
      |                                                                                                ^~~~
memcache.c:769:46: note: expected 'const char *' but argument is of type 'int'
  769 |         const u_int32_t errcode, const char *msg, const u_int32_t msglen, const u_int32_t errlvl) {
      |                                  ~~~~~~~~~~~~^~~
memcache.c:2212:57: error: invalid use of undefined type 'struct addrinfo'
 2212 |   for (i = 0, res = ms->hostinfo; res != NULL; res = res->ai_next, i++) {
      |                                                         ^~
memcache.c:2212:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 2212 |   for (i = 0, res = ms->hostinfo; res != NULL; res = res->ai_next, i++) {
      |                                                                  ^
memcache.c:2213:24: error: invalid use of undefined type 'struct addrinfo'
 2213 |     ms->fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
      |                        ^~
memcache.c:2213:40: error: invalid use of undefined type 'struct addrinfo'
 2213 |     ms->fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
      |                                        ^~
memcache.c:2213:58: error: invalid use of undefined type 'struct addrinfo'
 2213 |     ms->fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
      |                                                          ^~
memcache.c:2216:42: error: invalid use of undefined type 'struct addrinfo'
 2216 |       if (errno == EPROTONOSUPPORT && res->ai_family == AF_INET6)
      |                                          ^~
memcache.c:2247:30: error: invalid use of undefined type 'struct addrinfo'
 2247 |     ret = connect(ms->fd, res->ai_addr, (socklen_t)res->ai_addrlen);
      |                              ^~
memcache.c:2247:55: error: invalid use of undefined type 'struct addrinfo'
 2247 |     ret = connect(ms->fd, res->ai_addr, (socklen_t)res->ai_addrlen);
      |                                                       ^~
memcache.c:2282:56: error: invalid use of undefined type 'struct addrinfo'
 2282 |           printf("connect(): %d\n", connect(ms->fd, res->ai_addr, (socklen_t)res->ai_addrlen));
      |                                                        ^~
memcache.c:2282:81: error: invalid use of undefined type 'struct addrinfo'
 2282 |           printf("connect(): %d\n", connect(ms->fd, res->ai_addr, (socklen_t)res->ai_addrlen));
      |                                                                                 ^~
memcache.c: In function 'mcm_server_free':
memcache.c:2443:5: warning: implicit declaration of function 'freeaddrinfo' [-Wimplicit-function-declaration]
 2443 |     freeaddrinfo(ms->hostinfo);
      |     ^~~~~~~~~~~~
memcache.c: In function 'mcm_server_resolve':
memcache.c:2562:19: error: storage size of 'hints' isn't known
 2562 |   struct addrinfo hints, *res;
      |                   ^~~~~
memcache.c:2578:24: error: invalid application of 'sizeof' to incomplete type 'struct addrinfo'
 2578 |   bzero(&hints, sizeof(struct addrinfo));
      |                        ^~~~~~
memcache.c:2582:9: warning: implicit declaration of function 'getaddrinfo' [-Wimplicit-function-declaration]
 2582 |   ret = getaddrinfo(ms->hostname, ms->port, &hints, &ms->hostinfo);
      |         ^~~~~~~~~~~
memcache.c:2599:50: error: invalid use of undefined type 'struct addrinfo'
 2599 |   for (res = ms->hostinfo; res != NULL; res = res->ai_next) {
      |                                                  ^~
memcache.c:2562:19: warning: unused variable 'hints' [-Wunused-variable]
 2562 |   struct addrinfo hints, *res;
      |                   ^~~~~
memcache.c: At top level:
memcache.c:283:11: warning: 'mcGlobalCtxt' is static but used in inline function 'mc_global_ctxt' which is not static
  283 |   return &mcGlobalCtxt;
      |           ^~~~~~~~~~~~
memcache.c:155:25: warning: 'str_space_len' defined but not used [-Wunused-const-variable=]
  155 | static const size_t     str_space_len = MCM_CSTRLEN(str_space);
      |                         ^~~~~~~~~~~~~
*** [memcache.lo] Error code 1

bmake[2]: stopped making "all" in /home/pbulk/build/devel/libmemcache/work/libmemcache-1.4.0.b9/src
--- buffer.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../include -O3 -std=c99 -Wall -pipe -Wpacked -Wdisabled-optimization -MT buffer.lo -MD -MP -MF .deps/buffer.Tpo -c buffer.c -o buffer.o >/dev/null 2>&1
bmake[2]: 1 error

bmake[2]: stopped making "all" in /home/pbulk/build/devel/libmemcache/work/libmemcache-1.4.0.b9/src
*** [all-recursive] Error code 1

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/devel/libmemcache/work/libmemcache-1.4.0.b9
bmake[1]: 1 error

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/devel/libmemcache/work/libmemcache-1.4.0.b9
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/devel/libmemcache/work/libmemcache-1.4.0.b9
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/devel/libmemcache/work/libmemcache-1.4.0.b9
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/libmemcache
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/libmemcache