+ 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/watchman-4.7.0nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/watchman-4.7.0nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for watchman-4.7.0nb2 /opt/pkg/bin/gmake all-am gmake[1]: Entering directory '/home/pbulk/build/sysutils/watchman/work/watchman-4.7.0' CC watchman-argv.o CC watchman-envp.o CC watchman-spawn.o CC watchman-opt.o CC watchman-cfg.o CC watchman-clockspec.o CC watchman-checksock.o CC watchman-fstype.o CC watchman-log.o log.c: In function 'crash_handler': log.c:78:5: warning: implicit declaration of function 'dprintf'; did you mean 'vprintf'? [-Wimplicit-function-declaration] 78 | dprintf(STDERR_FILENO, | ^~~~~~~ | vprintf CC watchman-ignore.o CC watchman-json.o CC watchman-bser.o CC watchman-expflags.o CC watchman-hash.o hash.c: In function 'w_hash_bytes': hash.c:228:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 228 | case 12: c+=((uint32_t)k[11])<<24; | ~^~~~~~~~~~~~~~~~~~~~~~~ hash.c:229:7: note: here 229 | case 11: c+=((uint32_t)k[10])<<16; | ^~~~ hash.c:229:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | case 11: c+=((uint32_t)k[10])<<16; | ~^~~~~~~~~~~~~~~~~~~~~~~ hash.c:230:7: note: here 230 | case 10: c+=((uint32_t)k[9])<<8; | ^~~~ hash.c:230:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 230 | case 10: c+=((uint32_t)k[9])<<8; | ~^~~~~~~~~~~~~~~~~~~~~ hash.c:231:7: note: here 231 | case 9 : c+=k[8]; | ^~~~ hash.c:231:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 231 | case 9 : c+=k[8]; | ~^~~~~~ hash.c:232:7: note: here 232 | case 8 : b+=((uint32_t)k[7])<<24; | ^~~~ hash.c:232:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | case 8 : b+=((uint32_t)k[7])<<24; | ~^~~~~~~~~~~~~~~~~~~~~~ hash.c:233:7: note: here 233 | case 7 : b+=((uint32_t)k[6])<<16; | ^~~~ hash.c:233:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | case 7 : b+=((uint32_t)k[6])<<16; | ~^~~~~~~~~~~~~~~~~~~~~~ hash.c:234:7: note: here 234 | case 6 : b+=((uint32_t)k[5])<<8; | ^~~~ hash.c:234:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 234 | case 6 : b+=((uint32_t)k[5])<<8; | ~^~~~~~~~~~~~~~~~~~~~~ hash.c:235:7: note: here 235 | case 5 : b+=k[4]; | ^~~~ hash.c:235:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 235 | case 5 : b+=k[4]; | ~^~~~~~ hash.c:236:7: note: here 236 | case 4 : a+=((uint32_t)k[3])<<24; | ^~~~ hash.c:236:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 236 | case 4 : a+=((uint32_t)k[3])<<24; | ~^~~~~~~~~~~~~~~~~~~~~~ hash.c:237:7: note: here 237 | case 3 : a+=((uint32_t)k[2])<<16; | ^~~~ hash.c:237:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | case 3 : a+=((uint32_t)k[2])<<16; | ~^~~~~~~~~~~~~~~~~~~~~~ hash.c:238:7: note: here 238 | case 2 : a+=((uint32_t)k[1])<<8; | ^~~~ hash.c:238:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 238 | case 2 : a+=((uint32_t)k[1])<<8; | ~^~~~~~~~~~~~~~~~~~~~~ hash.c:239:7: note: here 239 | case 1 : a+=k[0]; | ^~~~ CC watchman-ht.o CC watchman-ioprio.o CC watchman-opendir.o opendir.c: In function 'realpath_fd': opendir.c:190:28: warning: unused parameter 'fd' [-Wunused-parameter] 190 | static int realpath_fd(int fd, char *canon, size_t canon_size) { | ~~~~^~ CC watchman-pending.o CC watchman-perf.o CC watchman-stream.o CC watchman-stream_stdout.o CC watchman-stream_unix.o stream_unix.c: In function 'unix_peer_is_owner': stream_unix.c:71:23: warning: unused variable 'h' [-Wunused-variable] 71 | struct unix_handle *h = stm->handle; | ^ CC watchman-timedlock.o CC cmds/watchman-find.o CC cmds/watchman-info.o CC cmds/watchman-log.o CC cmds/watchman-query.o CC cmds/watchman-since.o CC cmds/watchman-reg.o CC cmds/watchman-state.o CC cmds/watchman-subscribe.o CC cmds/watchman-trigger.o CC cmds/watchman-watch.o CC cmds/watchman-debug.o CC query/watchman-base.o CC query/watchman-dirname.o CC query/watchman-parse.o CC query/watchman-eval.o CC query/watchman-glob.o CC query/watchman-intcompare.o CC query/watchman-type.o CC query/watchman-suffix.o CC query/watchman-match.o CC query/watchman-pcre.o CC query/watchman-name.o CC query/watchman-fieldlist.o CC query/watchman-since.o CC query/watchman-empty.o CC watcher/watchman-auto.o CC watcher/watchman-fsevents.o CC watcher/watchman-inotify.o watcher/inotify.c: In function 'process_inotify_event': watcher/inotify.c:307:9: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 307 | == (IN_MOVED_FROM|IN_ISDIR)) { | ^~ CC watcher/watchman-kqueue.o CC watcher/watchman-portfs.o watcher/portfs.c: In function 'portfs_root_start_watch_file': watcher/portfs.c:174:40: error: 'struct watchman_dir' has no member named 'path' 174 | name = w_string_path_cat(file->parent->path, file->name); | ^~ watcher/portfs.c:174:52: error: 'struct watchman_file' has no member named 'name' 174 | name = w_string_path_cat(file->parent->path, file->name); | ^~ watcher/portfs.c:178:42: error: 'struct watchman_file' has no member named 'st'; did you mean 'stat'? 178 | success = do_watch(state, name, &file->st); | ^~ | stat watcher/portfs.c: In function 'portfs_root_start_watch_dir': watcher/portfs.c:205:19: warning: passing argument 1 of 'dirfd' from incompatible pointer type [-Wincompatible-pointer-types] 205 | if (fstat(dirfd(osdir), &st) == -1) { | ^~~~~ | | | struct watchman_dir_handle * In file included from ./watchman.h:39, from watcher/portfs.c:4: /usr/include/dirent.h:102:31: note: expected 'DIR *' but argument is of type 'struct watchman_dir_handle *' 102 | extern int dirfd(DIR *); | ^~~~~ watcher/portfs.c:209:29: error: 'root' undeclared (first use in this function); did you mean 'chroot'? 209 | w_root_schedule_recrawl(root, "fstat failed"); | ^~~~ | chroot watcher/portfs.c:209:29: note: each undeclared identifier is reported only once for each function it appears in gmake[1]: *** [Makefile:2983: watcher/watchman-portfs.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/sysutils/watchman/work/watchman-4.7.0' gmake: *** [Makefile:986: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/watchman *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/watchman