------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for l2tpd-0.69_11: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/l2tpd XDG_CONFIG_HOME=/construction/net/l2tpd XDG_CACHE_HOME=/construction/net/l2tpd/.cache HOME=/construction/net/l2tpd TMPDIR="/tmp" PATH=/construction/net/l2tpd/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/l2tpd/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/l2tpd XDG_CONFIG_HOME=/construction/net/l2tpd XDG_CACHE_HOME=/construction/net/l2tpd/.cache HOME=/construction/net/l2tpd TMPDIR="/tmp" PATH=/construction/net/l2tpd/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/l2tpd/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 -fcommon -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -fcommon -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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/net/l2tpd/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.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" SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The l2tpd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> l2tpd-0.69_11 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The l2tpd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> l2tpd-0.69_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by l2tpd-0.69_11 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The l2tpd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> l2tpd-0.69_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by l2tpd-0.69_11 for building => SHA256 Checksum OK for l2tpd-0.69.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The l2tpd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> l2tpd-0.69_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by l2tpd-0.69_11 for building ===> Extracting for l2tpd-0.69_11 => SHA256 Checksum OK for l2tpd-0.69.tar.gz. Extracted Memory Use: 0.62M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for l2tpd-0.69_11 ===> Applying ports patches for l2tpd-0.69_11 from /xports/net/l2tpd/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> l2tpd-0.69_11 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> l2tpd-0.69_11 depends on file: /usr/local/bin/ccache - found ===> Configuring for l2tpd-0.69_11 /usr/bin/env WRKSRC=/construction/net/l2tpd/l2tpd-0.69 REWARNFILE=/construction/net/l2tpd/reinplace_warnings.txt /bin/sh /xports/Mk/Scripts/sed_checked.sh -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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for l2tpd-0.69_11 --- l2tpd.o --- --- pty.o --- --- misc.o --- --- control.o --- --- avp.o --- --- call.o --- --- network.o --- --- avpsend.o --- --- scheduler.o --- --- file.o --- --- aaa.o --- --- md5.o --- --- l2tpd.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c l2tpd.c --- pty.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c pty.c --- misc.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c misc.c --- control.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c control.c --- avp.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avp.c --- call.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c call.c --- network.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c network.c --- avpsend.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avpsend.c --- scheduler.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c scheduler.c --- file.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c file.c --- aaa.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c aaa.c --- md5.o --- cc -pipe -fcommon -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c md5.c --- 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.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ --- 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); ^~~~~ --- 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, ...); ^~~ 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:253: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:253:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ --- call.o --- 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); ^~~~~ --- 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); ^~~~ 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 --- 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, ...); ^~~ 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); ~~~~~~~~~~~~^~~~~~~ --- 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 */ ^ --- control.o --- 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); ^~~~~~~~~~~~~~~~ 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; ^~ In file included from l2tp.h:31, from control.c:21: control.c: At top level: 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); ^~~~~ --- 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:110: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:110: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:110: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:110: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:110: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:110: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 --- 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, ...); ^~~ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ avp.c: In function 'handle_avps': avp.c:1740:12: warning: 'hidlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (hidlen) ^ --- network.o --- 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:548: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:552: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); ^~~~~ --- file.o --- 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); ^~~~~ --- l2tpd --- cc -o l2tpd -pipe -fcommon -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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for l2tpd-0.69_11 ===> 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) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for l2tpd-0.69_11 file sizes/checksums [7]: 0% file sizes/checksums [7]: 100% Service unavailablepacking files [7]: 0% packing files [7]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:02