------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> l2tpd-0.69_10 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> l2tpd-0.69_10 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by l2tpd-0.69_10 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> l2tpd-0.69_10 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by l2tpd-0.69_10 for building => SHA256 Checksum OK for l2tpd-0.69.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> l2tpd-0.69_10 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by l2tpd-0.69_10 for building ===> Extracting for l2tpd-0.69_10 => 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_10 ===> Applying ports patches for l2tpd-0.69_10 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> Configuring for l2tpd-0.69_10 /usr/bin/env WRKSRC=/construction/net/l2tpd/l2tpd-0.69 REWARNFILE=/construction/net/l2tpd/reinplace_warnings.txt /xports/Tools/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_10 --- l2tpd.o --- --- pty.o --- --- misc.o --- --- control.o --- --- avp.o --- --- call.o --- --- network.o --- --- avpsend.o --- --- scheduler.o --- --- file.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 --- call.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c call.c --- network.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c network.c --- 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 --- file.o --- cc -pipe -O2 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c file.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, ...); ^~~ --- 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, ...); ^~~ --- 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, ...); ^~~ --- 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, ...); ^~~ --- call.o --- 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); ^~~~~~~~~~~~ --- 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, ...); ^~~ --- 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); ^~~~~~~~~~~~~~~~ --- call.o --- 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 --- 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); ^~~~~ --- pty.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ --- control.o --- 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); ^~~~~~~~~~~~~~~~ --- avpsend.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ --- control.o --- 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); ^~~~~~~~~~~~ --- avp.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ --- control.o --- 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); ^~~~~~~~~~~~~~~~ --- 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:493: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); ^~~~~~~~~~~ --- 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; ^~~~~~~~ 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]; ^~~~ --- network.o --- 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:497: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); ^~~~~ --- control.o --- 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); ^~~~~ --- 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.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, ...); ^~~ --- scheduler.o --- misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ --- misc.o --- misc.c: In function 'bufferDump': misc.c:96:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (c, "%02x ", (buf[i * bufferDumpWIDTH + j]) & 0xff); ^ In file included from misc.c:21: /usr/include/stdio.h:236: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:236:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ --- 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, 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); ^~~~~ --- 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 */ ^ --- 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); ^~~~~ --- 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for l2tpd-0.69_10 ===> 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:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for l2tpd-0.69_10 file sizes/checksums [7]: 0% file sizes/checksums [7]: 100% packing files [7]: 0% packing files [7]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:03