+ 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/u9fs-2.0.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/u9fs-2.0.3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for u9fs-2.0.3 --- io_std.o --- --- authnone.o --- --- authrhosts.o --- --- authp9any.o --- --- io_std.o --- gcc -g -I. -c io_std.c --- authnone.o --- gcc -g -I. -c authnone.c --- authrhosts.o --- gcc -g -I. -c authrhosts.c --- authp9any.o --- gcc -g -I. -c authp9any.c --- io_std.o --- io_std.c: In function 'u9fs_write': io_std.c:6:16: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 6 | return write(fd, buf, count); | ^~~~~ | fwrite io_std.c: In function 'u9fs_read': io_std.c:12:16: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 12 | return read(fd, buf, count); | ^~~~ | fread *** [io_std.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/filesystems/u9fs/work/u9fs --- authnone.o --- In file included from authnone.c:1: ./plan9.h:9:9: warning: "_LARGEFILE64_SOURCE" redefined 9 | #define _LARGEFILE64_SOURCE | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/types.h:37, from /usr/include/sys/param.h:44, from ./plan9.h:1: /usr/include/sys/feature_tests.h:222:9: note: this is the location of the previous definition 222 | #define _LARGEFILE64_SOURCE 1 | ^~~~~~~~~~~~~~~~~~~ --- authp9any.o --- In file included from authp9any.c:6: ./plan9.h:9:9: warning: "_LARGEFILE64_SOURCE" redefined 9 | #define _LARGEFILE64_SOURCE | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/types.h:37, from /usr/include/sys/param.h:44, from ./plan9.h:1: /usr/include/sys/feature_tests.h:222:9: note: this is the location of the previous definition 222 | #define _LARGEFILE64_SOURCE 1 | ^~~~~~~~~~~~~~~~~~~ --- authrhosts.o --- In file included from authrhosts.c:1: ./plan9.h:9:9: warning: "_LARGEFILE64_SOURCE" redefined 9 | #define _LARGEFILE64_SOURCE | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/types.h:37, from /usr/include/sys/param.h:44, from ./plan9.h:1: /usr/include/sys/feature_tests.h:222:9: note: this is the location of the previous definition 222 | #define _LARGEFILE64_SOURCE 1 | ^~~~~~~~~~~~~~~~~~~ authrhosts.c: In function 'rhostsattach': authrhosts.c:27:12: error: implicit declaration of function 'ruserok' [-Wimplicit-function-declaration] 27 | if(ruserok(remotehostname, 0, rx->uname, rx->uname) < 0){ | ^~~~~~~ --- authp9any.o --- authp9any.c: In function 'p9anyinit': authp9any.c:305:18: error: implicit declaration of function 'open' [-Wimplicit-function-declaration] 305 | if((fd = open(af, OREAD)) < 0) | ^~~~ authp9any.c:306:17: error: implicit declaration of function 'sysfatal' [-Wimplicit-function-declaration] 306 | sysfatal("can't open key file '%s'", af); | ^~~~~~~~ --- authrhosts.o --- *** [authrhosts.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/filesystems/u9fs/work/u9fs --- authp9any.o --- *** [authp9any.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/filesystems/u9fs/work/u9fs bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/filesystems/u9fs/work/u9fs *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/filesystems/u9fs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/filesystems/u9fs