[package - main-amd64-default][security/yafic] Failed for yafic-1.2.2_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 26 Mar 2026 10:33:40 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:     allan@saddi.com
Log URL:        https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/p74997bb77e7c_scb692380f1/logs/yafic-1.2.2_4.log
Build URL:      https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=p74997bb77e7c_scb692380f1
Log:

=>> Building security/yafic
build started at Thu Mar 26 10:33:26 UTC 2026
port directory: /usr/ports/security/yafic
package name: yafic-1.2.2_4
building for: FreeBSD main-amd64-default-job-27 16.0-CURRENT FreeBSD 16.0-CURRENT 1600014 amd64
maintained by: allan@saddi.com
Makefile datestamp: -rw-r--r--  1 root wheel 1373 Sep 30 01:01 /usr/ports/security/yafic/Makefile
Ports top last git commit: 74997bb77e7c4924c390d884b82772956195d4c4
Ports top unclean checkout: no
Port dir last git commit: b64b73fd938d5b2788547d16ed6a76493acc9142
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.6-4-g83739588
Host OSVERSION: 1600014
Jail OSVERSION: 1600014
Job Id: 27

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600014
UNAME_v=FreeBSD 16.0-CURRENT 1600014
UNAME_r=16.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.6-4-g83739588
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/27/.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.6-4-g83739588
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 yafic-1.2.2_4:
     CRYPTO=on: Cryptographic support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
allan@saddi.com
--End MAINTAINER--

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

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/yafic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/yafic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/yafic/work/.cache  HOME=/wrkdirs/usr/ports/security/yafic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/yafic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/yafic/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/security/yafic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/yafic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/yafic/work/.cache  HOME=/wrkdirs/usr/ports/security/yafic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/yafic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/yafic/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  -I/usr/include -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -static -L/usr/lib  " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_L
IB="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--
 CRYPTO="" NO_CRYPTO="@comment " OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/yafic"  EXAMPLESDIR="share/examples/yafic"  DATADIR="share/yafic"  WWWDIR="www/yafic"  ETCDIR="etc/yafic"
--End PLIST_SUB--

--SUB_LIST--
 CRYPTO="" NO_CRYPTO="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/yafic DOCSDIR=/usr/local/share/doc/yafic EXAMPLESDIR=/usr/local/share/examples/yafic  WWWDIR=/usr/local/www/yafic ETCDIR=/usr/local/etc/yafic
--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
---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
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   yafic-1.2.2_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.6.2_1.pkg
[main-amd64-default-job-27] Installing pkg-2.6.2_1...
[main-amd64-default-job-27] Extracting pkg-2.6.2_1: .......... done
===>   yafic-1.2.2_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of yafic-1.2.2_4
===========================================================================
=======================<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
===> Fetching all distfiles required by yafic-1.2.2_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: FETCH_REGET=0 NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by yafic-1.2.2_4 for building
=> SHA256 Checksum OK for yafic-1.2.2.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
===> Fetching all distfiles required by yafic-1.2.2_4 for building
===>  Extracting for yafic-1.2.2_4
=> SHA256 Checksum OK for yafic-1.2.2.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 yafic-1.2.2_4
===>  Applying FreeBSD patches for yafic-1.2.2_4 from /usr/ports/security/yafic/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   yafic-1.2.2_4 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[main-amd64-default-job-27] Installing gmake-4.4.1...
[main-amd64-default-job-27] `-- Installing gettext-runtime-0.26...
[main-amd64-default-job-27] |   `-- Installing indexinfo-0.3.1_1...
[main-amd64-default-job-27] |   `-- Extracting indexinfo-0.3.1_1: .... done
[main-amd64-default-job-27] `-- Extracting gettext-runtime-0.26: .......... done
[main-amd64-default-job-27] Extracting gmake-4.4.1: .......... done
===>   yafic-1.2.2_4 depends on package: gmake>=4.4.1 - found
===>   Returning to build of yafic-1.2.2_4
===========================================================================
=======================<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 yafic-1.2.2_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 /usr/local/bin/gmake sets $(MAKE)... yes
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
<snip>
checking for uint64_t... yes
checking size of struct stat's st_mode... 2
checking size of struct stat's st_ino... 8
checking size of struct stat's st_nlink... 8
checking size of struct stat's st_uid... 4
checking size of struct stat's st_gid... 4
checking size of struct stat's st_size... 8
checking size of struct stat's st_atime... 8
checking size of struct stat's st_mtime... 8
checking size of struct stat's st_ctime... 8
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for dirname... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for EVP_MD_CTX_init... no
checking for EVP_MD_CTX_cleanup... no
checking whether EVP_DigestInit returns void... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating yafic-db.h
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for yafic-1.2.2_4
/usr/local/bin/gmake  all-am
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/yafic/work/yafic-1.2.2'
source='yafic.c' object='yafic.o' libtool=no \
depfile='.deps/yafic.Po' tmpdepfile='.deps/yafic.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'yafic.c' || echo './'`yafic.c
source='common.c' object='common.o' libtool=no \
depfile='.deps/common.Po' tmpdepfile='.deps/common.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'common.c' || echo './'`common.c
source='ruleset.c' object='ruleset.o' libtool=no \
depfile='.deps/ruleset.Po' tmpdepfile='.deps/ruleset.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'ruleset.c' || echo './'`ruleset.c
common.c:53:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   53 | static const char rcsid[] =
      |                   ^~~~~
yafic.c:163:32: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  163 |     if ((len = readlink (path, HashBuffer, HASH_BUFFER_SIZE)) != -1) {
      |                                ^~~~~~~~~~
/usr/include/unistd.h:413:61: note: passing argument to parameter here
  413 | ssize_t  readlink(const char * __restrict, char * __restrict, size_t);
      |                                                             ^
ruleset.c:79:18: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   79 |   const uint8_t *s = str;
      |                  ^   ~~~
1 warning generated.
yafic.c:82:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   82 | static const char rcsid[] =
      |                   ^~~~~
ruleset.c:55:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   55 | static const char rcsid[] =
      |                   ^~~~~
source='view.c' object='view.o' libtool=no \
depfile='.deps/view.Po' tmpdepfile='.deps/view.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'view.c' || echo './'`view.c
view.c:49:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   49 | static const char rcsid[] =
      |                   ^~~~~
1 warning generated.
source='statpack.c' object='statpack.o' libtool=no \
depfile='.deps/statpack.Po' tmpdepfile='.deps/statpack.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'statpack.c' || echo './'`statpack.c
statpack.c:51:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   51 | static const char rcsid[] =
      |                   ^~~~~
1 warning generated.
source='crypto.c' object='crypto.o' libtool=no \
depfile='.deps/crypto.Po' tmpdepfile='.deps/crypto.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'crypto.c' || echo './'`crypto.c
2 warnings generated.
source='sha1.c' object='sha1.o' libtool=no \
depfile='.deps/sha1.Po' tmpdepfile='.deps/sha1.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'sha1.c' || echo './'`sha1.c
2 warnings generated.
source='yafic-sign.c' object='yafic-sign.o' libtool=no \
depfile='.deps/yafic-sign.Po' tmpdepfile='.deps/yafic-sign.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing  -c `test -f 'yafic-sign.c' || echo './'`yafic-sign.c
sha1.c:57:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   57 | static const char rcsid[] =
      |                   ^~~~~
crypto.c:53:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   53 | static const char rcsid[] =
      |                   ^~~~~
yafic-sign.c:45:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
   45 | static const char rcsid[] =
      |                   ^~~~~
1 warning generated.
1 warning generated.
cc -Wall -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing   -static -L/usr/lib   -o yafic-sign  yafic-sign.o common.o crypto.o  
ld: error: undefined symbol: PEM_read_PUBKEY
>>> referenced by crypto.c
>>>               crypto.o:(LoadKey)

ld: error: undefined symbol: PEM_read_PrivateKey
>>> referenced by crypto.c
>>>               crypto.o:(LoadKey)

ld: error: undefined symbol: ERR_get_error
>>> referenced by crypto.c
>>>               crypto.o:(LoadKey)
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced 2 more times

ld: error: undefined symbol: ERR_reason_error_string
>>> referenced by crypto.c
>>>               crypto.o:(LoadKey)
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced 2 more times

ld: error: undefined symbol: EVP_sha1
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_MD_CTX_new
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_DigestInit
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_DigestUpdate
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_PKEY_get_size
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_SignFinal
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)

ld: error: undefined symbol: EVP_MD_CTX_free
>>> referenced by crypto.c
>>>               crypto.o:(SignFile)
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_VerifyFinal
>>> referenced by crypto.c
>>>               crypto.o:(VerifyFile)

ld: error: undefined symbol: EVP_PKEY_get_bits
>>> referenced by crypto.c
>>>               crypto.o:(KeyTypeStr)

ld: error: undefined symbol: EVP_PKEY_get_base_id
>>> referenced by crypto.c
>>>               crypto.o:(KeyTypeStr)

ld: error: undefined symbol: OPENSSL_init_crypto
>>> referenced by crypto.c
>>>               crypto.o:(InitCrypto)
>>> referenced by crypto.c
>>>               crypto.o:(InitCrypto)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:218: yafic-sign] Error 1
gmake[1]: *** Waiting for unfinished jobs....
1 warning generated.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/yafic/work/yafic-1.2.2'
gmake: *** [Makefile:150: all] Error 2
===> 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 making "build" in /usr/ports/security/yafic