[package - main-i386-default][net-mgmt/rate] Failed for rate-0.9_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 05 Jul 2024 07:51:11 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     portmaster@bsdforge.com
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p58363a86b3c6_scf2c79915a6/logs/rate-0.9_3.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p58363a86b3c6_scf2c79915a6
Log:

=>> Building net-mgmt/rate
build started at Fri Jul  5 07:51:08 UTC 2024
port directory: /usr/ports/net-mgmt/rate
package name: rate-0.9_3
building for: FreeBSD main-i386-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 i386
maintained by: portmaster@bsdforge.com
Makefile datestamp: -rw-r--r--  1 root wheel 677 Jan 23 01:01 /usr/ports/net-mgmt/rate/Makefile
Ports top last git commit: 58363a86b3c
Ports top unclean checkout: no
Port dir last git commit: 06e29c99845
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500019
Job Id: 11

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500019
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500019
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-i386-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
portmaster@bsdforge.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/rate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/rate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/rate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/rate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/rate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/rate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -lcompat -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing  " B
SD_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"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 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---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rate-0.9_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-11] Installing pkg-1.21.3...
[main-i386-default-job-11] Extracting pkg-1.21.3: .......... done
===>   rate-0.9_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rate-0.9_3
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rate-0.9_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rate-0.9_3 for building
=> SHA256 Checksum OK for rate-0.9.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rate-0.9_3 for building
===>  Extracting for rate-0.9_3
=> SHA256 Checksum OK for rate-0.9.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for rate-0.9_3
===>  Applying FreeBSD patches for rate-0.9_3 from /usr/ports/net-mgmt/rate/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for rate-0.9_3
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for rate-0.9_3
--- rate.o ---
--- rate_estimator.o ---
--- rate_abusers.o ---
<snip>
      |                              ^
process.c:480:18: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  480 |                                                 strncmp(content, "PUT ", 4) == 0 || 
      |                                                         ^~~~~~~
/usr/include/string.h:109:26: note: passing argument to parameter here
  109 | int      strncmp(const char *, const char *, size_t) __pure;
      |                              ^
process.c:481:18: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  481 |                                             strncmp(content, "HEAD ", 5) == 0 || 
      |                                                     ^~~~~~~
/usr/include/string.h:109:26: note: passing argument to parameter here
  109 | int      strncmp(const char *, const char *, size_t) __pure;
      |                              ^
process.c:482:18: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  482 |                                             strncmp(content, "POST ", 5) == 0)
      |                                                     ^~~~~~~
/usr/include/string.h:109:26: note: passing argument to parameter here
  109 | int      strncmp(const char *, const char *, size_t) __pure;
      |                              ^
process.c:500:29: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  500 |                                 if(!(g = tcp_port_guess(ntohs(s->endpoints[1].port))))
      |                                                         ^
process.c:533:28: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  533 |                         if(!(g = udp_port_guess(ntohs(s->endpoints[1].port))))
      |                                                 ^
process.c:574:11: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  574 |         int p1 = ntohs(s->endpoints[0].port);
      |                  ^
process.c:596:26: warning: call to undeclared function 'htons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  596 |         if(!(se = getservbyport(htons(p1), proto)))
      |                                 ^
--- streamstat.o ---
streamstat.c:79:4: warning: call to undeclared library function 'memmove' with type 'void *(void *, const void *, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   79 |                         memmove(list + j + 1, list + j, sizeof(void*) * (*n - j - (*n == maxitems ? 1 : 0)));
      |                         ^
streamstat.c:79:4: note: include the header <string.h> or explicitly provide a declaration for 'memmove'
streamstat.c:96:34: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   96 |         sta_host ** list = (sta_host**) sta_malloc(sizeof(sta_host*) * maxitems);
      |                                         ^
streamstat.c:108:9: warning: call to undeclared function 'stastream_isours'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  108 |                                 if(!stastream_isours(current->ip)) continue;
      |                                     ^
streamstat.c:160:38: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  160 |         sta_stream ** list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * maxitems);
      |                                             ^
streamstat.c:170:9: warning: call to undeclared function 'stastream_isours'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  170 |                         if(!(stastream_isours(current->endpoints[0].host->ip) ||
      |                              ^
streamstat.c:183:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  183 |         memset(pi, 0, sizeof(struct protoinfo));
      |         ^
streamstat.c:183:2: note: include the header <string.h> or explicitly provide a declaration for 'memset'
streamstat.c:208:50: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  208 |         struct protoinfo ** list = (struct protoinfo**) sta_malloc(sizeof(struct protoinfo*) * maxitems);
      |                                                         ^
streamstat.c:286:2: warning: call to undeclared library function 'snprintf' with type 'int (char *, unsigned int, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  286 |         snprintf(fmtstring, 256, fmt, n, n, n, n);
      |         ^
streamstat.c:286:2: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
streamstat.c:298:50: warning: call to undeclared library function 'strlen' with type 'unsigned int (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  298 |                         snprintf(header, 500, customize_format(cols - strlen(indent), 31, "%%s%%s%%%d.%ds%%%d.%ds              Traffic|  Speed%%s"),
      |                                                                       ^
streamstat.c:298:50: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
streamstat.c:402:30: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  402 |                         return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s ",
      |                                                   ^~~~~~~~~~~~~~~~~~~~~
./util.h:20:56: note: passing argument to parameter 'format' here
   20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...);
      |                                                        ^
streamstat.c:402:10: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  402 |                         return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s ",
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  403 |                                                                                                 endpoints,
      |                                                                                                 ~~~~~~~~~~
  404 |                                                                                                 CM_DATA(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~
  405 |                                                                                                 overall_bytes,
      |                                                                                                 ~~~~~~~~~~~~~~
  406 |                                                                                                 CM_PLAIN(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~
  407 |                                                                                                 cseparator,
      |                                                                                                 ~~~~~~~~~~~
  408 |                                                                                                 CM_RATE(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~
  409 |                                                                                                 overall_bps,
      |                                                                                                 ~~~~~~~~~~~~
  410 |                                                                                                 CM_PLAIN(stale, color)));
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~
streamstat.c:423:13: warning: call to undeclared function 'sta_protoinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  423 |                                                                                                 sta_protoinfo(s),
      |                                                                                                 ^
streamstat.c:412:30: warning: passing 'char[36]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  412 |                         return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s \n%s%s%-70.70s%s ",
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util.h:20:56: note: passing argument to parameter 'format' here
   20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...);
      |                                                        ^
streamstat.c:412:10: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  412 |                         return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s \n%s%s%-70.70s%s ",
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  413 |                                                                                                 endpoints,
      |                                                                                                 ~~~~~~~~~~
  414 |                                                                                                 CM_DATA(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~
  415 |                                                                                                 overall_bytes,
      |                                                                                                 ~~~~~~~~~~~~~~
  416 |                                                                                                 CM_PLAIN(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~
  417 |                                                                                                 cseparator,
      |                                                                                                 ~~~~~~~~~~~
  418 |                                                                                                 CM_RATE(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~
  419 |                                                                                                 overall_bps,
      |                                                                                                 ~~~~~~~~~~~~
  420 |                                                                                                 CM_PLAIN(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~
  421 |                                                                                                 indent,
      |                                                                                                 ~~~~~~~
  422 |                                                                                                 CM_PROTOCOL(stale, color),
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
  423 |                                                                                                 sta_protoinfo(s),
      |                                                                                                 ~~~~~~~~~~~~~~~~~
  424 |                                                                                                 CM_PLAIN(stale, color)));
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~
streamstat.c:426:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
  426 | }
      | ^
streamstat.c:434:24: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  434 |         list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * h->streamcount);
      |                               ^
--- streams.o ---
14 warnings generated.
--- util.o ---
cc  -O2 -pipe  -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing  -c util.c -o util.o
In file included from util.c:22:
/usr/include/sys/timeb.h:41:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
   41 | #warning "this file includes <sys/timeb.h> which is deprecated"
      |  ^
util.c:38:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   38 |         n = vsnprintf(out, max, format, ap);
      |                       ^~~
/usr/include/stdio.h:297:33: note: passing argument to parameter here
  297 | int      vsnprintf(char * __restrict, size_t, const char * __restrict,
      |                                     ^
util.c:38:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   38 |         n = vsnprintf(out, max, format, ap);
      |                                 ^~~~~~
/usr/include/stdio.h:297:66: note: passing argument to parameter here
  297 | int      vsnprintf(char * __restrict, size_t, const char * __restrict,
      |                                                                      ^
--- process.o ---
33 warnings generated.
--- dns.o ---
--- util.o ---
3 warnings generated.
--- dns.o ---
cc  -O2 -pipe  -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing  -c dns.c -o dns.o
dns.c:336:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
  336 |          *(int*)0=0;
      |          ^~~~~~~~
dns.c:336:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
dns.c:341:13: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
  341 |             *(int*)0=0;
      |             ^~~~~~~~
dns.c:341:13: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
--- streamstat.o ---
17 warnings generated.
--- dns.o ---
dns.c:1073:83: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
 1073 |    r = recvfrom(resfd,(byte *)resrecvbuf,MaxPacketsize,0,(struct sockaddr *)&from,&fromlen);
      |                                                                                   ^~~~~~~~
/usr/include/sys/socket.h:691:96: note: passing argument to parameter here
  691 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                                                                ^
3 warnings generated.
--- 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 -fstack-protector-strong  -lpcap
ld: error: undefined symbol: ftime
>>> referenced by rate.c
>>>               rate.o:(output_callback)
>>> referenced by rate.c
>>>               rate.o:(main)
>>> referenced by rate.c
>>>               rate.o:(main)
>>> did you mean: ctime
>>> defined in: /lib/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [rate] Error code 1

make: stopped in /wrkdirs/usr/ports/net-mgmt/rate/work/rate-0.9
make: 1 error

make: stopped in /wrkdirs/usr/ports/net-mgmt/rate/work/rate-0.9
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/rate