=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for radiusd-cistron-1.6.8nb8 --- radiusd.o --- --- files.o --- --- acct.o --- --- pam.o --- --- version.o --- --- proxy.o --- --- exec.o --- --- auth.o --- --- radiusd.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c radiusd.c --- files.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c files.c --- acct.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c acct.c --- pam.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c pam.c --- version.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -o version.o -c version.c --- proxy.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c proxy.c --- exec.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c exec.c --- auth.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c auth.c --- timestr.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c timestr.c --- auth.o --- 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 *); ^ --- cache.o --- --- proxy.o --- 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; ^ ~ --- acct.o --- 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:121:50: warning: 'utmp' is deprecated [-Wdeprecated-declarations] static void make_wtmp(struct radutmp *ut, struct utmp *wt, int status) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ acct.c:199:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp wt; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- auth.o --- 3 warnings generated. --- cache.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c cache.c --- acct.o --- acct.c:262:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp wt; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- readusers.o --- --- proxy.o --- 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); ^ --- readusers.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c readusers.c --- proxy.o --- proxy.c:532:20: warning: address of array 'last->strvalue' will always evaluate to 'true' [-Wpointer-bool-conversion] if (last && last->strvalue) { ~~ ~~~~~~^~~~~~~~ --- files.o --- 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); ^ --- acct.o --- 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); ^ --- proxy.o --- 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); ^ --- radiusd.o --- 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); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ 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); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ 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); ^ --- acct.o --- acct.c:994:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp wt; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- proxy.o --- 8 warnings generated. --- dict.o --- --- radiusd.o --- 6 warnings generated. --- dict.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c dict.c --- util.o --- --- md5.o --- --- util.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c util.c --- attrprint.o --- --- files.o --- 1 warning generated. --- md5.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c md5.c --- attrprint.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c attrprint.c --- radius.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c radius.c --- acct.o --- 7 warnings generated. --- log.o --- --- pair.o --- --- encrattr.o --- --- log.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c log.c --- pair.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c pair.c --- encrattr.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c encrattr.c --- radwho.o --- --- radzap.o --- --- radwho.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c radwho.c --- radzap.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c radzap.c --- radclient.o --- --- radrelay.o --- --- radclient.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c radclient.c --- radrelay.o --- clang -DNOSHADOW -DPREFIX=\"/opt/pkg\" -DPKG_SYSCONFDIR=\"/opt/pkg/etc/raddb\" -c radrelay.c --- log.o --- In file included from log.c:16: In file included from ./radiusd.h:12: ./radius.h:38:2: error: unknown type name 'u_char'; did you mean 'char'? u_char code; ^~~~~~ char ./radius.h:39:2: error: unknown type name 'u_char'; did you mean 'char'? u_char id; ^~~~~~ char ./radius.h:40:2: error: unknown type name 'u_short'; did you mean 'short'? u_short length; ^~~~~~~ short ./radius.h:41:2: error: unknown type name 'u_char'; did you mean 'char'? u_char vector[AUTH_VECTOR_LEN]; ^~~~~~ char ./radius.h:42:2: error: unknown type name 'u_char'; did you mean 'char'? u_char data[2]; ^~~~~~ char In file included from log.c:16: ./radiusd.h:72:2: error: unknown type name 'u_short'; did you mean 'short'? u_short udp_port; ^~~~~~~ short ./radiusd.h:73:2: error: unknown type name 'u_char'; did you mean 'char'? u_char id; ^~~~~~ char --- encrattr.o --- 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); ^ --- log.o --- ./radiusd.h:74:2: error: unknown type name 'u_char'; did you mean 'char'? u_char code; ^~~~~~ char ./radiusd.h:75:2: error: unknown type name 'u_char'; did you mean 'char'? u_char vector[16]; ^~~~~~ char ./radiusd.h:76:2: error: unknown type name 'u_char'; did you mean 'char'? u_char secret[16]; ^~~~~~ char --- encrattr.o --- 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); ^ --- log.o --- ./radiusd.h:77:2: error: unknown type name 'u_char'; did you mean 'char'? u_char username[AUTH_STRING_LEN]; ^~~~~~ char ./radiusd.h:81:2: error: unknown type name 'u_char'; did you mean 'char'? u_char *data; /* Raw received data */ ^~~~~~ char --- encrattr.o --- 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); ^ --- log.o --- ./radiusd.h:97:2: error: unknown type name 'u_char'; did you mean 'char'? u_char secret[16]; ^~~~~~ char ./radiusd.h:252:16: error: unknown type name 'u_char'; did you mean 'char'? void md5_calc(u_char *, u_char *, u_int); ^~~~~~ char ./radiusd.h:252:26: error: unknown type name 'u_char'; did you mean 'char'? void md5_calc(u_char *, u_char *, u_int); ^~~~~~ char ./radiusd.h:252:36: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] void md5_calc(u_char *, u_char *, u_int); ^ ./radiusd.h:297:27: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AUTH_REQ *radrecv (UINT4, u_short, u_char *, int); ^ ./radiusd.h:297:36: error: unknown type name 'u_char'; did you mean 'char'? AUTH_REQ *radrecv (UINT4, u_short, u_char *, int); ^~~~~~ char --- radius.o --- 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 --- log.o --- ./radiusd.h:298:19: error: unknown type name 'u_char'; did you mean 'char'? int calc_digest (u_char *, AUTH_REQ *); ^~~~~~ char --- radius.o --- 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); ^ --- log.o --- ./radiusd.h:299:22: error: unknown type name 'u_char'; did you mean 'char'? int calc_acctdigest(u_char *digest, AUTH_REQ *authreq); ^~~~~~ char 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); ^ 9 warnings and 18 errors generated. --- radius.o --- 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) ^ --- log.o --- *** [log.o] Error code 1 bmake: stopped in /opt/work/net/radiusd-cistron/work/radiusd-cistron-1.6.8/src --- encrattr.o --- 6 warnings generated. --- radius.o --- 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); ^~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 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); ^~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 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. --- radwho.o --- radwho.c:382:9: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct utmp ut; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here } __deprecated; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ --- radclient.o --- radclient.c:60: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(calc_digest, (char *)auth, length + secretlen); ^~~~~~~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radclient.c:60:24: 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(calc_digest, (char *)auth, length + secretlen); ^~~~~~~~~~~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radclient.c:67:43: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] authreq = radrecv(htonl(host), udp_port, buffer, length); ^~~~~~ ./radiusd.h:297:44: note: passing argument to parameter here AUTH_REQ *radrecv (UINT4, u_short, u_char *, int); ^ --- radwho.o --- radwho.c:485:31: error: use of undeclared identifier 'UTMP_FILE' if (showlocal && (fp = fopen(UTMP_FILE, "r"))) { ^ --- radclient.o --- radclient.c:127: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(out + 1, buf, len); ^~~~~~~ ./radiusd.h:252:24: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ radclient.c:127: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(out + 1, buf, len); ^~~ ./radiusd.h:252:34: note: passing argument to parameter here void md5_calc(u_char *, u_char *, u_int); ^ --- radwho.o --- radwho.c:502:11: error: no member named 'ut_user' in 'struct utmp' if (ut.ut_user[0] && ut.ut_line[0]) ~~ ^ 1 warning and 2 errors generated. --- radclient.o --- radclient.c:311:30: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vp->strvalue, secretkey, auth->vector); ^~~~~~~~~~~~ ./radiusd.h:300:63: note: passing argument to parameter 'vec' here int rad_pwencode(char *pwd, char *pwd_out, char *secr, char *vec); ^ radclient.c:317:7: warning: assigning to 'char *' from 'u_char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] p = auth->vector; ^ ~~~~~~~~~~~~ radclient.c:328:25: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] req, NULL, secretkey, auth->vector); ^~~~~~~~~~~~ ./radiusd.h:295:12: note: passing argument to parameter here char *); ^ radclient.c:348:39: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] --- radrelay.o --- radrelay.c:140:12: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strNcpy(r->secret, secret, sizeof(r->secret)); ^~~~~~~~~ ./radiusd.h:289:22: note: passing argument to parameter 'dest' here --- radclient.o --- sizeof(recv_buffer), 0, &saremote, &salen); ^~~~~~ --- radrelay.o --- char *strNcpy(char *dest, char *src, int n); ^ --- radclient.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ --- radrelay.o --- radrelay.c:297:65: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] l = recvfrom(sockfd, (char *)rbuf, sizeof(rbuf), 0, &saremote, &salen); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ radrelay.c:316:3: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (char *)rbuf, l); ^~~~~~~~~~~~ ./radiusd.h:297:44: note: passing argument to parameter here AUTH_REQ *radrecv (UINT4, u_short, u_char *, int); ^ radrelay.c:396:11: warning: passing 'u_char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] auth->vector); ^~~~~~~~~~~~ ./radiusd.h:295:12: note: passing argument to parameter here char *); ^ --- radwho.o --- *** [radwho.o] Error code 1 bmake: stopped in /opt/work/net/radiusd-cistron/work/radiusd-cistron-1.6.8/src --- radrelay.o --- radrelay.c:654:17: warning: assigning to 'char *' from 'u_char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] server_secret = r->secret; ^ ~~~~~~~~~ --- radclient.o --- 9 warnings generated. --- radrelay.o --- 5 warnings generated. 2 errors bmake: stopped in /opt/work/net/radiusd-cistron/work/radiusd-cistron-1.6.8/src *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/radiusd-cistron *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/radiusd-cistron