+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/pcsc-lite-2.2.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/pcsc-lite-2.2.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for pcsc-lite-2.2.1 ninja: Entering directory `output' [1/45] Compiling C object libpcsclite.so.1.p/src_error.c.o [2/45] Compiling C object libpcsclite.so.1.p/src_libredirect.c.o [3/45] Compiling C object libpcsclite.so.1.p/src_sys_unix.c.o [4/45] Generating 'pcscd.p/configfile.c' [5/45] Generating 'pcscd.p/tokenparser.c' [6/45] Linking target libpcsclite.so.1 [7/45] Compiling C object pcscd.p/meson-generated_configfile.c.o FAILED: pcscd.p/meson-generated_configfile.c.o gcc -Ipcscd.p -I. -I.. -I../src -I../src/PCSC -I/opt/pkg/include/polkit-1 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -DPCSCD -MD -MQ pcscd.p/meson-generated_configfile.c.o -MF pcscd.p/meson-generated_configfile.c.o.d -o pcscd.p/meson-generated_configfile.c.o -c pcscd.p/configfile.c ../src/configfile.l: In function 'DBGetReaderListDir': ../src/configfile.l:305:37: error: 'struct dirent' has no member named 'd_type' 305 | if (direntry->d_type == DT_UNKNOWN) | ^~ ../src/configfile.l:305:49: error: 'DT_UNKNOWN' undeclared (first use in this function); did you mean 'SCARD_UNKNOWN'? 305 | if (direntry->d_type == DT_UNKNOWN) | ^~~~~~~~~~ | SCARD_UNKNOWN ../src/configfile.l:305:49: note: each undeclared identifier is reported only once for each function it appears in ../src/configfile.l:324:45: error: 'struct dirent' has no member named 'd_type' 324 | if (direntry->d_type != DT_REG) | ^~ ../src/configfile.l:324:57: error: 'DT_REG' undeclared (first use in this function) 324 | if (direntry->d_type != DT_REG) | ^~~~~~ ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pcsc-lite *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pcsc-lite