+ 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/got-0.48/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/got-0.48/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for got-0.48
all ===> openbsd-compat
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/home/pbulk/build/devel/got/work/got-0.48/openbsd-compat -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -I/home/pbulk/build/devel/got/work/got-0.48/openbsd-compat/../openbsd-compat -Wno-pointer-sign -Werror -Wall -Wstrict-prototypes -Wunused-variable   -I/opt/pkg/include -I/opt/pkg/include/ncurses -DGOT_LIBEXECDIR=/opt/pkg/bin -DGOT_VERSION= -c freezero.c
freezero.c: In function 'freezero':
freezero.c:26:2: error: implicit declaration of function 'bzero' [-Werror=implicit-function-declaration]
   26 |  bzero(ptr, sz);
      |  ^~~~~
freezero.c:26:2: error: incompatible implicit declaration of built-in function 'bzero' [-Werror]
cc1: all warnings being treated as errors
*** [freezero.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/openbsd-compat
1 error

bmake[1]: stopped in /home/pbulk/build/devel/got/work/got-0.48/openbsd-compat
*** [all-openbsd-compat] Error code 2

bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48
1 error

bmake: stopped in /home/pbulk/build/devel/got/work/got-0.48
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/got