=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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 auth.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ 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 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[] = ^~~~~ debug.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 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 */ ^ main.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ 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 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 network.c:18: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 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[] = ^~~~~ 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; ^ 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 At top level: options.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ 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 session.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ tunnel.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/pkgbuild/net/rp-l2tp/work.alpha/rp-l2tp-0.3/libevent' gcc -O2 -mieee -I.. -c -o event.o event.c 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 -mieee -I.. -c -o event_tcp.o event_tcp.c gcc -O2 -mieee -I.. -c -o hash.o hash.c /usr/pkg/bin/gmake -C handlers gmake[1]: Entering directory '/tmp/pkgbuild/net/rp-l2tp/work.alpha/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 -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o sync-pppd.o sync-pppd.c sync-pppd.c: In function 'handle_frame': sync-pppd.c:145:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ 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 At top level: sync-pppd.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o cmd.o cmd.c gcc -O2 -mieee -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; ^~~ At top level: cmd.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ 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/pkgbuild/net/rp-l2tp/work.alpha/rp-l2tp-0.3/libevent' gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o dstring.o dstring.c dstring.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ /usr/pkg/bin/gmake -C handlers gmake[1]: Entering directory '/tmp/pkgbuild/net/rp-l2tp/work.alpha/rp-l2tp-0.3/handlers' 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': 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[] = ^~~~~ gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o cmd.o cmd.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; ^~~ 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,-R/usr/pkg/lib -o sync-pppd.so pty.o sync-pppd.o 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,-R/usr/pkg/lib -o cmd.so cmd.o dstring.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' ld: cmd.o: file not recognized: file truncated gcc -o l2tp-control cmd-control.o gmake[1]: *** [Makefile:35: cmd.so] Error 1 gcc -shared -Wl,-E -lutil -Wl,-R/usr/pkg/lib -o sync-pppd.so pty.o sync-pppd.o gmake[1]: *** Waiting for unfinished jobs.... gcc -o l2tp-control cmd-control.o gcc -shared -Wl,-E -lutil -Wl,-R/usr/pkg/lib -o cmd.so cmd.o dstring.o gmake[1]: Leaving directory '/tmp/pkgbuild/net/rp-l2tp/work.alpha/rp-l2tp-0.3/handlers' gcc -Wl,-E -lutil -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 gmake[1]: Leaving directory '/tmp/pkgbuild/net/rp-l2tp/work.alpha/rp-l2tp-0.3/handlers' gmake: *** [Makefile:71: handlers] Error 2 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/rp-l2tp *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/rp-l2tp