[package - 122powerpc64-quarterly][security/pkcs11-tools] Failed for pkcs11-tools-2.3.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 02 Sep 2021 03:10:39 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:     eric.devolder@gmail.com
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/3b76cdf297ea/logs/pkcs11-tools-2.3.0.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=3b76cdf297ea
Log:

=>> Building security/pkcs11-tools
build started at Thu Sep  2 03:05:01 UTC 2021
port directory: /usr/ports/security/pkcs11-tools
package name: pkcs11-tools-2.3.0
building for: FreeBSD 122powerpc64-quarterly-job-13 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: eric.devolder@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
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
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/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---
---End OPTIONS List---

--MAINTAINER--
eric.devolder@gmail.com
--End MAINTAINER--

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

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/pkcs11-tools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pkcs11-tools/work  HOME=/wrkdirs/usr/ports/security/pkcs11-tools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pkcs11-tools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
LIBCRYPTO_RPATH=/usr/lib OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/pkcs11-tools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pkcs11-tools/work  HOME=/wrkdirs/usr/ports/security/pkcs11-tools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/pkcs11-tools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/l
 ib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS=""  LDFLAGS=" /usr/lib/libcrypto.a  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 "  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--
OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pkcs11-tools"  EXAMPLESDIR="share/examples/pkcs11-tools"  DATADIR="share/pkcs11-tools"  WWWDIR="www/pkcs11-tools"  ETCDIR="etc/pkcs11-tools"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pkcs11-tools DOCSDIR=/usr/local/share/doc/pkcs11-tools EXAMPLESDIR=/usr/local/share/examples/pkcs11-tools  WWWDIR=/usr/local/www/pkcs11-tools ETCDIR=/usr/local/etc/pkcs11-tools
--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=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pkcs11-tools-2.3.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-13] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-13] Extracting pkg-1.16.3: .......... done
===>   pkcs11-tools-2.3.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pkcs11-tools-2.3.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by pkcs11-tools-2.3.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by pkcs11-tools-2.3.0 for building
=> SHA256 Checksum OK for Mastercard-pkcs11-tools-v2.3.0_GH0.tar.gz.
=> SHA256 Checksum OK for coreutils-gnulib-5b3a6f94f_GH0.tar.gz.
=> SHA256 Checksum OK for oasis-tcs-pkcs11-df530bf_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by pkcs11-tools-2.3.0 for building
===>  Extracting for pkcs11-tools-2.3.0
=> SHA256 Checksum OK for Mastercard-pkcs11-tools-v2.3.0_GH0.tar.gz.
=> SHA256 Checksum OK for coreutils-gnulib-5b3a6f94f_GH0.tar.gz.
=> SHA256 Checksum OK for oasis-tcs-pkcs11-df530bf_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pkcs11-tools-2.3.0
===>  Applying FreeBSD patches for pkcs11-tools-2.3.0 from /usr/ports/security/pkcs11-tools/files
===========================================================================
=======================<phase: build-depends  >============================
===>   pkcs11-tools-2.3.0 depends on package: autoconf>0 - not found
===>   Installing existing package /packages/All/autoconf-2.69_3.txz
[122powerpc64-quarterly-job-13] Installing autoconf-2.69_3...
[122powerpc64-quarterly-job-13] `-- Installing autoconf-wrapper-20131203...
[122powerpc64-quarterly-job-13] `-- Extracting autoconf-wrapper-20131203: .......... done
[122powerpc64-quarterly-job-13] `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-13] `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-13] `-- Installing m4-1.4.18_1,1...
[122powerpc64-quarterly-job-13] `-- Extracting m4-1.4.18_1,1: .......... done
[122powerpc64-quarterly-job-13] `-- Installing perl5-5.32.1_1...
[122powerpc64-quarterly-job-13] `-- Extracting perl5-5.32.1_1: .......... done
[122powerpc64-quarterly-job-13] Extracting autoconf-2.69_3: .......... done
===>   pkcs11-tools-2.3.0 depends on package: autoconf>0 - found
===>   Returning to build of pkcs11-tools-2.3.0
===>   pkcs11-tools-2.3.0 depends on package: autoconf-archive>0 - not found
===>   Installing existing package /packages/All/autoconf-archive-0.2019.01.06.txz
<snip>
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x19c4): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x19e0): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x19f8): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1b54): undefined reference to `ASN1_OBJECT_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1b7c): undefined reference to `EVP_PKEY_get0_RSA'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1ba4): undefined reference to `RSA_get0_key'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1bb0): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1bd0): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1bf4): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1d68): undefined reference to `EVP_PKEY_get0_DSA'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1d84): undefined reference to `DSA_get0_key'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1d90): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1db0): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1dcc): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1de8): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1e0c): undefined reference to `EVP_PKEY_get0_DSA'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1e2c): undefined reference to `DSA_get0_pqg'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1e38): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1e58): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1e74): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1e94): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1eb4): undefined reference to `EVP_PKEY_get0_DSA'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1ed4): undefined reference to `DSA_get0_pqg'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1ee0): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1f00): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1f1c): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1f3c): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1f5c): undefined reference to `EVP_PKEY_get0_DSA'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1f80): undefined reference to `DSA_get0_pqg'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1f90): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1fb0): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1fcc): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x1fec): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2010): undefined reference to `EVP_PKEY_get0_EC_KEY'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2024): undefined reference to `EC_KEY_get0_public_key'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x203c): undefined reference to `EC_KEY_get0_group'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2064): undefined reference to `EC_POINT_point2oct'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2080): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x20a8): undefined reference to `EC_POINT_point2oct'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x20b8): undefined reference to `ASN1_OCTET_STRING_new'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x20d0): undefined reference to `ASN1_STRING_set'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x20e8): undefined reference to `i2d_ASN1_OCTET_STRING'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2108): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x212c): undefined reference to `i2d_ASN1_OCTET_STRING'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x214c): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x22a8): undefined reference to `EVP_PKEY_get0_EC_KEY'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x22b8): undefined reference to `EC_KEY_get0_group'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x22d4): undefined reference to `i2d_ECPKParameters'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x22f8): undefined reference to `EVP_PKEY_get0_RSA'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x231c): undefined reference to `RSA_get0_key'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x232c): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x234c): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2368): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2388): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x23a8): undefined reference to `EVP_PKEY_get0_DH'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x23cc): undefined reference to `DH_get0_key'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x23d8): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x23f8): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2414): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x24f4): undefined reference to `EVP_PKEY_get0_DH'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2514): undefined reference to `DH_get0_pqg'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2520): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2540): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x255c): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x257c): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x259c): undefined reference to `EVP_PKEY_get0_DH'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x25c0): undefined reference to `DH_get0_pqg'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x25d0): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x25f0): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x260c): undefined reference to `BN_bn2bin'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x262c): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x2950): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x297c): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_pubk.c:(.text+0x29e0): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_openssl.o): in function `pkcs11_openssl_version':
pkcs11_openssl.c:(.text+0x10): undefined reference to `OpenSSL_version'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_openssl.o): in function `pkcs11_openssl_error':
pkcs11_openssl.c:(.text+0x8c): undefined reference to `ERR_get_error_line'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0xd8): undefined reference to `OPENSSL_init_crypto'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0xf4): undefined reference to `ERR_get_error_line'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x118): undefined reference to `ERR_error_string'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_openssl.o): in function `pkcs11_openssl_alloc_and_sha1':
pkcs11_openssl.c:(.text+0x220): undefined reference to `CRYPTO_malloc'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x23c): undefined reference to `EVP_sha1'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x248): undefined reference to `EVP_MD_CTX_new'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x260): undefined reference to `EVP_DigestInit_ex'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x27c): undefined reference to `EVP_DigestUpdate'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x298): undefined reference to `EVP_DigestFinal_ex'
/usr/local/bin/ld: pkcs11_openssl.c:(.text+0x2b0): undefined reference to `EVP_MD_CTX_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_openssl.o): in function `pkcs11_openssl_free':
pkcs11_openssl.c:(.text+0x3d0): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_rsa_meth.o): in function `custom_rsa_sign':
pkcs11_ossl_rsa_meth.c:(.text+0x134): undefined reference to `EVP_PKEY_CTX_ctrl'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x164): undefined reference to `EVP_MD_type'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x24c): undefined reference to `EVP_MD_size'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x2a4): undefined reference to `EVP_PKEY_CTX_get0_pkey'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x2ac): undefined reference to `EVP_PKEY_get0_RSA'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x2b4): undefined reference to `RSA_get0_n'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x2bc): undefined reference to `BN_num_bits'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_rsa_meth.o): in function `pkcs11_rsa_method_setup':
pkcs11_ossl_rsa_meth.c:(.text+0x3d0): undefined reference to `EVP_PKEY_meth_find'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x3e8): undefined reference to `EVP_PKEY_meth_new'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x3fc): undefined reference to `EVP_PKEY_meth_copy'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x414): undefined reference to `EVP_PKEY_meth_get_sign'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x42c): undefined reference to `EVP_PKEY_meth_set_sign'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x438): undefined reference to `EVP_PKEY_meth_add0'
/usr/local/bin/ld: pkcs11_ossl_rsa_meth.c:(.text+0x47c): undefined reference to `ERR_print_errors_fp'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_dsa_meth.o): in function `custom_dsa_sign':
pkcs11_ossl_dsa_meth.c:(.text+0x11c): undefined reference to `CRYPTO_zalloc'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x1a8): undefined reference to `DSA_SIG_new'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x1cc): undefined reference to `BN_bin2bn'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x1ec): undefined reference to `BN_bin2bn'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x214): undefined reference to `DSA_SIG_set0'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x22c): undefined reference to `i2d_DSA_SIG'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x254): undefined reference to `i2d_DSA_SIG'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x270): undefined reference to `DSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x284): undefined reference to `EVP_PKEY_CTX_get0_pkey'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x28c): undefined reference to `EVP_PKEY_get0_DSA'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x294): undefined reference to `DSA_get0_q'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x29c): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x2e4): undefined reference to `DSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x2f0): undefined reference to `BN_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x304): undefined reference to `BN_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x318): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x37c): undefined reference to `DSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x3e4): undefined reference to `DSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x440): undefined reference to `DSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x480): undefined reference to `DSA_SIG_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_dsa_meth.o): in function `pkcs11_dsa_method_setup':
pkcs11_ossl_dsa_meth.c:(.text+0x4ec): undefined reference to `EVP_PKEY_meth_find'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x508): undefined reference to `EVP_PKEY_meth_new'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x51c): undefined reference to `EVP_PKEY_meth_copy'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x530): undefined reference to `EVP_PKEY_meth_get_sign'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x548): undefined reference to `EVP_PKEY_meth_set_sign'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x554): undefined reference to `EVP_PKEY_meth_add0'
/usr/local/bin/ld: pkcs11_ossl_dsa_meth.c:(.text+0x648): undefined reference to `EVP_PKEY_meth_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_ecdsa_meth.o): in function `custom_ecdsa_sign':
pkcs11_ossl_ecdsa_meth.c:(.text+0x11c): undefined reference to `CRYPTO_zalloc'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x1a8): undefined reference to `ECDSA_SIG_new'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x1cc): undefined reference to `BN_bin2bn'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x1ec): undefined reference to `BN_bin2bn'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x214): undefined reference to `ECDSA_SIG_set0'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x22c): undefined reference to `i2d_ECDSA_SIG'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x254): undefined reference to `i2d_ECDSA_SIG'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x270): undefined reference to `ECDSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x284): undefined reference to `EVP_PKEY_CTX_get0_pkey'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x28c): undefined reference to `EVP_PKEY_get0_EC_KEY'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x294): undefined reference to `EC_KEY_get0_group'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x29c): undefined reference to `EC_GROUP_get0_order'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x2a4): undefined reference to `BN_num_bits'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x2f4): undefined reference to `ECDSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x300): undefined reference to `BN_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x314): undefined reference to `BN_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x328): undefined reference to `CRYPTO_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x38c): undefined reference to `ECDSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x3f4): undefined reference to `ECDSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x450): undefined reference to `ECDSA_SIG_free'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x490): undefined reference to `ECDSA_SIG_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_ecdsa_meth.o): in function `pkcs11_ecdsa_method_setup':
pkcs11_ossl_ecdsa_meth.c:(.text+0x4fc): undefined reference to `EVP_PKEY_meth_find'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x518): undefined reference to `EVP_PKEY_meth_new'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x52c): undefined reference to `EVP_PKEY_meth_copy'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x540): undefined reference to `EVP_PKEY_meth_get_sign'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x558): undefined reference to `EVP_PKEY_meth_set_sign'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x564): undefined reference to `EVP_PKEY_meth_add0'
/usr/local/bin/ld: pkcs11_ossl_ecdsa_meth.c:(.text+0x658): undefined reference to `EVP_PKEY_meth_free'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_eddsa_meth.o): in function `custom_ed_digestsign':
pkcs11_ossl_eddsa_meth.c:(.text+0x5c): undefined reference to `EVP_MD_CTX_pkey_ctx'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x64): undefined reference to `EVP_PKEY_CTX_get0_pkey'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x6c): undefined reference to `EVP_PKEY_size'
/usr/local/bin/ld: ../lib/.libs/libp11.a(libp11_la-pkcs11_ossl_eddsa_meth.o): in function `eddsa_method_setup':
pkcs11_ossl_eddsa_meth.c:(.text+0x228): undefined reference to `EVP_PKEY_meth_find'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x240): undefined reference to `EVP_PKEY_meth_new'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x254): undefined reference to `EVP_PKEY_meth_copy'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x264): undefined reference to `EVP_PKEY_meth_get_digestsign'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x274): undefined reference to `EVP_PKEY_meth_set_digestsign'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x280): undefined reference to `EVP_PKEY_meth_add0'
/usr/local/bin/ld: pkcs11_ossl_eddsa_meth.c:(.text+0x308): undefined reference to `EVP_PKEY_meth_free'
--- p11cat ---
collect2: error: ld returned 1 exit status
--- masqreq ---
collect2: error: ld returned 1 exit status
--- p11cat ---
*** [p11cat] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/security/pkcs11-tools/work/pkcs11-tools-2.3.0/src
--- masqreq ---
*** [masqreq] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/security/pkcs11-tools/work/pkcs11-tools-2.3.0/src
2 errors

make[2]: stopped in /wrkdirs/usr/ports/security/pkcs11-tools/work/pkcs11-tools-2.3.0/src
===> 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/security/pkcs11-tools