=> 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 */ ^~~ debug.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. 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 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 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, ^ auth.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ network.c:18:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 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? 1 memcpy(desc->addr, he->h_addr, sizeof(he->h_addr)); warning generated. ^ 1 warning generated. main.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[] = ^ test -d libevent || ln -s ../libevent . /opt/pkg/bin/gmake -C handlers 1 warning 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 gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o sync-pppd.o sync-pppd.c 2 warnings generated. /opt/pkg/bin/gmake -C libevent 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[] = ^ 1 warning generated. gcc -c -o cmd-control.o cmd-control.c session.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ dstring.c:17:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ sync-pppd.c:17:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. pty.c:53:16: error: use of undeclared identifier 'N_HDLC' int disc = N_HDLC; ^ 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. gcc -O2 -I.. -c -o event_tcp.o event_tcp.c gmake[1]: *** [Makefile:29: pty.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... tunnel.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ gcc -O2 -I.. -c -o hash.o hash.c 1 warning generated. gcc -O2 -I.. -c -o event_sig.o event_sig.c 1 warning generated. rm -f libl2tp.a 1 warning generated. 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. cmd-control.c:53:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(&addr, 0, sizeof(addr)); ^ cmd-control.c:53:5: note: include the header or explicitly provide a declaration for 'memset' cmd-control.c:55:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(addr.sun_path, "/var/run/l2tpctrl", sizeof(addr.sun_path) - 1); ^ cmd-control.c:55:5: note: include the header or explicitly provide a declaration for 'strncpy' cmd-control.c:68:20: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] v[0].iov_len = strlen(cmd); ^ cmd-control.c:68:20: note: include the header or explicitly provide a declaration for 'strlen' 3 warnings 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