=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rp-l2tp-0.3nb1 gcc -M -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/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 gcc -c -o auth.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" auth.c gcc -c -o debug.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" debug.c gcc -c -o dgram.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" dgram.c gcc -c -o main.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" main.c auth.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ debug.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ main.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ dgram.c:119:1: warning: 'describe_pulled_avp' defined but not used [-Wunused-function] describe_pulled_avp(uint16_t vendor, ^~~~~~~~~~~~~~~~~~~ dgram.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -c -o md5.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" md5.c gcc -c -o network.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" network.c gcc -c -o options.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" options.c md5.c: In function 'MD5Final': md5.c:143:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ network.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -c -o peer.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" peer.c options.c:42:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "load-handler", OPT_TYPE_CALLFUNC, (void *) do_load_handler }, ^ options.c: In function 'set_option': options.c:131:39: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memcpy(desc->addr, he->h_addr, sizeof(he->h_addr)); ^ options.c:146:7: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] fn = (int (*)(EventSelector *, l2tp_opt_descriptor *, char const *)) desc->addr; ^ At top level: options.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -c -o session.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" session.c gcc -c -o tunnel.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" tunnel.c gcc -c -o utils.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.3\" -DPREFIX=\"/usr/pkg\" -DSYSCONFDIR=\""/usr/pkg/etc"\" utils.c peer.c:46:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "secret", OPT_TYPE_CALLFUNC, (void *) handle_secret_option}, ^ peer.c:48:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "lac-handler", OPT_TYPE_CALLFUNC, (void *) set_lac_handler}, ^ peer.c:49:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "lns-handler", OPT_TYPE_CALLFUNC, (void *) set_lns_handler}, ^ peer.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ session.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ test -d libevent || ln -s ../libevent . /usr/pkg/bin/gmake -C libevent gmake[1]: Entering directory '/tmp/net/rp-l2tp/work/rp-l2tp-0.3/libevent' gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I.. -c -o event.o event.c tunnel.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ utils.c: In function 'l2tp_load_handler': utils.c:216:15: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] init_fn = (void (*)(EventSelector *)) init; ^ At top level: utils.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I.. -c -o event_tcp.o event_tcp.c /usr/pkg/bin/gmake -C handlers gmake[1]: Entering directory '/tmp/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:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I.. -c -o hash.o hash.c gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o sync-pppd.o sync-pppd.c sync-pppd.c: In function 'handle_frame': gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o cmd.o cmd.c sync-pppd.c:145:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ At top level: sync-pppd.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ 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 gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o dstring.o dstring.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I.. -c -o event_sig.o event_sig.c cmd.c: In function 'process_option': cmd.c:155:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] socklen_t len; ^~~ dstring.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ At top level: cmd.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -c -o cmd-control.o cmd-control.c gcc -shared -Wl,-E -lutil -Wl,-zrelro -Wl,-R/usr/pkg/lib -o sync-pppd.so pty.o sync-pppd.o 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 '/tmp/net/rp-l2tp/work/rp-l2tp-0.3/libevent' /usr/pkg/bin/gmake -C handlers gmake[1]: Entering directory '/tmp/net/rp-l2tp/work/rp-l2tp-0.3/handlers' gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o cmd.o cmd.c gcc -c -o cmd-control.o cmd-control.c cmd-control.c: In function 'send_cmd': cmd-control.c:53:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(&addr, 0, sizeof(addr)); ^~~~~~ cmd-control.c:53:5: warning: incompatible implicit declaration of built-in function 'memset' cmd-control.c:53:5: note: include '' or provide a declaration of 'memset' cmd-control.c:55:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(addr.sun_path, "/var/run/l2tpctrl", sizeof(addr.sun_path) - 1); ^~~~~~~ cmd-control.c:55:5: warning: incompatible implicit declaration of built-in function 'strncpy' cmd-control.c:55:5: note: include '' or provide a declaration of 'strncpy' cmd-control.c:68:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] v[0].iov_len = strlen(cmd); ^~~~~~ cmd-control.c:68:20: warning: incompatible implicit declaration of built-in function 'strlen' cmd-control.c:68:20: note: include '' or provide a declaration of 'strlen' gcc -shared -Wl,-E -lutil -Wl,-zrelro -Wl,-R/usr/pkg/lib -o cmd.so cmd.o dstring.o gcc -o l2tp-control cmd-control.o cmd-control.c: In function 'send_cmd': cmd-control.c:53:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(&addr, 0, sizeof(addr)); ^~~~~~ cmd-control.c:53:5: warning: incompatible implicit declaration of built-in function 'memset' cmd-control.c:53:5: note: include '' or provide a declaration of 'memset' cmd-control.c:55:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(addr.sun_path, "/var/run/l2tpctrl", sizeof(addr.sun_path) - 1); ^~~~~~~ cmd-control.c:55:5: warning: incompatible implicit declaration of built-in function 'strncpy' cmd-control.c:55:5: note: include '' or provide a declaration of 'strncpy' cmd-control.c:68:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] v[0].iov_len = strlen(cmd); ^~~~~~ cmd-control.c:68:20: warning: incompatible implicit declaration of built-in function 'strlen' cmd-control.c:68:20: note: include '' or provide a declaration of 'strlen' gmake[1]: Leaving directory '/tmp/net/rp-l2tp/work/rp-l2tp-0.3/handlers' cmd.c: In function 'process_option': cmd.c:155:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] socklen_t len; ^~~ At top level: cmd.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -o l2tp-control cmd-control.o gcc -shared -Wl,-E -lutil -Wl,-zrelro -Wl,-R/usr/pkg/lib -o cmd.so cmd.o dstring.o gmake[1]: Leaving directory '/tmp/net/rp-l2tp/work/rp-l2tp-0.3/handlers' gcc -Wl,-E -lutil -Wl,-zrelro -Wl,-R/usr/pkg/lib -o l2tpd auth.o debug.o dgram.o main.o md5.o network.o options.o peer.o session.o tunnel.o utils.o libevent/*.o