[package - main-amd64-default][net/rtg] Failed for rtg-0.7.5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 06 Sep 2023 01:09:18 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:     freebsd-ports@dan.me.uk
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p7dfcd9429217_sb451dcc84f/logs/rtg-0.7.5.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p7dfcd9429217_sb451dcc84f
Log:

=>> Building net/rtg
build started at Wed Sep  6 01:09:09 UTC 2023
port directory: /usr/ports/net/rtg
package name: rtg-0.7.5
building for: FreeBSD main-amd64-default-job-08 15.0-CURRENT FreeBSD 15.0-CURRENT 1500000 amd64
maintained by: freebsd-ports@dan.me.uk
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500000
Job Id: 08

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500000
UNAME_v=FreeBSD 15.0-CURRENT 1500000
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for rtg-0.7.5:
     MYSQL=off: Pull MySQL server in as a dependancy for local setups
     WEB=off: Include PHP-based web client interface pre-requisites
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
freebsd-ports@dan.me.uk
--End MAINTAINER--

--CONFIGURE_ARGS--
--sysconfdir=/usr/local/etc/rtg  --htmldir=/usr/local/www/data  --with-mysql=/usr/local  --with-gd=/usr/local  --with-snmp=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net/rtg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/rtg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/rtg/work/.cache  HOME=/wrkdirs/usr/ports/net/rtg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/rtg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/rtg/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/rtg/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/rtg/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/rtg/work/.cache  HOME=/wrkdirs/usr/ports/net/rtg/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/rtg/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/rtg/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  -fstack-protector -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="i
nstall  -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 PERL_VERSION=5.34.1  PERL_VER=5.34  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.34 DOCSDIR="share/doc/rtg"  EXAMPLESDIR="share/examples/rtg"  DATADIR="share/rtg"  WWWDIR="www/rtg"  ETCDIR="etc/rtg"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rtg DOCSDIR=/usr/local/share/doc/rtg EXAMPLESDIR=/usr/local/share/examples/rtg  WWWDIR=/usr/local/www/rtg ETCDIR=/usr/local/etc/rtg
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  33554432
stack size              (kbytes, -s)  524288
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)  1024
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   rtg-0.7.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[main-amd64-default-job-08] Installing pkg-1.20.6...
[main-amd64-default-job-08] Extracting pkg-1.20.6: .......... done
===>   rtg-0.7.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rtg-0.7.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rtg-0.7.5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rtg-0.7.5 for building
=> SHA256 Checksum OK for rtg-0.7.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rtg-0.7.5 for building
===>  Extracting for rtg-0.7.5
=> SHA256 Checksum OK for rtg-0.7.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for rtg-0.7.5
===>  Applying FreeBSD patches for rtg-0.7.5 from /usr/ports/net/rtg/files
===========================================================================
=======================<phase: build-depends  >============================
===>   rtg-0.7.5 depends on package: perl5>=5.34<5.35 - not found
===>   Installing existing package /packages/All/perl5-5.34.1_3.pkg
[main-amd64-default-job-08] Installing perl5-5.34.1_3...
[main-amd64-default-job-08] Extracting perl5-5.34.1_3: .......... done
===>   rtg-0.7.5 depends on package: perl5>=5.34<5.35 - found
===>   Returning to build of rtg-0.7.5
===========================================================================
=======================<phase: lib-depends    >============================
===>   rtg-0.7.5 depends on shared library: libnetsnmp.so - not found
===>   Installing existing package /packages/All/net-snmp-5.9.1_3,1.pkg
<snip>

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
=====
Message from groff-1.23.0:

--
In order to be able to use the html driver, you need to install the following
packages:
 - ghostscript
 - netpbm
=====
Message from openldap26-client-2.6.6:

--
The OpenLDAP client package has been successfully installed.

Edit
  /usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.

Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
  http://www.OpenLDAP.org/faq/index.cgi?file=3
for more information.
=====
Message from mysql80-client-8.0.33_3:

--
This is the mysql CLIENT without the server.
for complete server and client, please install databases/mysql80-server
===>   rtg-0.7.5 depends on shared library: libmysqlclient.so.21 - found (/usr/local/lib/mysql/libmysqlclient.so.21)
===>   Returning to build of rtg-0.7.5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for rtg-0.7.5
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... amd64-portbld-freebsd15.0
checking host system type... amd64-portbld-freebsd15.0
checking for gawk... (cached) /usr/bin/awk
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether to enable -Wall... no
checking for kstat_lookup in -lkstat... no
checking for gethostbyname in -lnsl... no
checking for socket in -lsocket... no
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for ctype.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for unsigned long long... (cached) yes
checking for long long... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for gettimeofday... (cached) yes
checking for strerror... (cached) yes
checking for strtoll... (cached) yes
checking for gdImageCreate in -lgd... yes
checking for mysql_thread_init in -lmysqlclient_r... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... no
checking for snmp_timeout in -lnetsnmp... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cgilib-0.7/Makefile
config.status: creating etc/Makefile
config.status: creating src/Makefile
config.status: creating contrib/Makefile
config.status: creating etc/createdb
config.status: creating etc/rtgtargmkr.pl
config.status: creating etc/common.php
config.status: creating config/config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for rtg-0.7.5
--- all-recursive ---
Making all in cgilib-0.7
--- aux.o ---
--- cgi.o ---
--- aux.o ---
cc -DHAVE_CONFIG_H -I. -I../config      -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT aux.o -MD -MP -MF .deps/aux.Tpo -c -o aux.o aux.c
--- cgi.o ---
cc -DHAVE_CONFIG_H -I. -I../config      -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT cgi.o -MD -MP -MF .deps/cgi.Tpo -c -o cgi.o cgi.c
--- aux.o ---
mv -f .deps/aux.Tpo .deps/aux.Po
--- cgitest.o ---
cc -DHAVE_CONFIG_H -I. -I../config      -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT cgitest.o -MD -MP -MF .deps/cgitest.Tpo -c -o cgitest.o cgitest.c
mv -f .deps/cgitest.Tpo .deps/cgitest.Po
--- cookies.o ---
cc -DHAVE_CONFIG_H -I. -I../config      -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT cookies.o -MD -MP -MF .deps/cookies.Tpo -c -o cookies.o cookies.c
mv -f .deps/cookies.Tpo .deps/cookies.Po
--- cgi.o ---
mv -f .deps/cgi.Tpo .deps/cgi.Po
--- libcgi.a ---
rm -f libcgi.a
ar cru libcgi.a aux.o cgi.o cgitest.o  cookies.o 
ranlib libcgi.a
Making all in src
--- rtgsnmp.o ---
--- rtgmysql.o ---
--- rtgsnmp.o ---
cc -DHAVE_CONFIG_H -I. -I../config  -I../cgilib-0.7    -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT rtgsnmp.o -MD -MP -MF .deps/rtgsnmp.Tpo -c -o rtgsnmp.o rtgsnmp.c
--- rtgmysql.o ---
cc -DHAVE_CONFIG_H -I. -I../config  -I../cgilib-0.7    -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT rtgmysql.o -MD -MP -MF .deps/rtgmysql.Tpo -c -o rtgmysql.o rtgmysql.c
--- rtgsnmp.o ---
In file included from rtgsnmp.c:24:
/usr/local//include/net-snmp/net-snmp-config.h:2341:10: fatal error: 'net-snmp/system/freebsd15.h' file not found
#include NETSNMP_SYSTEM_INCLUDE_FILE
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local//include/net-snmp/net-snmp-config.h:1993:37: note: expanded from macro 'NETSNMP_SYSTEM_INCLUDE_FILE'
#define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/freebsd15.h"
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- rtgmysql.o ---
mv -f .deps/rtgmysql.Tpo .deps/rtgmysql.Po
--- rtgpoll.o ---
cc -DHAVE_CONFIG_H -I. -I../config  -I../cgilib-0.7    -I/usr/local//include/net-snmp -I/usr/local//include/net-snmp/.. -I/usr/local/include/mysql  -I/usr/local/include -O2 -pipe  -fstack-protector -fstack-protector-strong -fno-strict-aliasing -MT rtgpoll.o -MD -MP -MF .deps/rtgpoll.Tpo -c -o rtgpoll.o rtgpoll.c
--- rtgsnmp.o ---
1 error generated.
*** [rtgsnmp.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net/rtg/work/rtg-0.7.5/src
--- rtgpoll.o ---
In file included from rtgpoll.c:22:
/usr/local//include/net-snmp/net-snmp-config.h:2341:10: fatal error: 'net-snmp/system/freebsd15.h' file not found
#include NETSNMP_SYSTEM_INCLUDE_FILE
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local//include/net-snmp/net-snmp-config.h:1993:37: note: expanded from macro 'NETSNMP_SYSTEM_INCLUDE_FILE'
#define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/freebsd15.h"
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [rtgpoll.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net/rtg/work/rtg-0.7.5/src
2 errors

make[2]: stopped in /wrkdirs/usr/ports/net/rtg/work/rtg-0.7.5/src

make[1]: stopped in /wrkdirs/usr/ports/net/rtg/work/rtg-0.7.5
===> 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/rtg