+ 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/intellij-fsnotifier-0.0.20190228nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/intellij-fsnotifier-0.0.20190228nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for intellij-fsnotifier-0.0.20190228nb2
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -Wall -Wextra -D_DEFAULT_SOURCE -std=c99 -I/opt/pkg/include   -I/usr/include -c inotify.c
inotify.c: In function 'walk_tree':
inotify.c:325:14: error: 'struct dirent' has no member named 'd_type'
  325 |     if (entry->d_type != DT_UNKNOWN && entry->d_type != DT_DIR) {
      |              ^~
inotify.c:325:26: error: 'DT_UNKNOWN' undeclared (first use in this function)
  325 |     if (entry->d_type != DT_UNKNOWN && entry->d_type != DT_DIR) {
      |                          ^~~~~~~~~~
inotify.c:325:26: note: each undeclared identifier is reported only once for each function it appears in
inotify.c:325:45: error: 'struct dirent' has no member named 'd_type'
  325 |     if (entry->d_type != DT_UNKNOWN && entry->d_type != DT_DIR) {
      |                                             ^~
inotify.c:325:57: error: 'DT_DIR' undeclared (first use in this function)
  325 |     if (entry->d_type != DT_UNKNOWN && entry->d_type != DT_DIR) {
      |                                                         ^~~~~~
inotify.c:332:14: error: 'struct dirent' has no member named 'd_type'
  332 |     if (entry->d_type == DT_UNKNOWN) {
      |              ^~
*** [inotify.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/sysutils/intellij-fsnotifier/work/fsnotifier-bb7815166319ba46c27809ed8fc0c6b5fa14f869
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/sysutils/intellij-fsnotifier/work/fsnotifier-bb7815166319ba46c27809ed8fc0c6b5fa14f869
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/intellij-fsnotifier
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/intellij-fsnotifier