+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/swiggle-0.4nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/swiggle-0.4nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for swiggle-0.4nb3
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -I/usr/local/include -I/usr/local/include/libexif -I/opt/local/include -I/usr/include -c swiggle.c
swiggle.c: In function 'main':
swiggle.c:272:16: error: 'struct dirent' has no member named 'd_type'
  272 |   if (albums[i].d_type == DT_DIR && albums[i].d_name[0] != '.') {
      |                ^
swiggle.c:272:27: error: 'DT_DIR' undeclared (first use in this function)
  272 |   if (albums[i].d_type == DT_DIR && albums[i].d_name[0] != '.') {
      |                           ^~~~~~
swiggle.c:272:27: note: each undeclared identifier is reported only once for each function it appears in
swiggle.c: In function 'processdir':
swiggle.c:341:12: error: 'struct dirent' has no member named 'd_type'
  341 |   if ((dent->d_type != DT_REG) ||
      |            ^~
swiggle.c:341:24: error: 'DT_REG' undeclared (first use in this function)
  341 |   if ((dent->d_type != DT_REG) ||
      |                        ^~~~~~
swiggle.c: In function 'find_orphans':
swiggle.c:834:13: error: 'struct dirent' has no member named 'd_type'
  834 |    if ((dent->d_type != DT_REG) ||
      |             ^~
swiggle.c:834:25: error: 'DT_REG' undeclared (first use in this function)
  834 |    if ((dent->d_type != DT_REG) ||
      |                         ^~~~~~
*** [swiggle.o] Error code 1

bmake: stopped in /home/pbulk/build/www/swiggle/work/swiggle-0.4
1 error

bmake: stopped in /home/pbulk/build/www/swiggle/work/swiggle-0.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/www/swiggle
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/www/swiggle