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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 12:59:30 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/p59e63aec278e_sa2f53837f0a/logs/rate-0.9_3.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p59e63aec278e_sa2f53837f0a
Log:

=>> Building net-mgmt/rate
build started at Sun Sep  1 12:59:27 UTC 2024
port directory: /usr/ports/net-mgmt/rate
package name: rate-0.9_3
building for: FreeBSD main-i386-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 i386
maintained by: portmaster@bsdforge.com
Makefile datestamp: -rw-r--r--  1 root wheel 677 Jan 23  2024 /usr/ports/net-mgmt/rate/Makefile
Ports top last git commit: 59e63aec278
Ports top unclean checkout: no
Port dir last git commit: 06e29c99845
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 02




!!! Jail is newer than host. (Jail: 1500023, Host: 1500019) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500023
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 1500023
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
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/02/.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.2
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-02] Installing pkg-1.21.3...
[main-i386-default-job-02] 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
===========================================================================
<snip>
process.c:282:7: warning: call to undeclared library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  282 |                         if(sscanf(pasv, "(%d,%d,%d,%d,%d,%d)", &i1, &i2, &i3, &i4, &p1, &p2) == 6)
      |                            ^
process.c:282:7: note: include the header <stdio.h> or explicitly provide a declaration for 'sscanf'
process.c:282:14: 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]
  282 |                         if(sscanf(pasv, "(%d,%d,%d,%d,%d,%d)", &i1, &i2, &i3, &i4, &p1, &p2) == 6)
      |                                   ^~~~
process.c:284:20: warning: call to undeclared function 'htonl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  284 |                                 u_int32_t ip = htonl((i1 << 24) | (i2 << 16) | (i3 << 8) | i4);
      |                                                ^
process.c:285:22: warning: call to undeclared function 'htons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  285 |                                 u_int16_t port = htons((p1 << 8) | p2);
      |                                                  ^
process.c:301:14: 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]
  301 |                         if(sscanf(port, "%d,%d,%d,%d,%d,%d", &i1, &i2, &i3, &i4, &p1, &p2) == 6)
      |                                   ^~~~
process.c:303:20: warning: call to undeclared function 'htonl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  303 |                                 u_int32_t ip = htonl((i1 << 24) | (i2 << 16) | (i3 << 8) | i4);
      |                                                ^
process.c:304:22: warning: call to undeclared function 'htons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  304 |                                 u_int16_t port = htons((p1 << 8) | p2);
      |                                                  ^
process.c:348:41: warning: passing 'char[7]' 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]
  348 |                 s->protocol_data = auto_snprintf(256, "%s => ", from);
      |                                                       ^~~~~~~~
./util.h:20:56: note: passing argument to parameter 'format' here
   20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...);
      |                                                        ^
process.c:355:25: warning: passing 'char[5]' 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]
  355 |         r = auto_snprintf(256, "%s%s", s->protocol_data, to);
      |                                ^~~~~~
./util.h:20:56: note: passing argument to parameter 'format' here
   20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...);
      |                                                        ^
process.c:375:41: warning: passing 'char[6]' 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]
  375 |                 s->protocol_data = auto_snprintf(250, "%s:%s", host, req);
      |                                                       ^~~~~~~
./util.h:20:56: note: passing argument to parameter 'format' here
   20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...);
      |                                                        ^
process.c:396:3: 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]
  396 |                 snprintf(buffer, n, "%s", s->protocol_data);
      |                 ^
process.c:396:3: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
process.c:396:29: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat]
  396 |                 snprintf(buffer, n, "%s", s->protocol_data);
      |                                      ~~   ^~~~~~~~~~~~~~~~
process.c:402:35: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat]
  402 |                 snprintf(buffer, n, "User: %s", s->protocol_data);
      |                                            ~~   ^~~~~~~~~~~~~~~~
process.c:455:17: 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]
  455 |                                         if(strncmp(content, "220 ", 4) == 0 &&
      |                                                    ^~~~~~~
/usr/include/string.h:113:26: note: passing argument to parameter here
  113 | int      strncmp(const char *, const char *, size_t) __pure;
      |                              ^
process.c:456:22: 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]
  456 |                                            ((rabin_karp(content, len, "SMTP", 4) != -1) ||
      |                                                         ^~~~~~~
process.c:136:42: note: passing argument to parameter 'y' here
  136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) 
      |                                          ^
process.c:457:22: 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]
  457 |                                             (rabin_karp(content, len, "smtp", 4) != -1)))
      |                                                         ^~~~~~~
process.c:136:42: note: passing argument to parameter 'y' here
  136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) 
      |                                          ^
process.c:459:22: 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]
  459 |                                         else if(strncmp(content, "+OK", 3) == 0)
      |                                                         ^~~~~~~
/usr/include/string.h:113:26: note: passing argument to parameter here
  113 | int      strncmp(const char *, const char *, size_t) __pure;
      |                              ^
process.c:465:20: 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]
  465 |                                         if(rabin_karp(content, len, "220", 3) != -1 &&
      |                                                       ^~~~~~~
process.c:136:42: note: passing argument to parameter 'y' here
  136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) 
      |                                          ^
process.c:466:23: 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]
  466 |                                                    ((rabin_karp(content, len, "FTP", 3) != -1) ||
      |                                                                 ^~~~~~~
process.c:136:42: note: passing argument to parameter 'y' here
  136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) 
      |                                          ^
process.c:467:23: 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]
  467 |                                                 (rabin_karp(content, len, "ftp", 3) != -1)))
      |                                                             ^~~~~~~
process.c:136:42: note: passing argument to parameter 'y' here
  136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) 
      |                                          ^
process.c:479:17: 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]
  479 |                                         if(strncmp(content, "GET ", 4) == 0 || 
      |                                                    ^~~~~~~
/usr/include/string.h:113:26: note: passing argument to parameter here
  113 | int      strncmp(const char *, const char *, size_t) __pure;
      |                              ^
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:113:26: note: passing argument to parameter here
  113 | 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:113:26: note: passing argument to parameter here
  113 | 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:113:26: note: passing argument to parameter here
  113 | 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 ---
17 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
--- streams.o ---
14 warnings generated.
--- dns.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"
      |  ^
--- 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
--- util.o ---
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:312:35: note: passing argument to parameter here
  312 | 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:312:68: note: passing argument to parameter here
  312 | int      (vsnprintf)(char * __restrict, size_t, const char * __restrict,
      |                                                                        ^
--- process.o ---
33 warnings generated.
--- util.o ---
3 warnings generated.
--- 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'
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:695:96: note: passing argument to parameter here
  695 | 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 making "all" in /wrkdirs/usr/ports/net-mgmt/rate/work/rate-0.9
make: 1 error

make: stopped making "all" 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 making "build" in /usr/ports/net-mgmt/rate