=> Building net/openradius Started : Thursday, 19 APR 2018 at 02:57:27 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> 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 -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net/openradius XDG_CONFIG_HOME=/construction/net/openradius HOME=/construction/net/openradius TMPDIR="/tmp" PATH=/construction/net/openradius/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- INST_PREFIX=/construction/net/openradius/stage XDG_DATA_HOME=/construction/net/openradius XDG_CONFIG_HOME=/construction/net/openradius HOME=/construction/net/openradius TMPDIR="/tmp" PATH=/construction/net/openradius/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/openradius/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" LDAP="@comment " OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/openradius" EXAMPLESDIR="share/examples/openradius" DATADIR="share/openradius" WWWDIR="www/openradius" ETCDIR="etc/openradius" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> openradius-0.9.12c_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> openradius-0.9.12c_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openradius-0.9.12c_3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by openradius-0.9.12c_3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for openradius-0.9.12c_3 ===> Applying ports patches for openradius-0.9.12c_3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> openradius-0.9.12c_3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> openradius-0.9.12c_3 depends on executable: gmake - found ===> Returning to build of openradius-0.9.12c_3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for openradius-0.9.12c_3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for openradius-0.9.12c_3 gmake[1]: Entering directory '/construction/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 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; ^ ./build/ccd-gcc -g -Wall -Icommon -o common/ringbuf.o -c common/ringbuf.c 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 ./build/ccd-gcc -g -Wall -Iserver -Icommon -Ilanguage -o server/config.o -c server/config.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/jobs.o -c server/jobs.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:496: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 -Iserver -Icommon -Ilanguage -o server/channels.o -c server/channels.c ./build/ccd-gcc -g -Wall -Ilanguage -Icommon -Iserver -o language/langcompile.o -c language/langcompile.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 && ^ ./build/ccd-gcc -g -Wall -Ilanguage -Icommon -Iserver -o language/langvm.o -c language/langvm.c 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 -Ilanguage -Icommon -Iserver -o language/langdisasm.o -c language/langdisasm.c 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 ./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:496: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 '/construction/net/openradius/openradius-0.9.12c' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for openradius-0.9.12c_3 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/net/openradius/openradius-0.9.12c' ./build/install tools/radclient/radclient tools/radclient/radtest tools/radclient/radaccttest tools/genmd5hexpasswd tools/ascenddatafilter -m 755 -d /construction/net/openradius/stage/usr/local/bin ./build/install server/radiusd -m 755 -d /construction/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 /construction/net/openradius/stage/usr/local/lib/openradius ln -sf /usr/local/bin/radclient /construction/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 '/construction/net/openradius/openradius-0.9.12c' /bin/mkdir -p /construction/net/openradius/stage/usr/local/share/doc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/doc/async-iface-notes /construction/net/openradius/stage/usr/local/share/doc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/doc/language.html /construction/net/openradius/stage/usr/local/share/doc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/doc/module-interface.html /construction/net/openradius/stage/usr/local/share/doc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/doc/note-behaviourfile /construction/net/openradius/stage/usr/local/share/doc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/doc/note-struct-ownership /construction/net/openradius/stage/usr/local/share/doc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/doc/using-openradius.html /construction/net/openradius/stage/usr/local/share/doc/openradius /bin/mkdir -p /construction/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/behaviour.sample-ldap /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/behaviour.sample-ldap-authbind /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/behaviour.sample-mysql /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/behaviour.sample-postgres /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/behaviour.sample-unixpass /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/behaviour.sample-usersfile /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/configuration.sample-ldap /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/configuration.sample-ldap-authbind /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/configuration.sample-mysql /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/configuration.sample-postgres /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/configuration.sample-unixpass /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/configuration.sample-usersfile /construction/net/openradius/stage/usr/local/share/examples/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/accounts/README /construction/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/accounts/accounts.mysql /construction/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/accounts/behaviour /construction/net/openradius/stage/usr/local/share/examples/openradius/accounts install -m 0644 /construction/net/openradius/openradius-0.9.12c/examples/accounts/configuration /construction/net/openradius/stage/usr/local/share/examples/openradius/accounts /bin/mkdir -p /construction/net/openradius/stage/usr/local/etc/openradius install -m 0644 /construction/net/openradius/openradius-0.9.12c/etc/dictionary /construction/net/openradius/stage/usr/local/etc/openradius/dictionary.sample /bin/mkdir -p /construction/net/openradius/stage/usr/local/etc/openradius/legacy install -m 0600 /construction/net/openradius/openradius-0.9.12c/etc/legacy/clients /construction/net/openradius/stage/usr/local/etc/openradius/legacy/clients.sample install -m 0600 /construction/net/openradius/openradius-0.9.12c/etc/legacy/nases /construction/net/openradius/stage/usr/local/etc/openradius/legacy/nases.sample install -m 0600 /construction/net/openradius/openradius-0.9.12c/etc/legacy/realms /construction/net/openradius/stage/usr/local/etc/openradius/legacy/realms.sample install -m 0600 /construction/net/openradius/openradius-0.9.12c/etc/legacy/users /construction/net/openradius/stage/usr/local/etc/openradius/legacy/users.sample /bin/mkdir -p /construction/net/openradius/stage/usr/local/etc/openradius/modules install -m 0600 /construction/net/openradius/openradius-0.9.12c/etc/modules/radldap.attrmap /construction/net/openradius/stage/usr/local/etc/openradius/modules/radldap.attrmap.sample /bin/mkdir -p /construction/net/openradius/stage/usr/local/etc/openradius/subdicts install -m 0600 /construction/net/openradius/openradius-0.9.12c/etc/subdicts/dict.* /construction/net/openradius/stage/usr/local/etc/openradius/subdicts/ ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for openradius-0.9.12c_3 file sizes/checksums [62]: . done packing files [62]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 02:57:34 UTC Duration: 00:00:06