+ 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/highway-1.1.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/highway-1.1.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for highway-1.1.0 depbase=`echo src/highway.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I./include -I./vendor/onigmo -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/highway.o -MD -MP -MF $depbase.Tpo -c -o src/highway.o src/highway.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I./include -I./vendor/onigmo -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/file.o -MD -MP -MF $depbase.Tpo -c -o src/file.o src/file.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/scan.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I./include -I./vendor/onigmo -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/scan.o -MD -MP -MF $depbase.Tpo -c -o src/scan.o src/scan.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from src/scan.c:12: src/scan.c: In function 'is_skip_entry': ./include/util.h:18:26: error: 'const struct dirent' has no member named 'd_type' 18 | #define ENTRY_ISDIR(e) (e->d_type == DT_DIR) | ^~ src/scan.c:40:19: note: in expansion of macro 'ENTRY_ISDIR' 40 | bool is_dir = ENTRY_ISDIR(entry); | ^~~~~~~~~~~ ./include/util.h:18:38: error: 'DT_DIR' undeclared (first use in this function) 18 | #define ENTRY_ISDIR(e) (e->d_type == DT_DIR) | ^~~~~~ src/scan.c:40:19: note: in expansion of macro 'ENTRY_ISDIR' 40 | bool is_dir = ENTRY_ISDIR(entry); | ^~~~~~~~~~~ ./include/util.h:18:38: note: each undeclared identifier is reported only once for each function it appears in 18 | #define ENTRY_ISDIR(e) (e->d_type == DT_DIR) | ^~~~~~ src/scan.c:40:19: note: in expansion of macro 'ENTRY_ISDIR' 40 | bool is_dir = ENTRY_ISDIR(entry); | ^~~~~~~~~~~ src/scan.c:50:21: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 50 | char *ext = rindex(entry->d_name, '.'); | ^~~~~~ src/scan.c:50:21: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] src/scan.c: In function 'is_search_target_by_entry': src/scan.c:82:21: error: 'const struct dirent' has no member named 'd_type' 82 | return entry->d_type == DT_REG || entry->d_type == DT_LNK; | ^~ src/scan.c:82:33: error: 'DT_REG' undeclared (first use in this function) 82 | return entry->d_type == DT_REG || entry->d_type == DT_LNK; | ^~~~~~ src/scan.c:82:48: error: 'const struct dirent' has no member named 'd_type' 82 | return entry->d_type == DT_REG || entry->d_type == DT_LNK; | ^~ src/scan.c:82:60: error: 'DT_LNK' undeclared (first use in this function) 82 | return entry->d_type == DT_REG || entry->d_type == DT_LNK; | ^~~~~~ src/scan.c:84:21: error: 'const struct dirent' has no member named 'd_type' 84 | return entry->d_type == DT_REG; | ^~ src/scan.c: In function 'scan_target': src/scan.c:146:36: error: 'struct dirent' has no member named 'd_type' 146 | if (op.follow_link && entry->d_type == DT_LNK) { | ^~ src/scan.c:146:48: error: 'DT_LNK' undeclared (first use in this function) 146 | if (op.follow_link && entry->d_type == DT_LNK) { | ^~~~~~ ./include/util.h:18:26: error: 'struct dirent' has no member named 'd_type' 18 | #define ENTRY_ISDIR(e) (e->d_type == DT_DIR) | ^~ src/scan.c:155:13: note: in expansion of macro 'ENTRY_ISDIR' 155 | if (ENTRY_ISDIR(entry)) { | ^~~~~~~~~~~ ./include/util.h:18:38: error: 'DT_DIR' undeclared (first use in this function) 18 | #define ENTRY_ISDIR(e) (e->d_type == DT_DIR) | ^~~~~~ src/scan.c:155:13: note: in expansion of macro 'ENTRY_ISDIR' 155 | if (ENTRY_ISDIR(entry)) { | ^~~~~~~~~~~ src/scan.c: In function 'is_search_target_by_entry': src/scan.c:89:1: warning: control reaches end of non-void function [-Wreturn-type] 89 | } | ^ gmake: *** [Makefile:797: src/scan.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/highway *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/highway