=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for rp-l2tp-0.3nb1
clang -M -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" auth.c debug.c dgram.c main.c md5.c network.c options.c peer.c session.c tunnel.c utils.c > .depend
clang -c -o auth.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" auth.c
auth.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o debug.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" debug.c
debug.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o dgram.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" dgram.c
dgram.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
dgram.c:119:1: warning: unused function 'describe_pulled_avp' [-Wunused-function]
describe_pulled_avp(uint16_t vendor,
^
2 warnings generated.
clang -c -o main.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" main.c
main.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o md5.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" md5.c
md5.c:143:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess]
    memset(ctx, 0, sizeof(ctx));        /* In case it's sensitive */
           ~~~            ^~~
md5.c:143:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
    memset(ctx, 0, sizeof(ctx));        /* In case it's sensitive */
                          ^~~
1 warning generated.
clang -c -o network.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" network.c
network.c:18:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o options.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" options.c
options.c:131:40: warning: 'memcpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
        memcpy(desc->addr, he->h_addr, sizeof(he->h_addr));
                                              ^
options.c:131:40: note: did you mean to provide an explicit length?
options.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
2 warnings generated.
clang -c -o peer.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" peer.c
peer.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o session.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" session.c
session.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o tunnel.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" tunnel.c
tunnel.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
clang -c -o utils.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/opt/pkg\" -DSYSCONFDIR=\""/opt/pkg/etc"\" utils.c
utils.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable]
static char const RCSID[] =
                  ^
1 warning generated.
rm -f libl2tp.a
ar -rc libl2tp.a auth.o debug.o dgram.o main.o md5.o network.o options.o peer.o session.o tunnel.o utils.o
ranlib libl2tp.a || true
test -d libevent || ln -s ../libevent .
/opt/pkg/bin/gmake -C libevent
gmake[1]: Entering directory '/Users/pbulk/build/net/rp-l2tp/work/rp-l2tp-0.3/libevent'
gcc -pipe -Os -I.. -c -o event.o event.c
gcc -pipe -Os -I.. -c -o event_tcp.o event_tcp.c
gcc -pipe -Os -I.. -c -o hash.o hash.c
gcc -pipe -Os -I.. -c -o event_sig.o event_sig.c
rm -f libevent.a
ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o
ranlib libevent.a
gmake[1]: Leaving directory '/Users/pbulk/build/net/rp-l2tp/work/rp-l2tp-0.3/libevent'
/opt/pkg/bin/gmake -C handlers
gmake[1]: Entering directory '/Users/pbulk/build/net/rp-l2tp/work/rp-l2tp-0.3/handlers'
gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o pty.o pty.c
pty.c:53:16: error: use of undeclared identifier 'N_HDLC'
    int disc = N_HDLC;
               ^
pty.c:61:17: error: use of undeclared identifier 'TIOCGPTN'
        if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) {
                       ^
pty.c:64:21: error: use of undeclared identifier 'TIOCSPTLCK'
            if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0) {
                           ^
pty.c:95:12: error: use of undeclared identifier 'N_HDLC'
    disc = N_HDLC;
           ^
4 errors generated.
gmake[1]: *** [Makefile:29: pty.o] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/net/rp-l2tp/work/rp-l2tp-0.3/handlers'
gmake: *** [Makefile:55: l2tpd] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/rp-l2tp
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/rp-l2tp