+ 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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 depbase=`echo src/file_queue.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/file_queue.o -MD -MP -MF $depbase.Tpo -c -o src/file_queue.o src/file_queue.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/line_list.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/line_list.o -MD -MP -MF $depbase.Tpo -c -o src/line_list.o src/line_list.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/worker.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/worker.o -MD -MP -MF $depbase.Tpo -c -o src/worker.o src/worker.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/search.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/search.o -MD -MP -MF $depbase.Tpo -c -o src/search.o src/search.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/print.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/print.o -MD -MP -MF $depbase.Tpo -c -o src/print.o src/print.c &&\ mv -f $depbase.Tpo $depbase.Po src/search.c: In function 'search': src/search.c:403:10: warning: variable 'do_search' set but not used [-Wunused-but-set-variable] 403 | bool do_search = false; | ^~~~~~~~~ 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' 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) { | ^~ depbase=`echo src/ignore.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/ignore.o -MD -MP -MF $depbase.Tpo -c -o src/ignore.o src/ignore.c &&\ mv -f $depbase.Tpo $depbase.Po src/scan.c:146:48: error: 'DT_LNK' undeclared (first use in this function) 146 | if (op.follow_link && entry->d_type == DT_LNK) { | ^~~~~~ In file included from src/scan.c:12: ./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 | } | ^ depbase=`echo src/log.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 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -D_REENTRANT -pthreads -Wall -std=gnu99 -MT src/log.o -MD -MP -MF $depbase.Tpo -c -o src/log.o src/log.c &&\ mv -f $depbase.Tpo $depbase.Po gmake: *** [Makefile:797: src/scan.o] Error 1 gmake: *** Waiting for unfinished jobs.... src/print.c: In function 'print_line_number': src/print.c:48:5: warning: 'sep' may be used uninitialized in this function [-Wmaybe-uninitialized] 48 | putc(sep, stdout); | ^~~~~~~~~~~~~~~~~ src/print.c:43:9: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] 43 | printf_with_color("%*d", color, max_digit, match_line->line_no); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ignore.c: In function 'add_ignore_node': src/ignore.c:44:23: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 44 | node->is_no_dir = index(pattern, '/') == NULL; | ^~~~~ src/ignore.c:44:23: warning: incompatible implicit declaration of built-in function 'index' In file included from src/ignore.c:17: src/ignore.c: In function 'match_path': ./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/ignore.c:114:30: note: in expansion of macro 'ENTRY_ISDIR' 114 | if (node->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/ignore.c:114:30: note: in expansion of macro 'ENTRY_ISDIR' 114 | if (node->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/ignore.c:114:30: note: in expansion of macro 'ENTRY_ISDIR' 114 | if (node->is_dir && !ENTRY_ISDIR(entry)) { | ^~~~~~~~~~~ src/ignore.c: In function 'is_ignore': ./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/ignore.c:148:10: note: in expansion of macro 'ENTRY_ISDIR' 148 | 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/ignore.c:148:10: note: in expansion of macro 'ENTRY_ISDIR' 148 | if (!ENTRY_ISDIR(entry)) { | ^~~~~~~~~~~ src/ignore.c:149:21: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 149 | char *ext = rindex(path, '.'); | ^~~~~~ src/ignore.c:149:21: warning: incompatible implicit declaration of built-in function 'rindex' In file included from src/ignore.c:17: ./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/ignore.c:164:42: note: in expansion of macro 'ENTRY_ISDIR' 164 | bool is_skip = (node->is_dir && !ENTRY_ISDIR(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/ignore.c:179:42: note: in expansion of macro 'ENTRY_ISDIR' 179 | bool is_skip = (node->is_dir && !ENTRY_ISDIR(entry)) || | ^~~~~~~~~~~ gmake: *** [Makefile:797: src/ignore.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/highway *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/highway