=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for logrot-1.7
clang -I. -I.  -pipe -Os -DGZIP=\"/Users/pbulk/build/sysutils/logrot/work/.tools/bin/gzip\" -DPIDFILE=\"/etc/syslog.pid\" -c logrot.c
logrot.c:227:3: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                errx(ecode, "rotated filename would be too long");
                ^
logrot.c:233:3: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                err(ecode, "can't open '%s'", origlog);
                ^
logrot.c:383:3: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                err(ecode, "can't open '%s'", pidfile);
                ^
logrot.c:396:3: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                errx(ecode, "can't parse pid from '%s'", pidfile);
                ^
logrot.c:430:4: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        errx(ecode, "format '%s' is too long", fmt);
                        ^
logrot.c:445:5: warning: call to undeclared function 'warnx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                warnx("%s doesn't exist - using %s instead",
                                ^
logrot.c:449:5: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                err(ecode, "can't stat %s", buf);
                                ^
logrot.c:496:5: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                err(ecode, "can't stat %s", buf);
                                ^
logrot.c:538:4: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        errx(ecode, "invalid signal '%s'", signame);
                        ^
logrot.c:550:3: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                errx(ecode, "signal %s out of range", signame);
                ^
logrot.c:569:3: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                errx(ecode, "invalid wait '%s'", waittime);
                ^
logrot.c:601:4: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        errx(ecode, "%% format requires a specifier");
                        ^
logrot.c:623:4: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        errx(ecode,
                        ^
logrot.c:685:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't stat '%s'", logs[idx]);
                        ^
logrot.c:689:4: warning: call to undeclared function 'warnx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warnx("'%s' isn't a regular file", logs[idx]);
                        ^
logrot.c:697:4: warning: call to undeclared function 'warnx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warnx("length of '%s' is too long", logs[idx]);
                        ^
logrot.c:704:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("mkstemp '%s' failed", buf);
                        ^
logrot.c:708:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't fchmod '%s' to %o", buf,
                        ^
logrot.c:713:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't fchown '%s' to %d,%d", buf,
                        ^
logrot.c:724:4: warning: call to undeclared function 'warnx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warnx("length of '%s' is too long", logs[idx]);
                        ^
logrot.c:731:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("mkstemp '%s' failed", buf);
                        ^
logrot.c:735:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't fchmod '%s' to %o", buf,
                        ^
logrot.c:740:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't fchown '%s' to %d,%d", buf,
                        ^
logrot.c:767:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't rename '%s' to '%s'", logs[idx],
                        ^
logrot.c:781:4: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        warn("can't rename '%s' to '%s'", newlogs->sl_str[idx],
                        ^
logrot.c:793:4: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        errx(ecode, "can't send sig %d to %d", sig, (int)pid);
                        ^
logrot.c:832:3: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                err(ecode, "can't fork");
                ^
logrot.c:840:4: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        errx(ecode, "error running %s", command);
                        ^
logrot.c:886:3: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                err(1, "memory allocation error");
                ^
29 warnings generated.
clang -I. -I.  -pipe -Os -DGZIP=\"/Users/pbulk/build/sysutils/logrot/work/.tools/bin/gzip\" -DPIDFILE=\"/etc/syslog.pid\" -c stringlist.c
sed -e 's%!PIDFILE!%'/etc/syslog.pid'%' -e 's%!GZIP!%'/Users/pbulk/build/sysutils/logrot/work/.tools/bin/gzip'%'  < ./logrot.1.in > logrot.1
clang -L/opt/pkg/lib -o logrot logrot.o stringlist.o