=> Building net/l2tpd build started at Wed Oct 5 12:24:31 PDT 2016 port directory: /usr/ports/net/l2tpd building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: sobomax@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../10//usr/ports/net/l2tpd/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=l2tpd-0.69_3 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/net/l2tpd XDG_CONFIG_HOME=/wrkdirs/net/l2tpd HOME=/wrkdirs/net/l2tpd TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/net/l2tpd XDG_CONFIG_HOME=/wrkdirs/net/l2tpd HOME=/wrkdirs/net/l2tpd TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/l2tpd" EXAMPLESDIR="share/examples/l2tpd" DATADIR="share/l2tpd" WWWDIR="www/l2tpd" ETCDIR="etc/l2tp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/l2tpd DOCSDIR=/usr/local/share/doc/l2tpd EXAMPLESDIR=/usr/local/share/examples/l2tpd WWWDIR=/usr/local/www/l2tpd ETCDIR=/usr/local/etc/l2tp --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> l2tpd-0.69_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> l2tpd-0.69_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of l2tpd-0.69_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by l2tpd-0.69_3 for building =========================================================================== =================================================== ===> Fetching all distfiles required by l2tpd-0.69_3 for building => SHA256 Checksum OK for l2tpd-0.69.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by l2tpd-0.69_3 for building ===> Extracting for l2tpd-0.69_3 => SHA256 Checksum OK for l2tpd-0.69.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for l2tpd-0.69_3 ===> Applying ports patches for l2tpd-0.69_3 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for l2tpd-0.69_3 /usr/bin/sed -i.bak -e 's|%%PREFIX%%|/usr/local|g' /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tpd.8 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.sample /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tp-secrets.5 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.5 =========================================================================== =================================================== ===> Building for l2tpd-0.69_3 --- l2tpd.o --- --- pty.o --- --- misc.o --- --- control.o --- --- avp.o --- --- l2tpd.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c l2tpd.c --- pty.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c pty.c --- misc.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c misc.c --- control.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c control.c --- avp.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avp.c --- pty.o --- In file included from l2tp.h:31:0, from pty.c:17: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- control.o --- In file included from l2tp.h:31:0, from control.c:21: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ control.c: In function 'control_finish': control.c:218:31: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:219:40: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ control.c:234:31: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.challenge, MD_SIG_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:235:41: warning: pointer targets in passing argument 2 of 'add_challenge_avp' differ in signedness [-Wpointer-sign] add_challenge_avp (buf, t->chal_them.challenge, MD_SIG_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:115:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_challenge_avp (struct buffer *, char *, int); ^ control.c:271:35: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:272:44: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ --- misc.o --- In file included from l2tp.h:31:0, from misc.c:29: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ --- control.o --- control.c:419:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:420:36: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ control.c:435:36: warning: pointer targets in passing argument 2 of 'add_chalresp_avp' differ in signedness [-Wpointer-sign] add_chalresp_avp (buf, t->chal_us.response, MD_SIG_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:138:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_chalresp_avp (struct buffer *, char *, int); ^ control.c:447:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.challenge, MD_SIG_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:458:37: warning: pointer targets in passing argument 2 of 'add_challenge_avp' differ in signedness [-Wpointer-sign] add_challenge_avp (buf, t->chal_them.challenge, MD_SIG_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:115:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_challenge_avp (struct buffer *, char *, int); ^ --- misc.o --- misc.c: In function 'bufferDump': misc.c:96:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (c, "%02x ", (buf[i * bufferDumpWIDTH + j]) & 0xff); ^ In file included from misc.c:21:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ --- control.o --- control.c:564:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:565:36: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ control.c:568:36: warning: pointer targets in passing argument 2 of 'add_chalresp_avp' differ in signedness [-Wpointer-sign] add_chalresp_avp (buf, t->chal_us.response, MD_SIG_SIZE); ^ --- misc.o --- misc.c:108:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (c, "%02x ", ^ In file included from misc.c:21:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ --- control.o --- In file included from l2tp.h:34:0, from control.c:21: avp.h:138:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_chalresp_avp (struct buffer *, char *, int); ^ --- call.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c call.c --- control.o --- control.c:737:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:738:36: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ control.c:780:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from control.c:21: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ control.c:781:36: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:34:0, from control.c:21: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ control.c: In function 'handle_special': control.c:1629:20: warning: variable 'outgoing' set but not used [-Wunused-but-set-variable] struct buffer *outgoing; ^ control.c: In function 'handle_packet': control.c:1668:20: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^ control.c: At top level: control.c:1509:26: warning: 'wbuf' is static but declared in inline function 'write_packet' which is not static static unsigned char wbuf[MAX_RECV_SIZE]; ^ In file included from l2tp.h:31:0, from control.c:21: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- l2tpd.o --- In file included from l2tp.h:31:0, from l2tpd.c:40: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ l2tpd.c: In function 'start_pppd': l2tpd.c:274:11: warning: variable 'str' set but not used [-Wunused-but-set-variable] char *str; ^ --- avp.o --- In file included from l2tp.h:31:0, from avp.c:18: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ --- l2tpd.o --- l2tpd.c: In function 'lac_hangup': l2tpd.c:651:17: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] kill (tmp->pppd, SIGTERM); ^ l2tpd.c: In function 'daemonize': l2tpd.c:986:11: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i,l; ^ In file included from l2tp.h:31:0, from l2tpd.c:40: l2tpd.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- avp.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- call.o --- In file included from l2tp.h:31:0, from call.c:24: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ call.c: In function 'call_close': call.c:281:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (c->container->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from call.c:24: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ call.c:282:36: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, c->container->chal_them.vector, ^ In file included from l2tp.h:34:0, from call.c:24: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ call.c:354:27: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (c->container->chal_them.vector, VECTOR_SIZE); ^ In file included from l2tp.h:36:0, from call.c:24: aaa.h:54:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^ call.c:355:36: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, c->container->chal_them.vector, ^ In file included from l2tp.h:34:0, from call.c:24: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^ In file included from l2tp.h:31:0, from call.c:24: call.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- network.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c network.c In file included from l2tp.h:31:0, from network.c:22: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ network.c: In function 'init_network': network.c:63:66: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname (server_socket, (struct sockaddr *) &server, &length)) ^ In file included from l2tp.h:25:0, from network.c:22: /usr/include/sys/socket.h:491:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getsockname(int, struct sockaddr *, socklen_t *); ^ network.c: In function 'network_thread': network.c:340:54: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *) &from, &fromlen); ^ In file included from l2tp.h:25:0, from network.c:22: /usr/include/sys/socket.h:495:9: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *); ^ network.c:260:20: warning: variable 'tv' set but not used [-Wunused-but-set-variable] struct timeval tv; /* Timeout for select */ ^ In file included from l2tp.h:31:0, from network.c:22: network.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- avpsend.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avpsend.c --- scheduler.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c scheduler.c --- avpsend.o --- In file included from l2tp.h:31:0, from avpsend.c:17: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- scheduler.o --- In file included from l2tp.h:31:0, from scheduler.c:19: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- file.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c file.c --- aaa.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c aaa.c --- file.o --- In file included from l2tp.h:31:0, from file.c:23: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- aaa.o --- In file included from l2tp.h:31:0, from aaa.c:20: misc.h:67:13: warning: conflicting types for built-in function 'log' extern void log (int level, const char *fmt, ...); ^ aaa.c: In function 'handle_challenge': aaa.c:250:32: warning: pointer targets in passing argument 3 of 'get_secret' differ in signedness [-Wpointer-sign] if (!get_secret (us, them, chal->secret, sizeof (chal->secret))) ^ aaa.c:134:5: note: expected 'char *' but argument is of type 'unsigned char *' int get_secret (char *us, char *them, char *secret, int size) ^ aaa.c:271:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] MD5Update (&chal->md5, chal->secret, strlen (chal->secret)); ^ In file included from aaa.c:18:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ aaa.c:272:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] MD5Update (&chal->md5, chal->challenge, strlen(chal->challenge)); ^ In file included from aaa.c:18:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ aaa.c: In function 'encrypt_avp': aaa.c:391:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_them.secret)); ^ In file included from aaa.c:18:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ aaa.c:398:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] previous_segment = ptr; ^ aaa.c:419:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_them.secret)); ^ In file included from aaa.c:18:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ aaa.c:423:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] previous_segment = ptr; ^ aaa.c: In function 'decrypt_avp': aaa.c:457:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_us.secret)); ^ In file included from aaa.c:18:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ aaa.c:459:15: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final (digest, &t->chal_us.md5); ^ In file included from aaa.h:18:0, from l2tp.h:36, from aaa.c:20: md5.h:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Final (unsigned char digest[16], struct MD5Context *context); ^ aaa.c:472:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_us.secret)); ^ In file included from aaa.c:18:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ aaa.c:473:41: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update (&t->chal_us.md5, saved_segment, MD_SIG_SIZE); ^ In file included from aaa.h:18:0, from l2tp.h:36, from aaa.c:20: md5.h:18:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update (struct MD5Context *context, unsigned char const *buf, ^ aaa.c:474:23: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final (digest, &t->chal_us.md5); ^ In file included from aaa.h:18:0, from l2tp.h:36, from aaa.c:20: md5.h:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Final (unsigned char digest[16], struct MD5Context *context); ^ In file included from l2tp.h:31:0, from aaa.c:20: aaa.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- md5.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c md5.c md5.c: In function 'MD5Final': md5.c:167:28: 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 */ ^ --- avp.o --- In file included from l2tp.h:34:0, from avp.c:18: avp.c: In function 'handle_avps': avp.h:61:27: warning: 'hidlen' may be used uninitialized in this function [-Wmaybe-uninitialized] #define ALENGTH(len) (len & 0x03FF) /* Length: Lenth of AVP */ ^ avp.c:1595:9: note: 'hidlen' was declared here int hidlen; ^ --- l2tpd --- cc -o l2tpd -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY l2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o md5.o =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for l2tpd-0.69_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/net/l2tpd/l2tpd-0.69/l2tpd /wrkdirs/net/l2tpd/stage/usr/local/bin install -m 0644 /wrkdirs/net/l2tpd/l2tpd-0.69/README /wrkdirs/net/l2tpd/stage/usr/local/share/doc/l2tpd install -m 444 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tpd.8 /wrkdirs/net/l2tpd/stage/usr/local/man/man8 install -m 444 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tp-secrets.5 /wrkdirs/net/l2tpd/stage/usr/local/man/man5 install -m 444 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.5 /wrkdirs/net/l2tpd/stage/usr/local/man/man5 install -m 0644 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.sample /wrkdirs/net/l2tpd/stage/usr/local/etc/l2tp install -m 0644 /wrkdirs/net/l2tpd/l2tpd-0.69/doc/l2tp-secrets.sample /wrkdirs/net/l2tpd/stage/usr/local/etc/l2tp ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for l2tpd-0.69_3 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for l2tpd-0.69_3 build of net/l2tpd ended at Wed Oct 5 12:24:36 PDT 2016 build time: 00:00:05