+ 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/i2cbd-2.0_BETA5nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/i2cbd-2.0_BETA5nb6/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for i2cbd-2.0_BETA5nb6
--- all ---
Making in src
--- dispatch.o ---
--- globals.o ---
--- ipcf.o ---
--- main.o ---
--- dispatch.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align  -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Wnested-externs  -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/etc/opt/pkg/icbd\" -I..  -c dispatch.c
--- globals.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align  -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Wnested-externs  -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/etc/opt/pkg/icbd\" -I..  -c globals.c
--- ipcf.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align  -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Wnested-externs  -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/etc/opt/pkg/icbd\" -I..  -c ipcf.c
--- main.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align  -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Wnested-externs  -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/etc/opt/pkg/icbd\" -I..  -c main.c
--- globals.o ---
globals.c:23:19: error: 'MAXHOSTNAMELEN' undeclared here (not in a function); did you mean 'MAXLINKNAMELEN'?
   23 | char    thishost1[MAXHOSTNAMELEN];      /* our hostname */
      |                   ^~~~~~~~~~~~~~
      |                   MAXLINKNAMELEN
*** [globals.o] Error code 1

bmake[1]: stopped making "all" in /home/pbulk/build/chat/i2cbd/work/i2cbd-2.0_BETA5/src
--- ipcf.o ---
ipcf.c: In function 's_didpoll':
ipcf.c:48:25: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
   48 |                         snprintf(line, LINE_SIZE, "[KILL] killing %d (%d)", i, S_kill[i]);
      |                         ^~~~~~~~
ipcf.c:9:1: note: 'snprintf' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
    8 | #include "externs.h"
  +++ |+#include <stdio.h>
    9 | 
ipcf.c:48:25: warning: nested extern declaration of 'snprintf' [-Wnested-externs]
   48 |                         snprintf(line, LINE_SIZE, "[KILL] killing %d (%d)", i, S_kill[i]);
      |                         ^~~~~~~~
ipcf.c:57:71: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
   57 |                                         if ((u_tab[j].login == 1) && (strcasecmp(u_tab[j].group,g_tab[i].name) == 0))
      |                                                                       ^~~~~~~~~~
      |                                                                       strncmp
ipcf.c:57:71: warning: nested extern declaration of 'strcasecmp' [-Wnested-externs]
ipcf.c: In function 's_lost_user':
ipcf.c:138:9: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
  138 |         strlcpy(t_grp, u_tab[n].group, MAX_GROUPLEN+1);
      |         ^~~~~~~
      |         strncpy
ipcf.c:138:9: warning: nested extern declaration of 'strlcpy' [-Wnested-externs]
--- main.o ---
main.c:9:10: fatal error: db.h: No such file or directory
    9 | #include <db.h>
      |          ^~~~~~
compilation terminated.
*** [main.o] Error code 1

bmake[1]: stopped making "all" in /home/pbulk/build/chat/i2cbd/work/i2cbd-2.0_BETA5/src
bmake[1]: 2 errors

bmake[1]: stopped making "all" in /home/pbulk/build/chat/i2cbd/work/i2cbd-2.0_BETA5/src
Making in util
*** [all] Error code 6

bmake: stopped making "all" in /home/pbulk/build/chat/i2cbd/work/i2cbd-2.0_BETA5
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/chat/i2cbd/work/i2cbd-2.0_BETA5
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/i2cbd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/i2cbd