[package - main-amd64-default][sysutils/nut] Failed for nut-2.8.0_23 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 05 Sep 2023 17:27:02 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:     cy@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p7dfcd9429217_sb451dcc84f/logs/nut-2.8.0_23.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p7dfcd9429217_sb451dcc84f
Log:

=>> Building sysutils/nut
build started at Tue Sep  5 17:26:40 UTC 2023
port directory: /usr/ports/sysutils/nut
package name: nut-2.8.0_23
building for: FreeBSD main-amd64-default-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500000 amd64
maintained by: cy@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500000
Job Id: 12

---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 nut-2.8.0_23:
     AVAHI=on: Zeroconf support via Avahi
     BASH=on: Install programmable completions for Bash
     CGI=on: Web CGI interface
     DOCS=on: Build and/or install documentation
     FREEIPMI=on: freeipmi support
     IPMIPSU=off: Use nut-ipmipsu support (experimental)
     MANPAGES=on: Build and/or install manual pages
     MODBUS=on: Modbus support
     NEON=on: NEON XML/HTTP support
     PDU=on: Powerman PDU support
     SERIAL=on: SERIAL support
     SNMP=on: SNMP network protocol support
     USB=on: USB support
====> SSL protocol support: you have to select exactly one of them
     SSL_OFF=off: No SSL support
     OPENSSL=on: SSL/TLS support via OpenSSL
     NSS=off: SSL/TLS support via NSS
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
cy@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--sysconfdir=/usr/local/etc/nut  --program-transform-name=""  --localstatedir=/var/db/nut  --datadir=/usr/local/etc/nut  --with-devd-dir=/usr/local/etc/devd  --with-drvpath=/usr/local/libexec/nut  --with-statepath=/var/db/nut  --with-altpidpath=/var/db/nut  --with-pidpath=/var/db/nut  --with-pkgconfig-dir=/usr/local/libdata/pkgconfig  --with-user=nut  --with-group=nut  --with-dev --with-avahi --with-cgi --with-cgipath=/usr/local/www/cgi-bin/nut  --with-htmlpath=/usr/local/www/nut  --with-gd-includes=-I/usr/local/include  --with-gd-libs="-L/usr/local/lib -lgd" --with-freeipmi --without-ipmi --with-doc=man=auto --with-modbus --with-neon --without-nss --with-openssl --with-powerman --with-serial --with-snmp --with-usb=auto --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/nut/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/nut/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/nut/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/nut/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/nut/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/nut/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/nut/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/nut/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/nut/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/nut/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/nut/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/nut/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include -L/usr/local/lib -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -L/usr/local/lib -fstack-protector-strong -fno-strict-aliasi
ng  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
NUT_USER=nut NUT_GROUP=nut CGIDIR="/usr/local/www/cgi-bin/nut" CGIETCDIR="etc/nut/" STATEDIR=/var/db/nut PORTDOCS="" AVAHI="" NO_AVAHI="@comment " BASH="" NO_BASH="@comment " CGI="" NO_CGI="@comment " DOCS="" NO_DOCS="@comment " FREEIPMI="" NO_FREEIPMI="@comment " IPMIPSU="@comment " NO_IPMIPSU="" MANPAGES="" NO_MANPAGES="@comment " MODBUS="" NO_MODBUS="@comment " NEON="" NO_NEON="@comment " NSS="@comment " NO_NSS="" OPENSSL="" NO_OPENSSL="@comment " PDU="" NO_PDU="@comment " SERIAL="" NO_SERIAL="@comment " SNMP="" NO_SNMP="@comment " SSL_OFF="@comment " NO_SSL_OFF="" USB="" NO_USB="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nut"  EXAMPLESDIR="share/exam
ples/nut"  DATADIR="share/nut"  WWWDIR="www/nut"  ETCDIR="etc/nut"
--End PLIST_SUB--

--SUB_LIST--
STATEDIR=/var/db/nut NUT_USER=nut NUT_GROUP=nut AVAHI="" NO_AVAHI="@comment " BASH="" NO_BASH="@comment " CGI="" NO_CGI="@comment " DOCS="" NO_DOCS="@comment " FREEIPMI="" NO_FREEIPMI="@comment " IPMIPSU="@comment " NO_IPMIPSU="" MANPAGES="" NO_MANPAGES="@comment " MODBUS="" NO_MODBUS="@comment " NEON="" NO_NEON="@comment " NSS="@comment " NO_NSS="" OPENSSL="" NO_OPENSSL="@comment " PDU="" NO_PDU="@comment " SERIAL="" NO_SERIAL="@comment " SNMP="" NO_SNMP="@comment " SSL_OFF="@comment " NO_SSL_OFF="" USB="" NO_USB="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nut DOCSDIR=/usr/local/share/doc/nut EXAMPLESDIR=/usr/local/share/examples/nut  WWWDIR=/usr/local/
www/nut ETCDIR=/usr/local/etc/nut
--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+ GPLv3+ ART10 GPLv1+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nut-2.8.0_23 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[main-amd64-default-job-12] Installing pkg-1.20.6...
[main-amd64-default-job-12] Extracting pkg-1.20.6: .......... done
===>   nut-2.8.0_23 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nut-2.8.0_23
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ GPLv3+ ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by nut-2.8.0_23 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ GPLv3+ ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by nut-2.8.0_23 for building
=> SHA256 Checksum OK for nut-2.8.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ GPLv3+ ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by nut-2.8.0_23 for building
===>  Extracting for nut-2.8.0_23
=> SHA256 Checksum OK for nut-2.8.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
<snip>
checking for libusb_set_auto_detach_kernel_driver... yes
checking for libusb_detach_kernel_driver... yes
checking for libusb_detach_kernel_driver_np... yes
checking for usb_detach_kernel_driver_np... yes
checking size of void *... 8
checking for net-snmp-config-64... no
checking for net-snmp-config... /usr/local/bin/net-snmp-config
checking for Net-SNMP version via pkg-config... 5.9.1 found
checking for Net-SNMP cflags... -I/usr/local/include
checking for Net-SNMP libs... -L/usr/local/lib -lnetsnmp
checking for net-snmp/net-snmp-config.h... no
checking for init_snmp... yes
checking for libneon version via pkg-config (0.25.0 minimum required)... 0.32.4 found
checking for libneon cflags... -I/usr/local/include/neon
checking for libneon ldflags... -L/usr/local/lib -lneon
checking for ne_xmlreq.h... yes
checking for ne_xml_dispatch_request... yes
checking for ne_set_connect_timeout... yes
checking for ne_sock_connect_timeout... yes
checking for LLNC libpowerman version via pkg-config... '2.3.20' found
checking for libpowerman cflags... -I/usr/local/include
checking for libpowerman libs... -L/usr/local/lib -lpowerman
checking for libpowerman.h... yes
checking for pm_connect... yes
checking for libmodbus version via pkg-config... 3.1.7 found
checking for libmodbus cflags... -I/usr/local/include/modbus
checking for libmodbus ldflags... -L/usr/local/lib -lmodbus
checking for modbus.h... yes
checking for modbus_new_rtu... yes
checking for modbus_new_tcp... yes
checking for modbus_set_byte_timeout... yes
checking for modbus_set_response_timeout... yes
checking types of arguments for modbus_set_byte_timeout... sec_usec_uint32_cast_timeval_fields
Found types to use for modbus_set_byte_timeout: sec_usec_uint32_cast_timeval_fields
checking for avahi-core version via pkg-config (0.6.30 minimum required)... 0.8 found
checking for avahi-client version via pkg-config (0.6.30 minimum required)... 0.8 found
checking for avahi cflags... -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -pthread
checking for avahi ldflags... -L/usr/local/lib -lavahi-core -lavahi-common -lavahi-client
checking for avahi-common/malloc.h... yes
checking for avahi_free... yes
checking for avahi-client/client.h... yes
checking for avahi_client_new... yes
checking for sys/termios.h... no
checking for termios.h... yes
checking for struct termios and speed_t... ok
checking whether we can build serial drivers... yes
checking whether to build serial drivers... yes 
checking whether to build USB drivers... yes (libusb-1.0)
checking whether to build neon based XML driver... yes 
checking whether to enable Avahi support... yes 
checking whether to build Powerman PDU client driver... yes 
checking whether to build Modbus driver... yes 
checking whether to build IPMI driver... no 
checking whether to build Mac OS X meta-driver... no 
checking whether to build i2c based drivers... no 
checking for OpenSSL version via pkg-config... 3.0.10 found
checking for OpenSSL cflags... 
checking for OpenSSL ldflags... -lssl -lcrypto
checking for openssl/ssl.h... yes
checking for SSL_CTX_new... yes
checking whether to enable SSL support... yes (OpenSSL)
checking for tcpd.h... yes
checking for library containing yp_get_default_domain... none required
checking for library containing request_init... -lwrap
checking whether to enable libwrap (tcp-wrappers) support... yes 
checking for libltdl cflags... -isystem /usr/local/include  -O2 -pipe -I/usr/local/include -L/usr/local/lib -fstack-protector-strong -fno-strict-aliasing -Qunused-arguments -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99
checking for libltdl ldflags... 
checking for ltdl.h... yes
checking for library containing lt_dlinit... -lltdl
checking whether to enable libltdl (Libtool dlopen abstraction) support... yes 
checking for gd version via pkg-config... 2.3.3 found
checking for gd include flags... -I/usr/local/include
checking for gd library flags... -L/usr/local/lib -lgd 
checking for gd.h... yes
checking for gdfontmb.h... yes
checking for library containing gdImagePng... none required
checking whether to build CGI programs... yes 
checking for cppcheck... no
checking if cppcheck version is okay (minimum required 1.0)... no
checking whether to run NIT among default make check target... no
checking for asciidoc... no
checking for a2x... no
checking for dblatex... no
checking for xsltproc... no
checking for xmllint... /usr/local/bin/xmllint
checking for xmllint version... 21004 found
checking for source-highlight... no
checking for aspell... no
checking if asciidoc version can build manpages (minimum required 8.6.3)... no
checking if a2x version can build manpages (minimum required 8.6.3)... no
checking if xsltproc is present (mandatory for man page regeneration)... no
checking if xmllint is present (mandatory for man page regeneration)... yes
checking if we have all the tools mandatory for man page regeneration... no
checking if source-highlight is present (preferable for documentation generation)... no
checking whether to build and install documentation... man=auto 
configure: Got explicit list of document formats to build or not: man=auto; formats not listed will be silently skipped
checking desire and ability to build man documentation... auto
checking if we can build man... no
configure: WARNING: Unable to build man documentation, but can install pre-built distributed copies
configure: Skipping build of man documentation (check for 'skip' results above)
checking whether to build specific documentation format(s)... no 
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... (cached) 524288
checking how to convert amd64-portbld-freebsd15.0 file names to amd64-portbld-freebsd15.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd15.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd15.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd15.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether to build and install the development files... yes 
checking state path... /var/db/nut
checking alt pid path... /var/db/nut
checking driver path... /usr/local/libexec/nut
checking cgi path... /usr/local/www/cgi-bin/nut
checking html path... /usr/local/www/nut
checking pidpath... /var/db/nut
checking network port number... 3493
checking user to run as... nut
checking group membership of user to run as... nut
checking facility for syslog... LOG_DAEMON
checking which driver man pages to install... all available
checking whether to strip debug symbols... no
checking whether to install pkg-config *.pc files... using /usr/local/libdata/pkgconfig
checking whether to install Solaris SMF files... no
checking whether to make Solaris SVR4 packages... no
checking whether to make Solaris IPS packages... no
checking whether to install systemd unit files... no
checking whether to install systemd shutdown files... no
checking whether to install systemd tmpfiles files... no
checking for C++11 support in current compiler... yes, out of the box
checking for have_cppunit... checking for cppunit... no
configure: WARNING: libcppunit not found - those C++ tests will not be built.
no
no
checking for impact from --enable-cppunit option - should we build cppunit tests?... no
checking whether to install Augeas configuration-management lenses... no
checking for augparse... no
checking whether to enable Augeas configuration-management lenses tests... no
checking whether to install hotplug rules... no
checking whether to install udev rules... no
checking whether to install FreeBSD devd.conf file... using /usr/local/etc/devd
checking for valgrind... no
checking whether valgrind is usable on current platform... no
checking whether to use valgrind for memory-leak testing... no
checking whether to build cppunit tests using valgrind support... no
configure: error: Net-SNMP libraries not found, required for SNMP drivers
===>  Script "configure" failed unexpectedly.
Please report the problem to cy@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/sysutils/nut/work/nut-2.8.0/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/nut