+ 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/blastem-0.6.2nb11/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/blastem-0.6.2nb11/work.log
===> Building for blastem-0.6.2nb11
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o dis.o dis.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o 68kinst.o 68kinst.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o tern.o tern.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o vos_program_module.o vos_program_module.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o zdis.o zdis.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o z80inst.o z80inst.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o stateview.o stateview.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o vdp.o vdp.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o ppm.o ppm.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o controller_info.o controller_info.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o render_sdl.o render_sdl.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o png.o png.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o serialize.o serialize.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o config.o config.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o util.o util.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o paths.o paths.c
gcc  -I/opt/local/include -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/local/share/blastem'"' -c -o gst.o gst.c
util.c: In function 'get_dir_list':
util.c:773:26: error: 'struct dirent' has no member named 'd_type'
  773 |                 if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_DIR) {
      |                          ^~
util.c:773:38: error: 'DT_REG' undeclared (first use in this function)
  773 |                 if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_DIR) {
      |                                      ^~~~~~
util.c:773:38: note: each undeclared identifier is reported only once for each function it appears in
util.c:773:53: error: 'struct dirent' has no member named 'd_type'
  773 |                 if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_DIR) {
      |                                                     ^~
util.c:773:65: error: 'DT_LNK' undeclared (first use in this function)
  773 |                 if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_DIR) {
      |                                                                 ^~~~~~
util.c:773:80: error: 'struct dirent' has no member named 'd_type'
  773 |                 if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_DIR) {
      |                                                                                ^~
util.c:773:92: error: 'DT_DIR' undeclared (first use in this function)
  773 |                 if (entry->d_type != DT_REG && entry->d_type != DT_LNK && entry->d_type != DT_DIR) {
      |                                                                                            ^~~~~~
util.c:781:42: error: 'struct dirent' has no member named 'd_type'
  781 |                 ret[pos++].is_dir = entry->d_type == DT_DIR;
      |                                          ^~
gmake: *** [Makefile:332: util.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/blastem
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/blastem