=> Building net-mgmt/rate build started at Wed Oct 5 03:55:50 PDT 2016 port directory: /usr/ports/net-mgmt/rate 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: mich@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../03//usr/ports/net-mgmt/rate/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=rate-0.9_1 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--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/net-mgmt/rate XDG_CONFIG_HOME=/wrkdirs/net-mgmt/rate HOME=/wrkdirs/net-mgmt/rate TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/net-mgmt/rate XDG_CONFIG_HOME=/wrkdirs/net-mgmt/rate HOME=/wrkdirs/net-mgmt/rate 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 -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -lcompat" LIBS="" CXX="c++" CXXFLAGS=" -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -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-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/rate" EXAMPLESDIR="share/examples/rate" DATADIR="share/rate" WWWDIR="www/rate" ETCDIR="etc/rate" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rate DOCSDIR=/usr/local/share/doc/rate EXAMPLESDIR=/usr/local/share/examples/rate WWWDIR=/usr/local/www/rate ETCDIR=/usr/local/etc/rate --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 =========================================================================== =================================================== ===> rate-0.9_1 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 ===> rate-0.9_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rate-0.9_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by rate-0.9_1 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by rate-0.9_1 for building => SHA256 Checksum OK for rate-0.9.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by rate-0.9_1 for building ===> Extracting for rate-0.9_1 => SHA256 Checksum OK for rate-0.9.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for rate-0.9_1 ===> Applying ports patches for rate-0.9_1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for rate-0.9_1 =========================================================================== =================================================== ===> Building for rate-0.9_1 --- rate.o --- --- rate_estimator.o --- --- rate_abusers.o --- --- rate_extractor.o --- --- rate_sta.o --- --- rate.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c rate.c --- rate_estimator.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c rate_estimator.c --- rate_extractor.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c rate_extractor.c --- rate_sta.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c rate_sta.c --- rate_abusers.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c rate_abusers.c --- rate_sta.o --- rate_sta.c: In function 'output': rate_sta.c:137:31: warning: implicit declaration of function 'dns_lookup' [-Wimplicit-function-declaration] snprintf(host, 50, "%s", dns_lookup(ntohl(h->ip))); ^ rate_sta.c:141:31: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] snprintf(host, 50, "%s", inet_ntoa(in)); ^ --- rate_abusers.o --- rate_abusers.c: In function 'host_inetntoa': rate_abusers.c:65:28: warning: implicit declaration of function 'dns_lookup' [-Wimplicit-function-declaration] snprintf(str, max, "%s", dns_lookup(ip)); ^ --- rate_extractor.o --- rate_extractor.c: In function 'counter': rate_extractor.c:60:2: warning: implicit declaration of function 'extractor' [-Wimplicit-function-declaration] extractor(data, caplen, opt_nul_char, opt_ips); ^ rate_extractor.c: In function 'r_extractor_setup': rate_extractor.c:120:2: warning: implicit declaration of function 'prepare_extractor' [-Wimplicit-function-declaration] prepare_extractor(opt_extractor, opt_order, opt_caplen); ^ --- rate.o --- rate.c: In function 'counter_callback': rate.c:172:7: warning: implicit declaration of function 'check_regex' [-Wimplicit-function-declaration] if(!check_regex(data + opt_prefix, hd->caplen - opt_prefix, opt_nul_char)) return; ^ rate.c: In function 'main': rate.c:381:3: warning: implicit declaration of function 'prepare_regex' [-Wimplicit-function-declaration] prepare_regex(opt_regex, opt_caplen); ^ --- lib.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c lib.c --- iphash.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c iphash.c iphash.c: In function 'add_class': iphash.c:68:12: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] netmask = htonl(netmask); ^ --- regex.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c regex.c regex.c: In function 'extractor': regex.c:318:22: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] printf("%s => ", inet_ntoa(in)); ^ --- save.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c save.c --- streams.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c streams.c streams.c: In function 'stastream_addclass': streams.c:62:38: warning: implicit declaration of function 'sta_malloc' [-Wimplicit-function-declaration] sta_class * c = (sta_class*) sta_malloc(sizeof(sta_class)); ^ streams.c:62:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sta_class * c = (sta_class*) sta_malloc(sizeof(sta_class)); ^ streams.c: In function 'stastream_hashinit': streams.c:125:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(streamhash, 0, sizeof(streamhash)); ^ streams.c:125:2: warning: incompatible implicit declaration of built-in function 'memset' streams.c:125:2: note: include '' or provide a declaration of 'memset' streams.c: In function 'stastream_findhost': streams.c:137:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host = (sta_host*) sta_malloc(sizeof(sta_host)); ^ streams.c:142:2: warning: incompatible implicit declaration of built-in function 'memset' memset(host->bytes, 0, 4 * sizeof(unsigned long long)); ^ streams.c:142:2: note: include '' or provide a declaration of 'memset' streams.c: In function 'stastream_classify': streams.c:255:8: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(&s->endpoints[1].firstdata, now, sizeof(struct timeval)); ^ streams.c:255:8: warning: incompatible implicit declaration of built-in function 'memcpy' streams.c:255:8: note: include '' or provide a declaration of 'memcpy' streams.c:267:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (sta_stream*) sta_malloc(sizeof(sta_stream)); ^ streams.c:292:3: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(&s->endpoints[0].firstdata, now, sizeof(struct timeval)); ^ streams.c:292:3: note: include '' or provide a declaration of 'memcpy' streams.c:293:3: warning: incompatible implicit declaration of built-in function 'memset' memset(&s->endpoints[1].firstdata, 0, sizeof(struct timeval)); ^ streams.c:293:3: note: include '' or provide a declaration of 'memset' streams.c:347:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(&s->endpoints[endpoint].lastdata, now, sizeof(struct timeval)); ^ streams.c:347:2: note: include '' or provide a declaration of 'memcpy' streams.c:362:3: warning: incompatible implicit declaration of built-in function 'memset' memset(counters, 0, sizeof(unsigned short) * 256); ^ streams.c:362:3: note: include '' or provide a declaration of 'memset' streams.c:403:15: warning: implicit declaration of function 'sta_process' [-Wimplicit-function-declaration] if((proto = sta_process(s, content, len, endpoint))) ^ streams.c: In function 'stastream_expire': streams.c:498:4: warning: implicit declaration of function 'sta_destroyprotodata' [-Wimplicit-function-declaration] sta_destroyprotodata(s); ^ streams.c:499:4: warning: implicit declaration of function 'sta_free' [-Wimplicit-function-declaration] sta_free(s); ^ streams.c: In function 'stastream_cleanstreams': streams.c:565:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *leasttimes = (void*) sta_malloc(sizeof(int) * count); ^ streams.c:566:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sta_stream ** leasttable = (void*) sta_malloc(sizeof(sta_stream*) * count); ^ streams.c:570:2: warning: incompatible implicit declaration of built-in function 'memset' memset(leasttable, 0, sizeof(sta_stream*) * count); ^ streams.c:570:2: note: include '' or provide a declaration of 'memset' streams.c:591:6: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] memmove(leasttimes + i + 1, leasttimes + i, sizeof(int) * (count - i - 1)); ^ streams.c:591:6: warning: incompatible implicit declaration of built-in function 'memmove' streams.c:591:6: note: include '' or provide a declaration of 'memmove' streams.c:653:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(next); ^ streams.c:653:6: warning: incompatible implicit declaration of built-in function 'free' streams.c:653:6: note: include '' or provide a declaration of 'free' streams.c:659:2: warning: incompatible implicit declaration of built-in function 'free' free(leasttimes); ^ streams.c:659:2: note: include '' or provide a declaration of 'free' --- save.o --- save.c: In function 'save_args': save.c:138:32: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] struct passwd * pw = getpwuid(getuid()); ^ --- streamstat.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c streamstat.c streamstat.c: In function 'arrayhandle': streamstat.c:79:4: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] memmove(list + j + 1, list + j, sizeof(void*) * (*n - j - (*n == maxitems ? 1 : 0))); ^ streamstat.c:79:4: warning: incompatible implicit declaration of built-in function 'memmove' streamstat.c:79:4: note: include '' or provide a declaration of 'memmove' streamstat.c: In function 'stastat_gethostlist': streamstat.c:96:34: warning: implicit declaration of function 'sta_malloc' [-Wimplicit-function-declaration] sta_host ** list = (sta_host**) sta_malloc(sizeof(sta_host*) * maxitems); ^ streamstat.c:96:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sta_host ** list = (sta_host**) sta_malloc(sizeof(sta_host*) * maxitems); ^ streamstat.c:108:9: warning: implicit declaration of function 'stastream_isours' [-Wimplicit-function-declaration] if(!stastream_isours(current->ip)) continue; ^ streamstat.c: In function 'stastat_getstreamlist': streamstat.c:160:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sta_stream ** list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * maxitems); ^ streamstat.c: In function 'stastat_calcproto': streamstat.c:183:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(pi, 0, sizeof(struct protoinfo)); ^ streamstat.c:183:2: warning: incompatible implicit declaration of built-in function 'memset' streamstat.c:183:2: note: include '' or provide a declaration of 'memset' streamstat.c: In function 'stastat_getprotolist': streamstat.c:208:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct protoinfo ** list = (struct protoinfo**) sta_malloc(sizeof(struct protoinfo*) * maxitems); ^ streamstat.c: In function 'customize_format': streamstat.c:286:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] snprintf(fmtstring, 256, fmt, n, n, n, n); ^ streamstat.c:286:2: warning: incompatible implicit declaration of built-in function 'snprintf' streamstat.c:286:2: note: include '' or provide a declaration of 'snprintf' streamstat.c: In function 'stastat_streamheader': streamstat.c:298:4: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(header, 500, customize_format(cols - strlen(indent), 31, "%%s%%s%%%d.%ds%%%d.%ds Traffic| Speed%%s"), ^ streamstat.c:298:4: note: include '' or provide a declaration of 'snprintf' streamstat.c:298:50: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] snprintf(header, 500, customize_format(cols - strlen(indent), 31, "%%s%%s%%%d.%ds%%%d.%ds Traffic| Speed%%s"), ^ streamstat.c:298:50: warning: incompatible implicit declaration of built-in function 'strlen' streamstat.c:298:50: note: include '' or provide a declaration of 'strlen' streamstat.c: In function 'stastat_stream2a': streamstat.c:323:17: warning: incompatible implicit declaration of built-in function 'strlen' int proto, l = strlen(indent); ^ streamstat.c:323:17: note: include '' or provide a declaration of 'strlen' streamstat.c:336:3: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(epa, 40, "%s", name); ^ streamstat.c:336:3: note: include '' or provide a declaration of 'snprintf' streamstat.c:343:3: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(epa, 40, "%s", inet_ntoa(in)); ^ streamstat.c:343:3: note: include '' or provide a declaration of 'snprintf' streamstat.c:354:3: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(endpoints, 300, customize_format(cols - l, 31, ^ streamstat.c:354:3: note: include '' or provide a declaration of 'snprintf' streamstat.c:376:3: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(endpoints, 300, customize_format(cols - l, 31, ^ streamstat.c:376:3: note: include '' or provide a declaration of 'snprintf' streamstat.c:423:13: warning: implicit declaration of function 'sta_protoinfo' [-Wimplicit-function-declaration] sta_protoinfo(s), ^ streamstat.c: In function 'stastat_getstreams': streamstat.c:434:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * h->streamcount); ^ --- process.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c process.c --- util.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c util.c --- process.o --- process.c: In function 'extract': process.c:169:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] str = (unsigned char*) malloc(m + 1); ^ process.c:169:25: warning: incompatible implicit declaration of built-in function 'malloc' process.c:169:25: note: include '' or provide a declaration of 'malloc' process.c:174:25: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] str = (unsigned char*) realloc(str, i + 1); ^ process.c:174:25: warning: incompatible implicit declaration of built-in function 'realloc' process.c:174:25: note: include '' or provide a declaration of 'realloc' process.c: In function 'ftp_cleanpi': process.c:220:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(portinfos); ^ process.c:220:4: warning: incompatible implicit declaration of built-in function 'free' process.c:220:4: note: include '' or provide a declaration of 'free' process.c: In function 'ftp_isinpi': process.c:263:4: warning: incompatible implicit declaration of built-in function 'free' free(pi); ^ process.c:263:4: note: include '' or provide a declaration of 'free' process.c: In function 'ftp_ex': process.c:282:7: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] if(sscanf(pasv, "(%d,%d,%d,%d,%d,%d)", &i1, &i2, &i3, &i4, &p1, &p2) == 6) ^ process.c:282:7: warning: incompatible implicit declaration of built-in function 'sscanf' process.c:282:7: note: include '' or provide a declaration of 'sscanf' process.c:284:20: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] u_int32_t ip = htonl((i1 << 24) | (i2 << 16) | (i3 << 8) | i4); ^ process.c:285:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] u_int16_t port = htons((p1 << 8) | p2); ^ process.c:288:4: warning: incompatible implicit declaration of built-in function 'free' free(pasv); ^ process.c:288:4: note: include '' or provide a declaration of 'free' process.c:301:7: warning: incompatible implicit declaration of built-in function 'sscanf' if(sscanf(port, "%d,%d,%d,%d,%d,%d", &i1, &i2, &i3, &i4, &p1, &p2) == 6) ^ process.c:301:7: note: include '' or provide a declaration of 'sscanf' process.c:307:4: warning: incompatible implicit declaration of built-in function 'free' free(port); ^ process.c:307:4: note: include '' or provide a declaration of 'free' process.c:314:25: warning: incompatible implicit declaration of built-in function 'free' if(s->protocol_data) free(s->protocol_data); ^ process.c:314:25: note: include '' or provide a declaration of 'free' process.c: In function 'smtp_ex': process.c:350:3: warning: incompatible implicit declaration of built-in function 'free' free(from); ^ process.c:350:3: note: include '' or provide a declaration of 'free' process.c:356:2: warning: incompatible implicit declaration of built-in function 'free' free(s->protocol_data); ^ process.c:356:2: note: include '' or provide a declaration of 'free' process.c: In function 'http_ex': process.c:376:3: warning: incompatible implicit declaration of built-in function 'free' free(req); free(host); ^ process.c:376:3: note: include '' or provide a declaration of 'free' process.c: In function 'printstring_info': process.c:396:3: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] snprintf(buffer, n, "%s", s->protocol_data); ^ process.c:396:3: warning: incompatible implicit declaration of built-in function 'snprintf' process.c:396:3: note: include '' or provide a declaration of 'snprintf' process.c: In function 'pop3_info': process.c:402:3: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(buffer, n, "User: %s", s->protocol_data); ^ process.c:402:3: note: include '' or provide a declaration of 'snprintf' process.c: In function 'generic_ds': process.c:407:2: warning: incompatible implicit declaration of built-in function 'free' free(s->protocol_data); ^ process.c:407:2: note: include '' or provide a declaration of 'free' process.c: In function 'sta_process': process.c:500:29: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] if(!(g = tcp_port_guess(ntohs(s->endpoints[1].port)))) ^ process.c: In function 'sta_protoinfo': process.c:612:4: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(info, 300, "%s (guessed) (%s?)", protonames[s->stream_protocol], serventguess(s)); ^ process.c:612:4: note: include '' or provide a declaration of 'snprintf' process.c:614:4: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(info, 300, "Unknown (%s?)", serventguess(s)); ^ process.c:614:4: note: include '' or provide a declaration of 'snprintf' process.c:619:8: warning: incompatible implicit declaration of built-in function 'snprintf' n = snprintf(info, 300, "%s ", protonames[s->stream_protocol]); ^ process.c:619:8: note: include '' or provide a declaration of 'snprintf' process.c:621:8: warning: incompatible implicit declaration of built-in function 'snprintf' n = snprintf(info, 300, "%s (%s?) ", protonames[s->stream_protocol], serventguess(s)); ^ process.c:621:8: note: include '' or provide a declaration of 'snprintf' --- dns.o --- cc -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -O2 -fno-strict-aliasing -c dns.c --- rate --- cc rate.o rate_estimator.o rate_abusers.o rate_extractor.o rate_sta.o lib.o iphash.o regex.o save.o streams.o streamstat.o process.o util.o dns.o -o rate -lcompat -lpcap =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for rate-0.9_1 ===> Generating temporary packing list install -m 555 /wrkdirs/net-mgmt/rate/rate-0.9/rate /wrkdirs/net-mgmt/rate/stage/usr/local/bin/rate install -m 444 /wrkdirs/net-mgmt/rate/rate-0.9/doc/rate.1 /wrkdirs/net-mgmt/rate/stage/usr/local/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for rate-0.9_1 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for rate-0.9_1 build of net-mgmt/rate ended at Wed Oct 5 03:55:58 PDT 2016 build time: 00:00:08