=> Building net/l2tpd Started : Friday, 8 MAR 2019 at 02:00:39 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 -------------------------------------------------- ===> The following configuration options are available for l2tpd-0.69_9: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- 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=gcc80 -------------------------------------------------- -- 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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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="" OSREL=5.5 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-BE 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 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> l2tpd-0.69_9 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> l2tpd-0.69_9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of l2tpd-0.69_9 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by l2tpd-0.69_9 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by l2tpd-0.69_9 for building => SHA256 Checksum OK for l2tpd-0.69.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by l2tpd-0.69_9 for building ===> Extracting for l2tpd-0.69_9 => SHA256 Checksum OK for l2tpd-0.69.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for l2tpd-0.69_9 ===> Applying ports patches for l2tpd-0.69_9 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for l2tpd-0.69_9 /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_9 --- 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 --- l2tpd.o --- In file included from l2tp.h:31, from l2tpd.c:40: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] 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; ^~~ l2tpd.c: In function 'lac_hangup': l2tpd.c:651:17: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] kill (tmp->pppd, SIGTERM); ^~~~ --- avp.o --- In file included from l2tp.h:31, from avp.c:18: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ --- control.o --- In file included from l2tp.h:31, from control.c:21: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ --- 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, 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); ^~~~~ --- control.o --- control.c: In function 'control_finish': control.c:218:43: 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, 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:52: 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, 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:43: 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, 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:53: 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, 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:47: 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, 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:56: 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, 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:39: 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, 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:48: 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, 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:46: 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, 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:39: 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, 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:49: 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, 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:39: 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, 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:48: 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, 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:46: 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, 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:39: 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, 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:48: 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, 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:39: 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, 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:48: 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, 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, from misc.c:29: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ --- pty.o --- In file included from l2tp.h:31, from pty.c:17: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ --- 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: /usr/include/stdio.h:226: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: /usr/include/stdio.h:226: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 'handle_special': control.c:1629:20: warning: variable 'outgoing' set but not used [-Wunused-but-set-variable] struct buffer *outgoing; ^~~~~~~~ --- pty.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ --- control.o --- 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, from control.c:21: 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 --- 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, from call.c:24: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ call.c: In function 'call_close': call.c:281:50: 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, 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:59: 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, 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:50: 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, 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:59: 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, 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, 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, from network.c:22: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] 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, from network.c:22: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ 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, from network.c:22: /usr/include/sys/socket.h:496:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ 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, 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, from avpsend.c:17: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] 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, from scheduler.c:19: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] 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, from file.c:23: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] 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 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 */ ^ --- aaa.o --- In file included from l2tp.h:31, from aaa.c:20: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ aaa.c: In function 'handle_challenge': aaa.c:250:36: 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:54: 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: /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:56: 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: /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:36: 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: /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 from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] previous_segment = ptr; ^ aaa.c:419:44: 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: /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 from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] previous_segment = ptr; ^ aaa.c: In function 'decrypt_avp': aaa.c:457:34: 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: /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, 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:42: 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: /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, 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, 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, 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); ^~~~~ --- avp.o --- avp.c: In function 'handle_avps': avp.c:1740:12: warning: 'hidlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (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_9 ===> 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_9 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 02:00:44 UTC Duration: 00:00:05