=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for radiusd-cistron-1.6.8nb2 cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c radiusd.c radiusd.c:519:25: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (int) 0, &saremote, &salen); ^~~~~~ /usr/include/sys/socket.h:632:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ radiusd.c:525:6: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] recv_buffer, result); ^~~~~~~~~~~ ./radiusd.h:297:44: note: passing argument to parameter here AUTH_REQ *radrecv (UINT4, u_short, u_char *, int); ^ radiusd.c:536:25: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (int) 0, &saremote, &salen); ^~~~~~ /usr/include/sys/socket.h:632:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ radiusd.c:542:6: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] recv_buffer, result); ^~~~~~~~~~~ ./radiusd.h:297:44: note: passing argument to parameter here AUTH_REQ *radrecv (UINT4, u_short, u_char *, int); ^ radiusd.c:616:10: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(authreq->secret, cl->secret, sizeof(authreq->secret)); ^~~~~~~~~~~~~~~ ./radiusd.h:289:22: note: passing argument to parameter 'dest' here char *strNcpy(char *dest, char *src, int n); ^ radiusd.c:616:27: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(authreq->secret, cl->secret, sizeof(authreq->secret)); ^~~~~~~~~~ ./radiusd.h:289:34: note: passing argument to parameter 'src' here char *strNcpy(char *dest, char *src, int n); ^ 6 warnings generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c files.c files.c:1412:11: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(c->secret, secret, sizeof(c->secret)); ^~~~~~~~~ ./radiusd.h:289:22: note: passing argument to parameter 'dest' here char *strNcpy(char *dest, char *src, int n); ^ 1 warning generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c acct.c acct.c:97:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *data = (char *)in; ^ ~~~~~~~~~~ acct.c:113:9: warning: returning 'unsigned char [7]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return res; ^~~ acct.c:408:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (vp->lvalue >= 0 && vp->lvalue <= 4) ~~~~~~~~~~ ^ ~ acct.c:789:41: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] fprintf(outfd, "\tTimestamp = %ld\n", curtime); ~~~ ^~~~~~~ %lld acct.c:826:25: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] auth = calc_acctdigest(pw_digest, authreq); ^~~~~~~~~ ./radiusd.h:299:30: note: passing argument to parameter 'digest' here int calc_acctdigest(u_char *digest, AUTH_REQ *authreq); ^ 5 warnings generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c pam.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -o version.o -c version.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c proxy.c proxy.c:160:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] authreq->data = m; ^ ~ proxy.c:321:31: warning: passing 'u_char [254]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(namepair->strvalue, authreq->username, ^~~~~~~~~~~~~~~~~ ./radiusd.h:289:34: note: passing argument to parameter 'src' here char *strNcpy(char *dest, char *src, int n); ^ proxy.c:355:13: warning: assigning to 'char *' from 'u_char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] secret_key = client->secret; ^ ~~~~~~~~~~~~~~ proxy.c:364:16: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] calc_digest(pw_digest, authreq); ^~~~~~~~~ ./radiusd.h:298:27: note: passing argument to parameter here int calc_digest (u_char *, AUTH_REQ *); ^ proxy.c:368:24: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (calc_acctdigest(pw_digest, authreq) < 0) { ^~~~~~~~~ ./radiusd.h:299:30: note: passing argument to parameter 'digest' here int calc_acctdigest(u_char *digest, AUTH_REQ *authreq); ^ proxy.c:631:17: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] decrypt_attr(oldreq->secret, oldreq->vector, vp); ^~~~~~~~~~~~~~ ./radiusd.h:305:26: note: passing argument to parameter 'secret' here int decrypt_attr(char *secret, char *vector, VALUE_PAIR *vp); ^ proxy.c:631:33: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] decrypt_attr(oldreq->secret, oldreq->vector, vp); ^~~~~~~~~~~~~~ ./radiusd.h:305:40: note: passing argument to parameter 'vector' here int decrypt_attr(char *secret, char *vector, VALUE_PAIR *vp); ^ 7 warnings generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c exec.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c auth.c auth.c:457:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(pw_digest, (unsigned char *)string, i); ^~~~~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ auth.c:499:10: warning: passing 'u_char [254]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(authreq->username, vp->strvalue, sizeof(authreq->username)); ^~~~~~~~~~~~~~~~~ ./radiusd.h:289:22: note: passing argument to parameter 'dest' here char *strNcpy(char *dest, char *src, int n); ^ auth.c:604:14: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] calc_digest(pw_digest, authreq); ^~~~~~~~~ ./radiusd.h:298:27: note: passing argument to parameter here int calc_digest (u_char *, AUTH_REQ *); ^ 3 warnings generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c timestr.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c cache.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c readusers.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c dict.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c util.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c md5.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c attrprint.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c radius.c radius.c:296:13: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, (char *)auth, total_length + len); ^~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radius.c:296:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, (char *)auth, total_length + len); ^~~~~~~~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radius.c:363:17: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] reply, msg, authreq->secret, authreq->vector); ^~~~~~~~~~~~~~~ radius.c:112:38: note: passing argument to parameter 'secret' here VALUE_PAIR *reply, char *msg, char *secret, char *vector) ^ radius.c:363:34: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] reply, msg, authreq->secret, authreq->vector); ^~~~~~~~~~~~~~~ radius.c:112:52: note: passing argument to parameter 'vector' here VALUE_PAIR *reply, char *msg, char *secret, char *vector) ^ radius.c:413:21: warning: passing 'u_char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] secretlen = strlen(authreq->secret); ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ radius.c:414:10: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(buffer, authreq->secret, sizeof(buffer)); ^~~~~~ ./radiusd.h:289:22: note: passing argument to parameter 'dest' here char *strNcpy(char *dest, char *src, int n); ^ radius.c:414:18: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(buffer, authreq->secret, sizeof(buffer)); ^~~~~~~~~~~~~~~ ./radiusd.h:289:34: note: passing argument to parameter 'src' here char *strNcpy(char *dest, char *src, int n); ^ radius.c:429:9: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] char *recvbuf = authreq->data; ^ ~~~~~~~~~~~~~ radius.c:448:21: warning: passing 'u_char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] secretlen = strlen(authreq->secret); ^~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ radius.c:457:19: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, tmpbuf, len + secretlen); ^~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radius.c:543:18: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] decrypt_attr(authreq->secret, ^~~~~~~~~~~~~~~ ./radiusd.h:305:26: note: passing argument to parameter 'secret' here int decrypt_attr(char *secret, char *vector, VALUE_PAIR *vp); ^ radius.c:544:11: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] authreq->vector, pair); ^~~~~~~~~~~~~~~ ./radiusd.h:305:40: note: passing argument to parameter 'vector' here int decrypt_attr(char *secret, char *vector, VALUE_PAIR *vp); ^ radius.c:794:11: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(pwd_out, md5buf, secretlen + AUTH_VECTOR_LEN); ^~~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radius.c:794:20: warning: passing 'char [256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(pwd_out, md5buf, secretlen + AUTH_VECTOR_LEN); ^~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ 14 warnings generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c log.c log.c:48:17: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *s = ": "; ^ ~~~~ log.c:91:6: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] s = ": Debug: "; ^ ~~~~~~~~~~~ log.c:94:6: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] s = ": Auth: "; ^ ~~~~~~~~~~ log.c:97:6: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] s = ": Proxy: "; ^ ~~~~~~~~~~~ log.c:100:6: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] s = ": Info: "; ^ ~~~~~~~~~~ log.c:106:6: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] s = ": Error: "; ^ ~~~~~~~~~~~ log.c:109:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(buffer + 24, s, sizeof(buffer) - 24); ^ ./radiusd.h:289:34: note: passing argument to parameter 'src' here char *strNcpy(char *dest, char *src, int n); ^ 7 warnings generated. cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c pair.c cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c encrattr.c encrattr.c:198:12: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, work_buf, work_len); ^~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ encrattr.c:198:20: warning: passing 'char [50]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, work_buf, work_len); ^~~~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ encrattr.c:260:11: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, work_buf, secret_len + AUTH_VECTOR_LEN + sizeof(salt)); ^~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ encrattr.c:260:19: warning: passing 'char [50]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, work_buf, secret_len + AUTH_VECTOR_LEN + sizeof(salt)); ^~~~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ encrattr.c:287:12: warning: passing 'char [16]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, work_buf, secret_len + MD5_LEN); ^~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ encrattr.c:287:20: warning: passing 'char [50]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] md5_calc(digest, work_buf, secret_len + MD5_LEN); ^~~~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ 6 warnings generated. cc -s -o radiusd radiusd.o files.o acct.o pam.o version.o proxy.o exec.o auth.o timestr.o cache.o readusers.o dict.o util.o md5.o attrprint.o radius.o log.o pair.o encrattr.o -lcrypt cc -DNOSHADOW -DPREFIX=\"/usr/pkg\" -DPKG_SYSCONFDIR=\"/usr/pkg/etc/raddb\" -c radwho.c radwho.c:485:31: error: use of undeclared identifier 'UTMP_FILE' if (showlocal && (fp = fopen(UTMP_FILE, "r"))) { ^ radwho.c:502:11: error: no member named 'ut_user' in 'struct utmp' if (ut.ut_user[0] && ut.ut_line[0]) ~~ ^ 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/radiusd-cistron/work/radiusd-cistron-1.6.8/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/radiusd-cistron *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/radiusd-cistron