=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for rp-l2tp-0.3nb1 cc -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 cc -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 auth.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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 debug.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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 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. cc -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 main.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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: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. cc -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 network.c:18:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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 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)); ^~~~~~~~~~ options.c:169:20: warning: array subscript is of type 'char' [-Wchar-subscripts] while(*line && isspace(*line)) line++; ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ options.c:173:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*line && !isspace(*line)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ options.c:372:17: warning: array subscript is of type 'char' [-Wchar-subscripts] while(*line && isspace(*line)) line++; ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ options.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 5 warnings generated. cc -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 peer.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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 session.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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 tunnel.c:16:19: warning: unused variable 'RCSID' [-Wunused-const-variable] static char const RCSID[] = ^ 1 warning generated. cc -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 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 . /usr/pkg/bin/gmake -C libevent gmake[1]: Entering directory '/usr/pkgsrc/work/net/rp-l2tp/work/rp-l2tp-0.3/libevent' gcc -O2 -march=i586 -I.. -c -o event.o event.c gcc -O2 -march=i586 -I.. -c -o event_tcp.o event_tcp.c gcc -O2 -march=i586 -I.. -c -o hash.o hash.c gcc -O2 -march=i586 -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 '/usr/pkgsrc/work/net/rp-l2tp/work/rp-l2tp-0.3/libevent' /usr/pkg/bin/gmake -C handlers gmake[1]: Entering directory '/usr/pkgsrc/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 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. Makefile:29: recipe for target 'pty.o' failed gmake[1]: *** [pty.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/net/rp-l2tp/work/rp-l2tp-0.3/handlers' Makefile:55: recipe for target 'l2tpd' failed gmake: *** [l2tpd] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/rp-l2tp *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rp-l2tp