+ 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/blastem-0.6.2nb11/work.log + su pbulk -c '"$@"' make /opt/pkg/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/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o dis.o dis.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o 68kinst.o 68kinst.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o tern.o tern.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o vos_program_module.o vos_program_module.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o zdis.o zdis.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o z80inst.o z80inst.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o stateview.o stateview.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o vdp.o vdp.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o ppm.o ppm.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o controller_info.o controller_info.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o render_sdl.o render_sdl.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o png.o png.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o serialize.o serialize.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o config.o config.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o util.o util.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o paths.o paths.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o gst.o gst.c gcc -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL2 -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -std=gnu99 -Wreturn-type -Wno-unused-value -e -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -DDATA_PATH='"'/opt/pkg/share/blastem'"' -c -o vgmplay.o vgmplay.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.... vgmplay.c: In function 'main': vgmplay.c:185:50: warning: assignment to 'data_block **' from incompatible pointer type 'struct data_block **' [-Wincompatible-pointer-types] 185 | curblock = &((*curblock)->next); | ^ vgmplay.c:211:44: warning: assignment to 'data_block *' from incompatible pointer type 'struct data_block *' [-Wincompatible-pointer-types] 211 | seek_block = seek_block->next; | ^ vgmplay.c:230:60: warning: assignment to 'data_block *' from incompatible pointer type 'struct data_block *' [-Wincompatible-pointer-types] 230 | seek_block = seek_block->next; | ^ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/blastem *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/blastem