+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/logrot-1.7/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/logrot-1.7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for logrot-1.7 --- logrot.o --- --- stringlist.o --- --- logrot.o --- cc -I. -I. -pipe -O2 -DGZIP=\"/home/pbulk/build/sysutils/logrot/work/.tools/bin/gzip\" -DPIDFILE=\"/var/run/syslogd.pid\" -c logrot.c --- stringlist.o --- cc -I. -I. -pipe -O2 -DGZIP=\"/home/pbulk/build/sysutils/logrot/work/.tools/bin/gzip\" -DPIDFILE=\"/var/run/syslogd.pid\" -c stringlist.c --- logrot.1 --- --- logrot.o --- logrot.c: In function 'filter_log': logrot.c:227:3: warning: implicit declaration of function 'errx' [-Wimplicit-function-declaration] 227 | errx(ecode, "rotated filename would be too long"); | ^~~~ logrot.c:233:3: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] 233 | err(ecode, "can't open '%s'", origlog); | ^~~ --- logrot.1 --- sed -e 's%!PIDFILE!%'/var/run/syslogd.pid'%' -e 's%!GZIP!%'/home/pbulk/build/sysutils/logrot/work/.tools/bin/gzip'%' < ./logrot.1.in > logrot.1 --- logrot.o --- logrot.c: In function 'parse_rotate_fmt': logrot.c:445:5: warning: implicit declaration of function 'warnx' [-Wimplicit-function-declaration] 445 | warnx("%s doesn't exist - using %s instead", | ^~~~~ logrot.c: In function 'rotate_logs': logrot.c:685:4: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration] 685 | warn("can't stat '%s'", logs[idx]); | ^~~~ --- logrot --- cc -Wl,-zrelro -Wl,-R/usr/pkg/lib -o logrot logrot.o stringlist.o