[package - main-amd64-default][net-mgmt/zabbix74-agent] Failed for zabbix74-agent-7.4.1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 04 Sep 2025 13:12:35 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:     otis@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p9652f95ce8e4_sb45a181a74c/logs/zabbix74-agent-7.4.1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p9652f95ce8e4_sb45a181a74c
Log:

=>> Building net-mgmt/zabbix74-agent
build started at Thu Sep  4 13:08:24 UTC 2025
port directory: /usr/ports/net-mgmt/zabbix74-agent
package name: zabbix74-agent-7.4.1
building for: FreeBSD main-amd64-default-job-06 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE 1500063 amd64
maintained by: otis@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 256 Jul 10 01:01 /usr/ports/net-mgmt/zabbix74-agent/Makefile
Ports top last git commit: 9652f95ce8e
Ports top unclean checkout: no
Port dir last git commit: a669ab74cdd
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500061
Jail OSVERSION: 1500063
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500063
UNAME_v=FreeBSD 15.0-PRERELEASE 1500063
UNAME_r=15.0-PRERELEASE
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.3
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-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-amd64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
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---
===> The following configuration options are available for zabbix74-agent-7.4.1:
     CURL=on: Support for web monitoring
     IPV6=on: IPv6 protocol support
     MODBUS=off: Support for Modbus checks
====> SSL protocol support: you have to select exactly one of them
     GNUTLS=off: SSL/TLS support via GnuTLS
     OPENSSL=on: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
otis@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--datadir=/usr/local/etc/zabbix74  --enable-agent  --sysconfdir=/usr/local/etc/zabbix74  --with-iconv=/usr --with-libcurl --without-gnutls --enable-ipv6 --without-libmodbus --with-openssl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/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  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS="  " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -DLIB
ICONV_PLUG " 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--
PROXY="@comment " SERVER="@comment " DISTVERSION=7.4.1  ZABBIX_BUILD=agent OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/zabbix74"  EXAMPLESDIR="share/examples/zabbix74"  DATADIR="share/zabbix74"  WWWDIR="www/zabbix74"  ETCDIR="etc/zabbix74"
--End PLIST_SUB--

--SUB_LIST--
ZABBIX_BUILD=agent PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/zabbix74 DOCSDIR=/usr/local/share/doc/zabbix74 EXAMPLESDIR=/usr/local/share/examples/zabbix74  WWWDIR=/usr/local/www/zabbix74 ETCDIR=/usr/local/etc/zabbix74
--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
####  ####
# 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)  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)  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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   zabbix74-agent-7.4.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.2.pkg
[main-amd64-default-job-06] Installing pkg-2.2.2...
[main-amd64-default-job-06] Extracting pkg-2.2.2: .......... done
===>   zabbix74-agent-7.4.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of zabbix74-agent-7.4.1
===========================================================================
=======================<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 AGPLv3 accepted by the user
===> Fetching all distfiles required by zabbix74-agent-7.4.1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by zabbix74-agent-7.4.1 for building
=> SHA256 Checksum OK for zabbix-7.4.1.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 AGPLv3 accepted by the user
===> Fetching all distfiles required by zabbix74-agent-7.4.1 for building
===>  Extracting for zabbix74-agent-7.4.1
=> SHA256 Checksum OK for zabbix-7.4.1.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 zabbix74-agent-7.4.1
===>  Applying FreeBSD patches for zabbix74-agent-7.4.1 from /usr/ports/net-mgmt/zabbix74-agent/../zabbix74-server/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
checking for arpa/nameser.h... (cached) yes
checking for kvm.h... yes
checking for sys/pstat.h... no
checking for linux/version.h... no
checking for mach/host_info.h... no
checking for mach/mach_host.h... no
checking for vm/vm_param.h... yes
checking for nlist.h... yes
checking for kstat.h... no
checking for sys/dk.h... no
checking for sys/loadavg.h... no
checking for sys/mnttab.h... no
checking for sys/sysmacros.h... (cached) no
checking for zone.h... no
checking for Winber.h... no
checking for Winldap.h... no
checking for conio.h... no
checking for pdh.h... no
checking for psapi.h... no
checking for windows.h... no
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for lber.h... no
checking for resolv.h... (cached) yes
checking for net/if.h... (cached) yes
checking for net/if_mib.h... yes
checking for sys/mount.h... (cached) yes
checking for sys/proc.h... yes
checking for sys/sysctl.h... (cached) yes
checking for sys/user.h... yes
checking for sys/swap.h... no
checking for sys/ucontext.h... yes
checking for devstat.h... yes
checking for linux/netlink.h... no
checking for libperfstat.h... no
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for int8_t... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking how to run the C preprocessor... cpp
checking for uid_t in sys/types.h... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for library containing socket... none required
checking for library containing kstat_open... no
checking for library containing inet_ntoa... none required
checking for library containing clock_gettime... none required
checking for library containing dlopen... none required
checking for library containing perfstat_memory_total... no
checking for library containing devstat_getdevs... -ldevstat
checking for library containing getdevs... no
checking for library containing backtrace_symbols... -lexecinfo
checking for library containing jail_getname... -ljail
checking for main in -lm... yes
checking for main in -lkvm... yes
checking for main in -lpthread... yes
checking for DNS lookup functions... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for socklen_t... yes
checking for actual socklen_t parameter type in socket functions... socklen_t
checking for integer field name in union sigval of struct siginfo_t... sival_int
checking for res_ninit... yes
checking for res_ndestroy... yes
checking for _res._u._ext.nsaddrs... no
checking for _res._u._ext.ext... yes
checking for _res._ext.ext.nsaddrs... no
checking for struct sockaddr_in6.sin6_len... yes
checking for union semun... no
checking for struct swaptable in sys/swap.h... no
checking for struct sensordev in sys/sensors.h... no
checking for struct statvfs64 in sys/statvfs.h... no
checking for struct statfs64 in sys/statfs.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking for field mem_unit in struct sysinfo... no
checking for field freeswap in struct sysinfo... no
checking for field totalswap in struct sysinfo... no
checking for field totalram in struct sysinfo... no
checking for field sharedram in struct sysinfo... no
checking for field bufferram in struct sysinfo... no
checking for field freeram in struct sysinfo... no
checking for field uptime in struct sysinfo... no
checking for field procs in struct sysinfo... no
checking for field tm_gmtoff in struct tm... yes
checking for linker options --start-group/--end-group... yes
checking for field updates in struct vminfo_t... no
checking for function sysconf() in unistd.h... no
checking for function initgroups()... yes
checking for functions seteuid() and setegid()... yes
checking for function setproctitle()... yes
checking for function sysctlbyname()... yes
checking for function sysctl (KERN_BOOTTIME)... yes
checking for function sysctl (HW_NCPU)... yes
checking for function sysctl (KERN_MAXFILES)... yes
checking for function sysctl (KERN_MAXPROC)... yes
checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no
checking for function clock_gettime in time.h... yes
checking for function getrlimit in resource.h... yes
checking for macro __va_copy() in stdarg.h... yes
checking for macro __VA_ARGS__... yes
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for alarm... (cached) yes
checking for getpagesize... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for library containing getmntent... no
checking whether lstat correctly handles trailing slash... (cached) yes
checking for working mktime... yes
checking for working mmap... (cached) yes
checking for working strtod... (cached) yes
checking for alarm... (cached) yes
checking for atexit... (cached) yes
checking for clock_gettime... (cached) yes
checking for dup2... (cached) yes
checking for fesetround... yes
checking for floor... yes
checking for getcwd... (cached) yes
checking for getenv... (cached) yes
checking for gethostname... (cached) yes
checking for getmntent... (cached) no
checking for getmntinfo... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... (cached) yes
checking for hstrerror... yes
checking for inet_ntoa... (cached) yes
checking for localtime_r... yes
checking for malloc_trim... no
checking for memchr... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for mkdir... yes
checking for modf... yes
checking for munmap... (cached) yes
checking for pow... yes
checking for pstat_getdynamic... (cached) no
checking for realpath... (cached) yes
checking for round... yes
checking for select... (cached) yes
checking for setenv... (cached) yes
checking for sigqueue... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strcspn... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strpbrk... (cached) yes
checking for strrchr... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for sysinfo... no
checking for tzset... yes
checking for uname... (cached) yes
checking for unsetenv... (cached) yes
checking for /proc filesystem... yes
checking for file /proc/stat... no
checking for file /proc/cpuinfo... no
checking for file /proc/0/psinfo... no
checking for file /proc/loadavg... no
checking for file /proc/net/dev... no
checking for long long format... yes
checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... freebsd (freebsd15.0)
checking size of void *... 8
checking size of size_t... 8
checking for OpenSSL support... yes
checking if OpenSSL supports PSK... yes
checking for gawk... (cached) /usr/bin/awk
checking for curl-config... /usr/local/bin/curl-config
checking for the version of libcurl... 8.15.0
checking for libcurl >= version 7.19.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... yes
checking pkg-config is at least version 0.9.0... yes
configure: error: cannot find pkg-config package for libpcre2
===>  Script "configure" failed unexpectedly.
Please report the problem to otis@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/net-mgmt/zabbix74-agent/work/zabbix-7.4.1/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 making "configure" in /usr/ports/net-mgmt/zabbix74-agent