+ 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/bacula-tray-monitor-13.0.1nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bacula-tray-monitor-13.0.1nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for bacula-tray-monitor-13.0.1nb3
/opt/pkg/qt4/bin/uic fd-monitor.ui -o ui/ui_fd-monitor.h
/opt/pkg/qt4/bin/uic dir-monitor.ui -o ui/ui_dir-monitor.h
/opt/pkg/qt4/bin/uic sd-monitor.ui -o ui/ui_sd-monitor.h
/opt/pkg/qt4/bin/uic main-conf.ui -o ui/ui_main-conf.h
/opt/pkg/qt4/bin/uic res-conf.ui -o ui/ui_res-conf.h
/opt/pkg/qt4/bin/uic run.ui -o ui/ui_run.h
/opt/pkg/qt4/bin/uic restorewizard.ui -o ui/ui_restorewizard.h
/opt/pkg/qt4/bin/uic clientselectwizardpage.ui -o ui/ui_clientselectwizardpage.h
/opt/pkg/qt4/bin/uic jobselectwizardpage.ui -o ui/ui_jobselectwizardpage.h
/opt/pkg/qt4/bin/uic fileselectwizardpage.ui -o ui/ui_fileselectwizardpage.h
/opt/pkg/qt4/bin/uic restoreoptionswizardpage.ui -o ui/ui_restoreoptionswizardpage.h
/opt/pkg/qt4/bin/uic pluginwizardpage.ui -o ui/ui_pluginwizardpage.h
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/tray-monitor.lo tray-monitor.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/tray_conf.lo tray_conf.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/authenticatebase.lo ../../lib/authenticatebase.cc
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/fdstatus.lo fdstatus.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/task.lo task.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/authenticate.lo authenticate.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/fmtwidgetitem.lo ../util/fmtwidgetitem.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/dirstatus.lo dirstatus.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/sdstatus.lo sdstatus.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/conf.lo conf.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/runjob.lo runjob.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/status.lo status.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/restorewizard.lo restorewizard.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/clientselectwizardpage.lo clientselectwizardpage.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/jobselectwizardpage.lo jobselectwizardpage.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/fileselectwizardpage.lo fileselectwizardpage.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/restoreoptionswizardpage.lo restoreoptionswizardpage.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/pluginwizardpage.lo pluginwizardpage.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/backupservice.lo ../../tools/cdp-client/backupservice.cpp
libtool --silent --mode=compile g++ -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/qt4/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/usr/include -std=c++98 -Wno-expansion-to-defined -DQ_TRAILING_DIR_SEP -DTRAY_MONITOR -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/pkg/qt4/mkspecs/netbsd-g++ -I. -I/opt/pkg/qt4/include/QtCore -I/opt/pkg/qt4/include/QtGui -I/opt/pkg/qt4/include -I../.. -I. -I../../tools/cdp-client -I../../plugins/fd -Imoc -Iui -I/opt/pkg/include -o obj/folderwatcher.lo ../../tools/cdp-client/folderwatcher.cpp
../../tools/cdp-client/folderwatcher.cpp: In member function 'POOLMEM* FolderWatcher::watchDirRecursive(const char*)':
../../tools/cdp-client/folderwatcher.cpp:137:20: error: 'struct dirent' has no member named 'd_type'
  137 |       if (dirFile->d_type != DT_DIR
      |                    ^~~~~~
../../tools/cdp-client/folderwatcher.cpp:137:30: error: 'DT_DIR' was not declared in this scope; did you mean 'TN_DIR'?
  137 |       if (dirFile->d_type != DT_DIR
      |                              ^~~~~~
      |                              TN_DIR
gmake: *** [Makefile:733: obj/folderwatcher.lo] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/bacula-tray-monitor
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/bacula-tray-monitor