+ 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/gofish-1.2nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gofish-1.2nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for gofish-1.2nb2
/opt/pkg/bin/bmake  all-am
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c mkcache.c
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c config.c
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c mime.c
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c log.c
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c socket.c
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c mmap_cache.c
mmap_cache.c: In function 'mmap_get':
mmap_cache.c:201:16: warning: pointer targets in passing argument 1 of 'madvise' differ in signedness [-Wpointer-sign]
  201 |  (void)madvise(mapped, conn->mapped, MADV_SEQUENTIAL);
      |                ^~~~~~
      |                |
      |                unsigned char *
In file included from mmap_cache.c:38:
/usr/include/sys/mman.h:272:20: note: expected 'caddr_t' {aka 'char *'} but argument is of type 'unsigned char *'
  272 | extern int madvise(caddr_t, size_t, int);
      |                    ^~~~~~~
gcc  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall  -Wl,-R/opt/pkg/lib -o mkcache  mkcache.o config.o mime.o  -lnsl -lsocket
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c gofish.c
gofish.c: In function 'gofish':
gofish.c:278:25: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  278 |  memset(conns, 0, sizeof(conns));
      |                         ^
gofish.c: In function 'read_request':
gofish.c:876:25: warning: pointer targets in assignment from 'unsigned char *' to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  876 |  conn->iovs[0].iov_base = conn->buf;
      |                         ^
gcc -DSYSCONFDIR=\"/etc/opt/pkg\" -DLOCALSTATEDIR=\"/var/opt/pkg\"  -DGOPHER_ROOT=\"/var/opt/pkg/gopher\" -I. -I. -I.      -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c http.c
http.c: In function 'http_get':
http.c:652:26: warning: pointer targets in assignment from 'unsigned char *' to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  652 |   conn->iovs[2].iov_base = conn->buf;
      |                          ^
gcc  -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall  -Wl,-R/opt/pkg/lib -o gofish  gofish.o log.o socket.o  config.o http.o mmap_cache.o  mime.o  -lnsl -lsocket
Undefined			first referenced
 symbol  			    in file
write_str                           http.o
ld: fatal: symbol referencing errors. No output written to gofish
collect2: error: ld returned 1 exit status
*** [gofish] Error code 1

bmake[1]: stopped in /home/pbulk/build/net/gofish/work/gofish
1 error

bmake[1]: stopped in /home/pbulk/build/net/gofish/work/gofish
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/gofish/work/gofish
1 error

bmake: stopped in /home/pbulk/build/net/gofish/work/gofish
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/gofish