+ 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/dl-ezkit-0.8.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dl-ezkit-0.8.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for dl-ezkit-0.8.1
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -g -Wall -O2 -D__NetBSD__  -c dl.c
In file included from dl.c:29:
kb.h:47:4: warning: #warning using own kbd functions from unix_key.c [-Wcpp]
   47 | #  warning using own kbd functions from unix_key.c
      |    ^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -g -Wall -O2 -D__NetBSD__  -c lserial.c
lserial.c: In function 'LinuxSerialInit':
lserial.c:673:30: error: 'FNDELAY' undeclared (first use in this function); did you mean 'O_NDELAY'?
  673 |     fcntl ( SerialFD,F_SETFL,FNDELAY);
      |                              ^~~~~~~
      |                              O_NDELAY
lserial.c:673:30: note: each undeclared identifier is reported only once for each function it appears in
lserial.c:679:5: warning: implicit declaration of function 'cfmakeraw' [-Wimplicit-function-declaration]
  679 |     cfmakeraw(&options); /* raw, binary I/O */
      |     ^~~~~~~~~
*** [lserial.o] Error code 1

bmake: stopped in /home/pbulk/build/comms/dl-ezkit/work/dl-ezkit
1 error

bmake: stopped in /home/pbulk/build/comms/dl-ezkit/work/dl-ezkit
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/comms/dl-ezkit
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/comms/dl-ezkit