=> Building net/l2tpd Started : Thursday, 19 APR 2018 at 02:50:26 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/l2tpd XDG_CONFIG_HOME=/construction/net/l2tpd HOME=/construction/net/l2tpd TMPDIR="/tmp" PATH=/construction/net/l2tpd/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/l2tpd XDG_CONFIG_HOME=/construction/net/l2tpd HOME=/construction/net/l2tpd TMPDIR="/tmp" PATH=/construction/net/l2tpd/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/l2tpd/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/l2tpd" EXAMPLESDIR="share/examples/l2tpd" DATADIR="share/l2tpd" WWWDIR="www/l2tpd" ETCDIR="etc/l2tp" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> l2tpd-0.69_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> l2tpd-0.69_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of l2tpd-0.69_7 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by l2tpd-0.69_7 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by l2tpd-0.69_7 for building => SHA256 Checksum OK for l2tpd-0.69.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by l2tpd-0.69_7 for building ===> Extracting for l2tpd-0.69_7 => SHA256 Checksum OK for l2tpd-0.69.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for l2tpd-0.69_7 ===> Applying ports patches for l2tpd-0.69_7 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for l2tpd-0.69_7 /usr/bin/sed -i.bak -e 's|%%PREFIX%%|/usr/local|g' /construction/net/l2tpd/l2tpd-0.69/doc/l2tpd.8 /construction/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.sample /construction/net/l2tpd/l2tpd-0.69/doc/l2tp-secrets.5 /construction/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.5 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for l2tpd-0.69_7 --- 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); ^ --- 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 --- 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, ...); ^ --- avp.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^ --- l2tpd.o --- l2tpd.c: In function 'start_pppd': l2tpd.c:274:11: warning: variable 'str' set but not used [-Wunused-but-set-variable] char *str; ^ l2tpd.c: In function 'lac_hangup': l2tpd.c:651:17: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] kill (tmp->pppd, SIGTERM); ^ --- call.o --- --- l2tpd.o --- 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); ^ --- call.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c call.c 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:492: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:496: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); ^ --- 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, ...); ^ --- avpsend.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avpsend.c 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); ^ --- 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, ...); ^ 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:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ 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:224:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ --- control.o --- 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); ^ 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); ^ 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); ^ 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: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); ^ --- scheduler.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c scheduler.c 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 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 --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c aaa.c --- md5.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c md5.c --- 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 --- 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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for l2tpd-0.69_7 ===> Generating temporary packing list install -s -m 555 /construction/net/l2tpd/l2tpd-0.69/l2tpd /construction/net/l2tpd/stage/usr/local/bin install -m 0644 /construction/net/l2tpd/l2tpd-0.69/README /construction/net/l2tpd/stage/usr/local/share/doc/l2tpd install -m 444 /construction/net/l2tpd/l2tpd-0.69/doc/l2tpd.8 /construction/net/l2tpd/stage/usr/local/man/man8 install -m 444 /construction/net/l2tpd/l2tpd-0.69/doc/l2tp-secrets.5 /construction/net/l2tpd/stage/usr/local/man/man5 install -m 444 /construction/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.5 /construction/net/l2tpd/stage/usr/local/man/man5 install -m 0644 /construction/net/l2tpd/l2tpd-0.69/doc/l2tpd.conf.sample /construction/net/l2tpd/stage/usr/local/etc/l2tp install -m 0644 /construction/net/l2tpd/l2tpd-0.69/doc/l2tp-secrets.sample /construction/net/l2tpd/stage/usr/local/etc/l2tp ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for l2tpd-0.69_7 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 02:50:32 UTC Duration: 00:00:05