+ 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/putty-0.76nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/putty-0.76nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for putty-0.76nb3
cc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DIPV6 -DBSD_COMP -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -O2 -Wall -std=gnu99 -Wvla -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/opt/pkg/include/gio-unix-2.0 -D_REENTRANT -I/opt/pkg/include/libdrm -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/at-spi-2.0 -D_REENTRANT -D_REENTRANT -D_REENTRANT -pthread -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -D _FILE_OFFSET_BITS=64  -c ../cgtest.c
In file included from /usr/include/dlfcn.h:37,
                 from ../unix/unix.h:11,
                 from ../puttyps.h:14,
                 from ../putty.h:8,
                 from ../cmdgen.c:14,
                 from ../cgtest.c:29:
../cmdgen.c: In function 'cmdgen_main':
../cmdgen.c:228:12: error: expected identifier before numeric constant
  228 |     enum { PRIVATE, PUBLIC, PUBLICO, FP, OPENSSH_AUTO,
      |            ^~~~~~~
../cmdgen.c:357:35: error: 'TEXT' undeclared (first use in this function)
  357 |                         outtype = TEXT;
      |                                   ^~~~
../cmdgen.c:357:35: note: each undeclared identifier is reported only once for each function it appears in
../cmdgen.c:494:35: error: 'FP' undeclared (first use in this function)
  494 |                         outtype = FP;
      |                                   ^~
../cmdgen.c:497:35: error: 'PUBLICO' undeclared (first use in this function)
  497 |                         outtype = PUBLICO;
      |                                   ^~~~~~~
../cmdgen.c:500:35: error: 'PUBLIC' undeclared (first use in this function)
  500 |                         outtype = PUBLIC;
      |                                   ^~~~~~
../cmdgen.c:565:39: error: 'OPENSSH_AUTO' undeclared (first use in this function)
  565 |                             outtype = OPENSSH_AUTO, sshver = 2;
      |                                       ^~~~~~~~~~~~
../cmdgen.c:565:51: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  565 |                             outtype = OPENSSH_AUTO, sshver = 2;
      |                                                   ^
../cmdgen.c:567:39: error: 'OPENSSH_NEW' undeclared (first use in this function)
  567 |                             outtype = OPENSSH_NEW, sshver = 2;
      |                                       ^~~~~~~~~~~
../cmdgen.c:567:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  567 |                             outtype = OPENSSH_NEW, sshver = 2;
      |                                                  ^
../cmdgen.c:569:39: error: 'SSHCOM' undeclared (first use in this function)
  569 |                             outtype = SSHCOM, sshver = 2;
      |                                       ^~~~~~
../cmdgen.c:569:45: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  569 |                             outtype = SSHCOM, sshver = 2;
      |                                             ^
gmake: *** [Makefile.gtk:680: cgtest.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty