[package - 124amd64-default][security/sshguard] Failed for sshguard-2.4.3,1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 16 Nov 2023 10:27:59 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:     kevinz5000@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy6/data/124amd64-default/b1d086ef272f/logs/sshguard-2.4.3,1.log
Build URL:      https://pkg-status.freebsd.org/beefy6/build.html?mastername=124amd64-default&build=b1d086ef272f
Log:

=>> Building security/sshguard
build started at Thu Nov 16 10:27:54 UTC 2023
port directory: /usr/ports/security/sshguard
package name: sshguard-2.4.3,1
building for: FreeBSD 124amd64-default-job-06 12.4-RELEASE-p7 FreeBSD 12.4-RELEASE-p7 amd64
maintained by: kevinz5000@gmail.com
Makefile datestamp: -rw-r--r--  1 root  wheel  698 Nov  7 01:03 /usr/ports/security/sshguard/Makefile
Ports top last git commit: b1d086ef272
Ports top unclean checkout: no
Port dir last git commit: efda5c51464
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1251-ge8a0e12e
Host OSVERSION: 1500000
Jail OSVERSION: 1204000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p7
UNAME_r=12.4-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1251-ge8a0e12e
MASTERMNT=/usr/local/poudriere/data/.m/124amd64-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/124amd64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/124amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1251-ge8a0e12e
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--
kevinz5000@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/sshguard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/sshguard/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/sshguard/work/.cache  HOME=/wrkdirs/usr/ports/security/sshguard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/sshguard/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/sshguard/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/security/sshguard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/sshguard/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/sshguard/work/.cache  HOME=/wrkdirs/usr/ports/security/sshguard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/sshguard/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/sshguard/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=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  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"  B
SD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sshguard"  EXAMPLESDIR="share/examples/sshguard"  DATADIR="share/sshguard"  WWWDIR="www/sshguard"  ETCDIR="etc/sshguard"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sshguard DOCSDIR=/usr/local/share/doc/sshguard EXAMPLESDIR=/usr/local/share/examples/sshguard  WWWDIR=/usr/local/www/sshguard ETCDIR=/usr/local/etc/sshguard
--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
####  ####
# 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
DISABLE_MAKE_JOBS=poudriere
---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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   sshguard-2.4.3,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[124amd64-default-job-06] Installing pkg-1.20.8...
[124amd64-default-job-06] Extracting pkg-1.20.8: .......... done
===>   sshguard-2.4.3,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sshguard-2.4.3,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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by sshguard-2.4.3,1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by sshguard-2.4.3,1 for building
=> SHA256 Checksum OK for sshguard-2.4.3.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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by sshguard-2.4.3,1 for building
===>  Extracting for sshguard-2.4.3,1
=> SHA256 Checksum OK for sshguard-2.4.3.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 sshguard-2.4.3,1
===>  Applying FreeBSD patches for sshguard-2.4.3,1 from /usr/ports/security/sshguard/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
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for sshguard-2.4.3,1
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free 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 whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
## -------------- ##
## Program Checks ##
## -------------- ##
checking for ranlib... ranlib
checking for bison... no
checking for byacc... byacc
checking for ar... ar
checking the archiver (ar) interface... ar
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
## ----------------------------------- ##
## Headers, Types, and Compiler Checks ##
## ----------------------------------- ##
checking for getopt.h... (cached) yes
checking for capsicum_helpers.h... yes
checking for libcasper.h... yes
checking for library containing cap_init... -lcasper
checking for library containing cap_getaddrinfo... no
checking for rst2man... no
checking for rst2man.py... no
configure: WARNING: rst2man not found; using pre-built man pages
## ----------------- ##
## Library Functions ##
## ----------------- ##
checking for library containing gethostbyname... none required
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/blocker/Makefile
config.status: creating src/fw/Makefile
config.status: creating src/parser/Makefile
config.status: creating src/common/config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for sshguard-2.4.3,1
Making all in src
Making all in blocker
cc -DHAVE_CONFIG_H -I. -I../../src/common    -I../../src/common -DSIMCLIST_NO_DUMPRESTORE -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT sandbox.o -MD -MP -MF .deps/sandbox.Tpo -c -o sandbox.o `test -f '../common/sandbox.c' || echo './'`../common/sandbox.c
In file included from ../common/sandbox.c:2:
../../src/common/sandbox.h:9:10: fatal error: 'casper/cap_net.h' file not found
#include <casper/cap_net.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/security/sshguard/work/sshguard-2.4.3/src/blocker
*** Error code 1
*** Error code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/security/sshguard