+ 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
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
--- 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 ---
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
 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]
 #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]
 #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]
   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]
   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]
     MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret));
                                   ^~~~~~~~~~~~
../include/memcache.h:1061:89: note: in definition of macro 'MCM_ERR_MSG'
 #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]
     MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret));
                                   ^~~~~~~~~~~~~~~~~
../include/memcache.h:1061:102: note: in definition of macro 'MCM_ERR_MSG'
 #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:385:35: note: expected 'const char *' but argument is of type 'int'
 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]
     MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret));
                                   ^~~~~~~~~~~~~~~~~
../include/memcache.h:1061:89: note: in definition of macro 'MCM_ERR_MSG'
 #define MCM_ERR_MSG(_code, _msg) mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
                                                                                         ^~~~
memcache.c:769:39: note: expected 'const char *' but argument is of type 'int'
  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: dereferencing pointer to incomplete type 'struct addrinfo'
   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]
       MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i));
                                     ^~~~~~~~~~~~~~~
../include/memcache.h:1061:102: note: in definition of macro 'MCM_ERR_MSG'
 #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:385:35: note: expected 'const char *' but argument is of type 'int'
 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]
       MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i));
                                     ^~~~~~~~~~~~~~~
../include/memcache.h:1061:89: note: in definition of macro 'MCM_ERR_MSG'
 #define MCM_ERR_MSG(_code, _msg) mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, strlen(_msg), 0)
                                                                                         ^~~~
memcache.c:769:39: note: expected 'const char *' but argument is of type 'int'
  const u_int32_t errcode, const char *msg, const u_int32_t msglen, const u_int32_t errlvl) {
                           ~~~~~~~~~~~~^~~
memcache.c:2212:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   for (i = 0, res = ms->hostinfo; res != NULL; res = res->ai_next, i++) {
                                                                  ^
memcache.c: In function 'mcm_server_free':
memcache.c:2443:5: warning: implicit declaration of function 'freeaddrinfo' [-Wimplicit-function-declaration]
     freeaddrinfo(ms->hostinfo);
     ^~~~~~~~~~~~
memcache.c: In function 'mcm_server_resolve':
memcache.c:2562:19: error: storage size of 'hints' isn't known
   struct addrinfo hints, *res;
                   ^~~~~
memcache.c:2578:24: error: invalid application of 'sizeof' to incomplete type 'struct addrinfo'
   bzero(&hints, sizeof(struct addrinfo));
                        ^~~~~~
memcache.c:2582:9: warning: implicit declaration of function 'getaddrinfo' [-Wimplicit-function-declaration]
   ret = getaddrinfo(ms->hostname, ms->port, &hints, &ms->hostinfo);
         ^~~~~~~~~~~
memcache.c:2562:19: warning: unused variable 'hints' [-Wunused-variable]
   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
   return &mcGlobalCtxt;
           ^~~~~~~~~~~~
memcache.c:155:21: warning: 'str_space_len' defined but not used [-Wunused-const-variable=]
 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-el8-trunk-x86_64/devel/libmemcache
*** Error code 1

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