[package - main-amd64-default][net-mgmt/snmp4nagios] Failed for SNMP4Nagios-0.4_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 05 Sep 2023 23:18:12 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:     zi@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p7dfcd9429217_sb451dcc84f/logs/SNMP4Nagios-0.4_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p7dfcd9429217_sb451dcc84f
Log:

=>> Building net-mgmt/snmp4nagios
build started at Tue Sep  5 23:18:02 UTC 2023
port directory: /usr/ports/net-mgmt/snmp4nagios
package name: SNMP4Nagios-0.4_4
building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500000 amd64
maintained by: zi@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500000
Job Id: 06

---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 SNMP4Nagios-0.4_4:
     RRDTOOL=off: Build with rrdtool support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
zi@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--sbindir=/usr/local/www/nagios/cgi-bin  --bindir=/usr/local/libexec/nagios  --libexecdir=/usr/local/libexec/nagios  --datadir=/usr/local/share  --sysconfdir=/usr/local/etc/nagios  --localstatedir=/var/spool/nagios  --with-rrddir=/var/spool/nagios/snmp4nagios/rrd  --with-pngdir=/var/spool/nagios/snmp4nagios/png  --prefix=/usr/local --with-rrd=no --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/snmp4nagios/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-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  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--
RRD="@comment " OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/SNMP4Nagios"  EXAMPLESDIR="share/examples/SNMP4Nagios"  DATADIR="share/SNMP4Nagios"  WWWDIR="www/SNMP4Nagios"  ETCDIR="etc/SNMP4Nagios"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/SNMP4Nagios DOCSDIR=/usr/local/share/doc/SNMP4Nagios EXAMPLESDIR=/usr/local/share/examples/SNMP4Nagios  WWWDIR=/usr/local/www/SNMP4Nagios ETCDIR=/usr/local/etc/SNMP4Nagios
--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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   SNMP4Nagios-0.4_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[main-amd64-default-job-06] Installing pkg-1.20.6...
[main-amd64-default-job-06] Extracting pkg-1.20.6: .......... done
===>   SNMP4Nagios-0.4_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of SNMP4Nagios-0.4_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by SNMP4Nagios-0.4_4 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by SNMP4Nagios-0.4_4 for building
=> SHA256 Checksum OK for SNMP4Nagios-0.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by SNMP4Nagios-0.4_4 for building
===>  Extracting for SNMP4Nagios-0.4_4
=> SHA256 Checksum OK for SNMP4Nagios-0.4.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for SNMP4Nagios-0.4_4
===========================================================================
=======================<phase: build-depends  >============================
===>   SNMP4Nagios-0.4_4 depends on executable: snmpcheck - not found
===>   Installing existing package /packages/All/net-snmp-5.9.1_3,1.pkg
[main-amd64-default-job-06] Installing net-snmp-5.9.1_3,1...
[main-amd64-default-job-06] `-- Installing perl5-5.34.1_3...
[main-amd64-default-job-06] `-- Extracting perl5-5.34.1_3: .......... done
[main-amd64-default-job-06] Extracting net-snmp-5.9.1_3,1: .......... done
=====
Message from net-snmp-5.9.1_3,1:

--
**** This port installs snmpd, header files and libraries but does not
     start snmpd by default.
     If you want to auto-start snmpd and snmptrapd:, add the following to
     /etc/rc.conf:

	snmpd_enable="YES"
	snmpd_flags="-a"
	snmpd_conffile="/usr/local/share/snmp/snmpd.conf /etc/snmpd.conf"
	snmptrapd_enable="YES"
	snmptrapd_flags="-a -p /var/run/snmptrapd.pid"

**** You may also specify the following make variables:

	NET_SNMP_SYS_CONTACT="zi@FreeBSD.org"
	NET_SNMP_SYS_LOCATION="USA"
	DEFAULT_SNMP_VERSION=3
	NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio"
	NET_SNMP_LOGFILE=/var/log/snmpd.log
	NET_SNMP_PERSISTENTDIR=/var/net-snmp

     to define default values (or to override the defaults).  To avoid being
     prompted during the configuration process, you should (minimally) define
     the first two variables. (NET_SNMP_SYS_*)

     You may also define the following to avoid all interactive configuration:

	BATCH="yes"
===>   SNMP4Nagios-0.4_4 depends on executable: snmpcheck - found
===>   Returning to build of SNMP4Nagios-0.4_4
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for SNMP4Nagios-0.4_4
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 gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
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 for dirent.h... (cached) yes
checking for errno.h... (cached) yes
checking for pwd.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for asprintf... (cached) yes
checking for Net-SNMP... yes
checking for snmp_sess_init... yes
checking for librrd... checking for default rrd directory... /var/spool/nagios/snmp4nagios/rrd
checking for default png directory... /var/spool/nagios/snmp4nagios/png
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for SNMP4Nagios-0.4_4
--- all ---
/usr/bin/make  all-am
--- check_brocade_overall.o ---
--- decoders.o ---
--- check_brocade_overall.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd15 -Dfreebsd15=freebsd15 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.34/mach/CORE -I/usr/include -I. -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT check_brocade_overall.o -MD -MP -MF ".deps/check_brocade_overall.Tpo" -c -o check_brocade_overall.o check_brocade_overall.c;  then mv -f ".deps/check_brocade_overall.Tpo" ".deps/check_brocade_overall.Po"; else rm -f ".deps/check_brocade_overall.Tpo"; exit 1; fi
--- decoders.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing -std=c99 -Ufreebsd15 -Dfreebsd15=freebsd15 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -I/usr/local/lib/perl5/5.34/mach/CORE -I/usr/include -I. -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT decoders.o -MD -MP -MF ".deps/decoders.Tpo" -c -o decoders.o decoders.c;  then mv -f ".deps/decoders.Tpo" ".deps/decoders.Po"; else rm -f ".deps/decoders.Tpo"; exit 1; fi
--- check_brocade_overall.o ---
In file included from check_brocade_overall.c:29:
In file included from ./globals.h:34:
/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"
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- decoders.o ---
In file included from decoders.c:30:
In file included from ./globals.h:34:
/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.
--- check_brocade_overall.o ---
1 error generated.
--- decoders.o ---
*** [decoders.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4
--- check_brocade_overall.o ---
*** [check_brocade_overall.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4
2 errors

make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4
*** [all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4
1 error

make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4
===> 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/snmp4nagios