+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdinstall-20160108/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdinstall-20160108/work.log ===> Building for bsdinstall-20160108 --- bsdinstall.o --- --- setmode.o --- --- bsdinstall.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -D_PATH_DEVNULL=\"/dev/null\" -DTARGET_STRIP=\"/bin/strip\" -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/sysutils/bsdinstall/work/libnbcompat -c bsdinstall.c --- setmode.o --- cc -pipe -O2 -D_FORTIFY_SOURCE=2 -D_PATH_DEVNULL=\"/dev/null\" -DTARGET_STRIP=\"/bin/strip\" -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/sysutils/bsdinstall/work/libnbcompat -c setmode.c --- bsdinstall.o --- bsdinstall.c: In function 'copy': bsdinstall.c:848:13: error: 'MAXBSIZE' undeclared (first use in this function) u_char buf[MAXBSIZE]; ^ bsdinstall.c:848:13: note: each undeclared identifier is reported only once for each function it appears in bsdinstall.c: In function 'strip': bsdinstall.c:1048:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, progname, strlen(progname)); ^ bsdinstall.c:1049:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, exec_failure, strlen(exec_failure)); ^ bsdinstall.c:1050:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, stripprog, strlen(stripprog)); ^ bsdinstall.c:1051:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDERR_FILENO, "\n", 1); ^ *** [bsdinstall.o] Error code 1 bmake: stopped in /home/pbulk/build/sysutils/bsdinstall/work/bsdinstall-20160108 1 error bmake: stopped in /home/pbulk/build/sysutils/bsdinstall/work/bsdinstall-20160108 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/bsdinstall *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/bsdinstall