=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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 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 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 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 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 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 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 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 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 */ ^~~ network.c:18:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ auth.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ main.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. 1 warning generated. 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, ^ 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 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 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 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? memcpy(desc->addr, he->h_addr, sizeof(he->h_addr)); ^ debug.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ options.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ peer.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. 1 warning generated. test -d libevent || ln -s ../libevent . /opt/pkg/bin/gmake -C handlers 1 warning generated. 2 warnings generated. 2 warnings generated. gmake[1]: Entering directory '/opt/work/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 /opt/pkg/bin/gmake -C libevent gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o sync-pppd.o sync-pppd.c gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o cmd.o cmd.c gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o dstring.o dstring.c gmake[1]: Entering directory '/opt/work/net/rp-l2tp/work/rp-l2tp-0.3/libevent' gcc -O2 -I.. -c -o event.o event.c utils.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ tunnel.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. gcc -O2 -I.. -c -o event_tcp.o event_tcp.c pty.c:53:16: error: use of undeclared identifier 'N_HDLC' int disc = N_HDLC; ^ session.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ cmd.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 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. dstring.c:17:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ gmake[1]: *** [Makefile:29: pty.o] Error 1 gcc -O2 -I.. -c -o hash.o hash.c gmake[1]: *** Waiting for unfinished jobs.... sync-pppd.c:17:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. 1 warning generated. gcc -O2 -I.. -c -o event_sig.o event_sig.c 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 1 warning generated. 1 warning generated. gmake[1]: Leaving directory '/opt/work/net/rp-l2tp/work/rp-l2tp-0.3/handlers' gmake: *** [Makefile:71: handlers] Error 2 gmake: *** Waiting for unfinished jobs.... ranlib libl2tp.a || true 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 '/opt/work/net/rp-l2tp/work/rp-l2tp-0.3/libevent' *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/rp-l2tp *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/rp-l2tp