=> Building net/openradius build started at Wed Oct 5 09:09:49 PDT 2016 port directory: /usr/ports/net/openradius building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: crees@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../10//usr/ports/net/openradius/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=openradius-0.9.12c_3 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for openradius-0.9.12c_3: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples LDAP=off: LDAP protocol support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/net/openradius XDG_CONFIG_HOME=/wrkdirs/net/openradius HOME=/wrkdirs/net/openradius TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- INST_PREFIX=/wrkdirs/net/openradius/stage XDG_DATA_HOME=/wrkdirs/net/openradius XDG_CONFIG_HOME=/wrkdirs/net/openradius HOME=/wrkdirs/net/openradius TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- LDAP="@comment " OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/openradius" EXAMPLESDIR="share/examples/openradius" DATADIR="share/openradius" WWWDIR="www/openradius" ETCDIR="etc/openradius" --End PLIST_SUB-- --SUB_LIST-- LOGFILE="/var/log/openradius.log" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openradius DOCSDIR=/usr/local/share/doc/openradius EXAMPLESDIR=/usr/local/share/examples/openradius WWWDIR=/usr/local/www/openradius ETCDIR=/usr/local/etc/openradius --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> openradius-0.9.12c_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> openradius-0.9.12c_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openradius-0.9.12c_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by openradius-0.9.12c_3 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by openradius-0.9.12c_3 for building => SHA256 Checksum OK for openradius-0.9.12c.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by openradius-0.9.12c_3 for building ===> Extracting for openradius-0.9.12c_3 => SHA256 Checksum OK for openradius-0.9.12c.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for openradius-0.9.12c_3 ===> Applying ports patches for openradius-0.9.12c_3 =========================================================================== =================================================== ===> openradius-0.9.12c_3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> openradius-0.9.12c_3 depends on executable: gmake - found ===> Returning to build of openradius-0.9.12c_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for openradius-0.9.12c_3 =========================================================================== =================================================== ===> Building for openradius-0.9.12c_3 gmake[1]: Entering directory '/wrkdirs/net/openradius/openradius-0.9.12c' ./build/hdr common/platform.h -DU_INT32_T=u_int32_t -DHAVE_VSNPRINTF \ -DHAVE_SYSLOG ./build/ccd-gcc -g -Wall -Itools -DU_INT32_T=u_int32_t -o tools/ascenddatafilter tools/ascenddatafilter.c ./build/hdr server/defs.h -DHAVE_SIGACTION -DVERSION=\"0.9.12c\" \ -DRADDB=\"/usr/local/etc/openradius\" \ -DMODULES=\"/usr/local/lib/openradius\" \ -DLOGFILE=\"/var/log/openradius.log\" ./build/ccd-gcc -g -Wall -Icommon -o common/debug.o -c common/debug.c ./build/ccd-gcc -g -Wall -Icommon -o common/md5.o -c common/md5.c ./build/ccd-gcc -g -Wall -Icommon -o common/misc.o -c common/misc.c ./build/ccd-gcc -g -Wall -Icommon -o common/ringbuf.o -c common/ringbuf.c tools/ascenddatafilter.c: In function '_stringToNode': tools/ascenddatafilter.c:455:37: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] src1 = (unsigned char *) strchr(src, 'x'); ^ In file included from tools/ascenddatafilter.c:22:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ tools/ascenddatafilter.c:458:34: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] src1 = (unsigned char *) strchr(src,'X'); ^ In file included from tools/ascenddatafilter.c:22:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ tools/ascenddatafilter.c:467:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if( strlen( (unsigned char*) src1 ) != ( IPX_NODE_ADDR_LEN * 2 ) ) { ^ In file included from tools/ascenddatafilter.c:22:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ tools/ascenddatafilter.c:452:10: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ common/misc.c: In function 'encrypt_attr_pap': common/misc.c:123:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, sec, seclen); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:124:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, p, l); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:125:23: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&md5ctx, md5buf); ^ In file included from common/misc.c:36:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ common/misc.c:139:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, sec, seclen); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:140:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, p, l); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:141:23: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&md5ctx, md5buf); ^ In file included from common/misc.c:36:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ common/misc.c: In function 'decrypt_attr_pap': common/misc.c:175:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, sec, seclen); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:176:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, i - 32, 16); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:177:23: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&md5ctx, md5buf); ^ In file included from common/misc.c:36:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ common/misc.c:186:22: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, sec, seclen); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:187:22: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, auth, authlen); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:188:22: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&md5ctx, md5buf); ^ In file included from common/misc.c:36:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ common/misc.c: In function 'hmac_md5': common/misc.c:383:20: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&mds, key, keyl); ^ In file included from common/misc.c:36:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ common/misc.c:385:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key = inner; keyl = 16; ^ common/misc.c:396:19: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&mds, out); ^ In file included from common/misc.c:36:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ ./build/ccd-gcc -g -Wall -Icommon -o common/textfile.o -c common/textfile.c ./build/ccd-gcc -g -Wall -Icommon -o common/subprocs.o -c common/subprocs.c ./build/ccd-gcc -g -Wall -Icommon -o common/metadata.o -c common/metadata.c ./build/ccd-gcc -g -Wall -Icommon -o common/metatype.o -c common/metatype.c ./build/ccd-gcc -g -Wall -Icommon -o common/metadict.o -c common/metadict.c ./build/ccd-gcc -g -Wall -Icommon -o common/metaops.o -c common/metaops.c ./build/ccd-gcc -g -Wall -Iserver -Icommon -Ilanguage -o server/main.o -c server/main.c server/main.c: In function 'parseoptions': server/main.c:90:32: warning: variable 'err' set but not used [-Wunused-but-set-variable] int c, syslogfac, quiet, fac, err, n; ^ ./build/ccd-gcc -g -Wall -Iserver -Icommon -Ilanguage -o server/config.o -c server/config.c ./build/ccd-gcc -g -Wall -Iserver -Icommon -Ilanguage -o server/jobs.o -c server/jobs.c ./build/ccd-gcc -g -Wall -Iserver -Icommon -Ilanguage -o server/channels.o -c server/channels.c server/jobs.c: In function 'job_new_fromsock': server/jobs.c:182:54: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&(j->replyaddr.sockaddr), &sl); ^ In file included from server/srvtypes.h:29:0, from server/config.h:24, from server/jobs.c:34: /usr/include/sys/socket.h:495:9: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *); ^ ./build/ccd-gcc -g -Wall -Ilanguage -Icommon -Iserver -o language/langcompile.o -c language/langcompile.c ./build/ccd-gcc -g -Wall -Ilanguage -Icommon -Iserver -o language/langvm.o -c language/langvm.c ./build/ccd-gcc -g -Wall -Ilanguage -Icommon -Iserver -o language/langdisasm.o -c language/langdisasm.c language/langcompile.c: In function 'reccompile': language/langcompile.c:385:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = (char *)(o + 1); /* the space after this insn */ ^ language/langcompile.c:306:15: warning: pointer targets in passing argument 6 of 'meta_prttoa' differ in signedness [-Wpointer-sign] (rl), (s), (n)) ^ language/langcompile.c:386:8: note: in expansion of macro 'GETSTR' n = GETSTR(s, bufsize - ret - sizeof(INSN), &l); ^ In file included from common/metaops.h:35:0, from server/srvtypes.h:33, from language/langcompile.c:37: common/metatype.h:114:9: note: expected 'char *' but argument is of type 'signed char *' ssize_t meta_prttoa(char *buf, ssize_t buflen, ssize_t pos, ssize_t mod, ^ In file included from common/textfile.h:46:0, from language/langcompile.c:35: language/langcompile.c:473:33: warning: operation on 'l' may be undefined [-Wsequence-point] ifc && NCMP(ifc->name, l = strlen(ifc->name)); ^ common/ringbuf.h:263:28: note: in definition of macro 'ring_strncmp' (s), (slen)) != (slen)) ^ language/langcompile.c:318:20: note: in expansion of macro 'text_strncmp' #define NCMP(s,n) text_strncmp(source, s, (n)) ^ language/langcompile.c:473:15: note: in expansion of macro 'NCMP' ifc && NCMP(ifc->name, l = strlen(ifc->name)); ^ language/langcompile.c:509:26: warning: operation on 'l' may be undefined [-Wsequence-point] !(NCMP(so->name, l = strlen(so->name)) == 0 && ^ common/ringbuf.h:263:28: note: in definition of macro 'ring_strncmp' (s), (slen)) != (slen)) ^ language/langcompile.c:318:20: note: in expansion of macro 'text_strncmp' #define NCMP(s,n) text_strncmp(source, s, (n)) ^ language/langcompile.c:509:9: note: in expansion of macro 'NCMP' !(NCMP(so->name, l = strlen(so->name)) == 0 && ^ ar rc common/common.a common/debug.o common/md5.o common/misc.o common/ringbuf.o common/textfile.o common/subprocs.o common/metadata.o common/metatype.o common/metadict.o common/metaops.o language/langvm.c: In function 'canmac': language/langvm.c:157:41: warning: passing argument 5 of 'meta_atoord' from incompatible pointer type [-Wincompatible-pointer-types] c = meta_atoord(i, MIN(rl, 2), 0, 0, &rl, 16); ^ In file included from common/metaops.h:35:0, from language/langvm.c:56: common/metatype.h:96:10: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' META_ORD meta_atoord(char *buf, ssize_t buflen, ssize_t pos, ssize_t mod, ^ ./build/ccd-gcc -g -Wall -Icommon -DRADDB=\"/usr/local/etc/openradius\" -o tools/radclient/radclient tools/radclient/radclient.c common/common.a tools/radclient/radclient.c: In function 'sock_handle_read': tools/radclient/radclient.c:338:69: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] n = recvfrom(c->sfd, pkt, sizeof(pkt), 0, (struct sockaddr *)&sin, &n); ^ In file included from tools/radclient/radclient.c:32:0: /usr/include/sys/socket.h:495:9: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *); ^ tools/radclient/radclient.c:413:22: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, pkt, rad_auth->p - pkt); ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ tools/radclient/radclient.c:415:22: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, rad_auth->p + rad_auth->l, ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ tools/radclient/radclient.c:418:22: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&md5ctx, chkauth); ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ tools/radclient/radclient.c: In function 'new_req': tools/radclient/radclient.c:510:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] av->p = r->auth; av->l = sizeof(r->auth); ^ tools/radclient/radclient.c:539:6: warning: pointer targets in passing argument 5 of 'encrypt_attr_pap' differ in signedness [-Wpointer-sign] srv->secret, srv->secretlen, ^ In file included from tools/radclient/radclient.c:52:0: common/misc.h:98:6: note: expected 'char *' but argument is of type 'unsigned char *' void encrypt_attr_pap(char *src, META_ORD srclen, ^ tools/radclient/radclient.c:540:6: warning: pointer targets in passing argument 7 of 'encrypt_attr_pap' differ in signedness [-Wpointer-sign] r->auth, sizeof(r->auth)); ^ In file included from tools/radclient/radclient.c:52:0: common/misc.h:98:6: note: expected 'char *' but argument is of type 'unsigned char *' void encrypt_attr_pap(char *src, META_ORD srclen, ^ tools/radclient/radclient.c:563:40: warning: pointer targets in passing argument 2 of 'meta_encode' differ in signedness [-Wpointer-sign] r->pktlen = meta_encode(c->ds_ground, r->pkt, C_MAX_PKTSIZE, tree, 0); ^ In file included from tools/radclient/radclient.c:49:0: common/metaops.h:115:10: note: expected 'char *' but argument is of type 'unsigned char *' META_ORD meta_encode(META_SPC *s, char *blk, META_ORD blksize, META_AV *avlst, ^ tools/radclient/radclient.c: In function 'send_qry_req': tools/radclient/radclient.c:692:11: warning: pointer targets in passing argument 1 of 'hexdump' differ in signedness [-Wpointer-sign] hexdump(req->pkt, req->pktlen); ^ In file included from tools/radclient/radclient.c:54:0: common/debug.h:111:6: note: expected 'char *' but argument is of type 'unsigned char *' void hexdump(char *s, int slen); ^ tools/radclient/radclient.c: In function 'fixup_query': tools/radclient/radclient.c:759:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] srv->secret = s + 1; ^ tools/radclient/radclient.c:764:40: warning: passing argument 5 of 'meta_atoord' from incompatible pointer type [-Wincompatible-pointer-types] port = meta_atoord(s + 1, l, 0, 0, &n, 10); ^ In file included from common/metaops.h:35:0, from tools/radclient/radclient.c:49: common/metatype.h:96:10: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' META_ORD meta_atoord(char *buf, ssize_t buflen, ssize_t pos, ssize_t mod, ^ tools/radclient/radclient.c:769:42: warning: passing argument 5 of 'meta_atoip' from incompatible pointer type [-Wincompatible-pointer-types] host = meta_atoip(av->p, av->l, 0, 0, &n); ^ In file included from common/metaops.h:35:0, from tools/radclient/radclient.c:49: common/metatype.h:101:10: note: expected 'ssize_t * {aka long int *}' but argument is of type 'int *' META_ORD meta_atoip(char *buf, ssize_t buflen, ssize_t pos, ssize_t mod, ^ tools/radclient/radclient.c:843:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, &chap_id, 1); ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ tools/radclient/radclient.c:844:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, chap_pass->p, chap_pass->l); ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ tools/radclient/radclient.c:845:23: warning: pointer targets in passing argument 2 of 'md5_append' differ in signedness [-Wpointer-sign] md5_append(&md5ctx, chap_chal->p, chap_chal->l); ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:87:6: note: expected 'const md5_byte_t * {aka const unsigned char *}' but argument is of type 'char *' void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes); ^ tools/radclient/radclient.c:853:23: warning: pointer targets in passing argument 2 of 'md5_finish' differ in signedness [-Wpointer-sign] md5_finish(&md5ctx, chap_pass->p + 1); ^ In file included from tools/radclient/radclient.c:53:0: common/md5.h:94:6: note: expected 'md5_byte_t * {aka unsigned char *}' but argument is of type 'char *' void md5_finish(md5_state_t *pms, md5_byte_t digest[16]); ^ tools/radclient/radclient.c: In function 'parseoptions': tools/radclient/radclient.c:1068:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (++optind >= argc || (srv->secret = argv[optind++]) == 0 || ^ tools/radclient/radclient.c:1070:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] srv->secretlen = strlen(srv->secret); ^ In file included from tools/radclient/radclient.c:42:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ ar rc language/language.a language/langcompile.o language/langvm.o language/langdisasm.o ./build/ccd-gcc -o server/radiusd server/main.o server/config.o server/jobs.o server/channels.o common/common.a language/language.a gmake[1]: Leaving directory '/wrkdirs/net/openradius/openradius-0.9.12c' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for openradius-0.9.12c_3 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/net/openradius/openradius-0.9.12c' ./build/install tools/radclient/radclient tools/radclient/radtest tools/radclient/radaccttest tools/genmd5hexpasswd tools/ascenddatafilter -m 755 -d /wrkdirs/net/openradius/stage/usr/local/bin ./build/install server/radiusd -m 755 -d /wrkdirs/net/openradius/stage/usr/local/sbin ./build/install modules/ascfile/ascfile modules/unixpasswd/unixpasswd modules/radlogger/radlogger modules/delay/delay modules/radsql/radsql -m 755 -d /wrkdirs/net/openradius/stage/usr/local/lib/openradius ln -sf /usr/local/bin/radclient /wrkdirs/net/openradius/stage/usr/local/lib/openradius ; If no error messages appeared, OpenRADIUS has been installed successfully. It is strongly recommended to add a user and group for the RADIUS server, and to use the supervise, setuidgid and multilog programs from daemontools. After creating the group, run the following command as root, where radiusgroup is the name of the new group: # chgrp -R radiusgroup /usr/local/etc/openradius To test the server, make sure you are a member of the group mentioned above, and then run the server as the current user in foreground mode, by typing: $ /usr/local/sbin/radiusd -dsend -b You can then send a test request from another terminal, by typing: $ /usr/local/bin/radtest -v evbergen welcome1 localhost h1dd3n gmake[1]: Leaving directory '/wrkdirs/net/openradius/openradius-0.9.12c' /bin/mkdir -p /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/doc/async-iface-notes /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/doc/language.html /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/doc/module-interface.html /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/doc/note-behaviourfile /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/doc/note-struct-ownership /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/doc/using-openradius.html /wrkdirs/net/openradius/stage/usr/local/share/doc/openradius /bin/mkdir -p /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/behaviour.sample-ldap /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/behaviour.sample-ldap-authbind /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/behaviour.sample-mysql /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/behaviour.sample-postgres /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/behaviour.sample-unixpass /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/behaviour.sample-usersfile /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/configuration.sample-ldap /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/configuration.sample-ldap-authbind /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/configuration.sample-mysql /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/configuration.sample-postgres /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/configuration.sample-unixpass /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/configuration.sample-usersfile /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/accounts/README /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/accounts/accounts.mysql /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/accounts/behaviour /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 444 /wrkdirs/net/openradius/openradius-0.9.12c/examples/accounts/configuration /wrkdirs/net/openradius/stage/usr/local/share/examples/openradius/accounts /bin/mkdir -p /wrkdirs/net/openradius/stage/usr/local/etc/openradius install -m 0644 /wrkdirs/net/openradius/openradius-0.9.12c/etc/dictionary /wrkdirs/net/openradius/stage/usr/local/etc/openradius/dictionary.sample /bin/mkdir -p /wrkdirs/net/openradius/stage/usr/local/etc/openradius/legacy install -m 0600 /wrkdirs/net/openradius/openradius-0.9.12c/etc/legacy/clients /wrkdirs/net/openradius/stage/usr/local/etc/openradius/legacy/clients.sample install -m 0600 /wrkdirs/net/openradius/openradius-0.9.12c/etc/legacy/nases /wrkdirs/net/openradius/stage/usr/local/etc/openradius/legacy/nases.sample install -m 0600 /wrkdirs/net/openradius/openradius-0.9.12c/etc/legacy/realms /wrkdirs/net/openradius/stage/usr/local/etc/openradius/legacy/realms.sample install -m 0600 /wrkdirs/net/openradius/openradius-0.9.12c/etc/legacy/users /wrkdirs/net/openradius/stage/usr/local/etc/openradius/legacy/users.sample /bin/mkdir -p /wrkdirs/net/openradius/stage/usr/local/etc/openradius/modules install -m 0600 /wrkdirs/net/openradius/openradius-0.9.12c/etc/modules/radldap.attrmap /wrkdirs/net/openradius/stage/usr/local/etc/openradius/modules/radldap.attrmap.sample /bin/mkdir -p /wrkdirs/net/openradius/stage/usr/local/etc/openradius/subdicts install -m 0600 /wrkdirs/net/openradius/openradius-0.9.12c/etc/subdicts/dict.* /wrkdirs/net/openradius/stage/usr/local/etc/openradius/subdicts/ ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===> Building package for openradius-0.9.12c_3 file sizes/checksums [62]: . done packing files [62]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for openradius-0.9.12c_3 build of net/openradius ended at Wed Oct 5 09:09:58 PDT 2016 build time: 00:00:09