[package - main-amd64-default][security/openvpn-mbedtls] Failed for openvpn-mbedtls-2.5.4_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 29 Nov 2021 09:05:19 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:     mandree@FreeBSD.org
Log URL:        http://beefy18.nyi.freebsd.org/data/main-amd64-default/pd99f40d544e4_sc3134a6af0/logs/openvpn-mbedtls-2.5.4_1.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=pd99f40d544e4_sc3134a6af0
Log:

=>> Building security/openvpn-mbedtls
build started at Mon Nov 29 09:03:46 UTC 2021
port directory: /usr/ports/security/openvpn-mbedtls
package name: openvpn-mbedtls-2.5.4_1
building for: FreeBSD main-amd64-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400043 amd64
maintained by: mandree@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400042
Jail OSVERSION: 1400043
Job Id: 01




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400043
UNAME_v=FreeBSD 14.0-CURRENT 1400043
UNAME_r=14.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-21-g883afb07
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 openvpn-mbedtls-2.5.4_1:
     ASYNC_PUSH=off: Enable async-push support
     DOCS=on: Build and/or install documentation
     EASYRSA=on: Install security/easy-rsa RSA helper package
     EXAMPLES=on: Build and/or install examples
     LZ4=on: LZ4 compression support
     LZO=on: LZO compression support
     SMALL=off: Build a smaller executable with fewer features
     TEST=on: Build and/or run tests
     TUNNELBLICK=off: Tunnelblick XOR scramble patch (READ HELP!)
     UNITTESTS=off: Enable unit tests
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
mandree@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-strict --disable-async-push --enable-lz4 --enable-lzo --with-crypto-library=mbedtls --disable-pkcs11 --disable-small --disable-unit-tests --disable-x509-alt-username --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PLUGINDIR="/usr/local/lib/openvpn/plugins" PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work/.cache  HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/openvpn-mbedtls/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 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/openvpn-mbedtls/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work/.cache  HOME=/wrkdirs/usr/ports/security/openvpn-mbedtls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/openvpn-mbedtls/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="inst
 all  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openvpn DOCSDIR=/usr/local/share/doc/openvpn EXAMPLESDIR=/usr/local/share/examples/openvpn  WWWDIR=/usr/local/www/openvpn ETCDIR=/usr/local/etc/openvpn
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400043
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   openvpn-mbedtls-2.5.4_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-amd64-default-job-01] Installing pkg-1.17.5...
[main-amd64-default-job-01] Extracting pkg-1.17.5: .......... done
===>   openvpn-mbedtls-2.5.4_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of openvpn-mbedtls-2.5.4_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openvpn-mbedtls-2.5.4_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openvpn-mbedtls-2.5.4_1 for building
=> SHA256 Checksum OK for openvpn-2.5.4.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openvpn-mbedtls-2.5.4_1 for building
===>  Extracting for openvpn-mbedtls-2.5.4_1
=> SHA256 Checksum OK for openvpn-2.5.4.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
1 warning generated.
mv -f .deps/tun.Tpo .deps/tun.Po
--- vlan.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include  -I../../src/compat  -isystem /usr/local/include     -I/usr/local/include     -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\"  -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -MT vlan.o -MD -MP -MF .deps/vlan.Tpo -c -o vlan.o vlan.c
In file included from vlan.c:33:
./multi.h:402:52: warning: comparison of integers of different signs: 'unsigned int' and 'const int' [-Wsign-compare]
        return mbuf_len(mi->tcp_link_out_deferred) <= m->tcp_queue_limit;
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~
vlan.c:91:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    if (BLEN(buf) < sizeof(*ethhdr))
        ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
vlan.c:117:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    if (BLEN(buf) < sizeof(*vlanhdr))
        ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
vlan.c:193:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    if (BLEN(buf) < sizeof(*ethhdr))
        ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
vlan.c:206:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
        if (BLEN(buf) < sizeof(*vlanhdr))
            ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
vlan.c:225:39: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
        if (buf_reverse_capacity(buf) < SIZE_ETH_TO_8021Q_HDR)
            ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
vlan.c:273:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
    if (BLEN(buf) < sizeof(struct openvpn_8021qhdr))
        ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- tls_crypt.o ---
5 warnings generated.
mv -f .deps/tls_crypt.Tpo .deps/tls_crypt.Po
--- win32.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include  -I../../src/compat  -isystem /usr/local/include     -I/usr/local/include     -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\"  -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -MT win32.o -MD -MP -MF .deps/win32.Tpo -c -o win32.o win32.c
--- vlan.o ---
7 warnings generated.
mv -f .deps/vlan.Tpo .deps/vlan.Po
--- cryptoapi.o ---
cc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include  -I../../src/compat  -isystem /usr/local/include     -I/usr/local/include     -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\"  -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -MT cryptoapi.o -MD -MP -MF .deps/cryptoapi.Tpo -c -o cryptoapi.o cryptoapi.c
--- win32.o ---
mv -f .deps/win32.Tpo .deps/win32.Po
--- cryptoapi.o ---
mv -f .deps/cryptoapi.Tpo .deps/cryptoapi.Po
--- openvpn ---
/bin/sh ../../libtool  --tag=CC    --mode=link cc     -I/usr/local/include     -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\"  -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized   -fstack-protector-strong -L/usr/local/lib -o openvpn argv.o auth_token.o  base64.o buffer.o clinat.o  comp.o compstub.o comp-lz4.o  crypto.o crypto_openssl.o  crypto_mbedtls.o dhcp.o env_set.o  error.o event.o fdmisc.o  forward.o fragment.o gremlin.o  helper.o httpdigest.o lladdr.o  init.o interval.o list.o lzo.o  manage.o mbuf.o misc.o  platform.o console.o console_builtin.o  console_systemd.o mroute.o mss.o  mstats.o mtcp.o mtu.o mudp.o  multi.o networking_iproute2.o  networking_sitnl.o ntlm.o occ.o  pkcs11.o pkcs11_openssl.o  pkcs11_mbedtls.o openvpn.o options.o  otime.o packet_id.o perf.o  pf.o ping.o plugin.o pool.o  proto.o proxy.o ps.o push.o  reliable.o route.o run_command.
 o  schedule.o session_id.o shaper.o  sig.o socket.o socks.o ssl.o  ssl_openssl.o ssl_mbedtls.o ssl_ncp.o  ssl_verify.o ssl_verify_openssl.o  ssl_verify_mbedtls.o status.o  tls_crypt.o tun.o vlan.o  win32.o cryptoapi.o  ../../src/compat/libcompat.la   -llzo2 -L/usr/local/lib -llz4   -lmbedtls -lmbedx509 -lmbedcrypto     -ldl   
libtool: link: cc -I/usr/local/include -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fstack-protector-strong -o openvpn argv.o auth_token.o base64.o buffer.o clinat.o comp.o compstub.o comp-lz4.o crypto.o crypto_openssl.o crypto_mbedtls.o dhcp.o env_set.o error.o event.o fdmisc.o forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o interval.o list.o lzo.o manage.o mbuf.o misc.o platform.o console.o console_builtin.o console_systemd.o mroute.o mss.o mstats.o mtcp.o mtu.o mudp.o multi.o networking_iproute2.o networking_sitnl.o ntlm.o occ.o pkcs11.o pkcs11_openssl.o pkcs11_mbedtls.o openvpn.o options.o otime.o packet_id.o perf.o pf.o ping.o plugin.o pool.o proto.o proxy.o ps.o push.o reliable.o route.o run_command.o schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o ssl_openssl.o ssl_
 mbedtls.o ssl_ncp.o ssl_verify.o ssl_verify_openssl.o ssl_verify_mbedtls.o status.o tls_crypt.o tun.o vlan.o win32.o cryptoapi.o  -L/usr/local/lib ../../src/compat/.libs/libcompat.a -llzo2 -llz4 -lmbedtls -lmbedx509 -lmbedcrypto -ldl
Making check in openvpnmsica
Making check in openvpnserv
Making check in plugins
--- check-recursive ---
Making check in auth-pam
--- utils.lo ---
--- auth-pam.lo ---
--- utils.lo ---
/bin/sh ../../../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../../.. -I../../../include   -isystem /usr/local/include  -I../../../include     -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c -o utils.lo utils.c
--- auth-pam.lo ---
/bin/sh ../../../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../../.. -I../../../include   -isystem /usr/local/include  -I../../../include     -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT auth-pam.lo -MD -MP -MF .deps/auth-pam.Tpo -c -o auth-pam.lo auth-pam.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT auth-pam.lo -MD -MP -MF .deps/auth-pam.Tpo -c auth-pam.c  -fPIC -DPIC -o .libs/auth-pam.o
--- utils.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fPIC -DPIC -o .libs/utils.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c -o utils.o >/dev/null 2>&1
mv -f .deps/utils.Tpo .deps/utils.Plo
--- pamdl.lo ---
/bin/sh ../../../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../../.. -I../../../include   -isystem /usr/local/include  -I../../../include     -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT pamdl.lo -MD -MP -MF .deps/pamdl.Tpo -c -o pamdl.lo pamdl.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT pamdl.lo -MD -MP -MF .deps/pamdl.Tpo -c pamdl.c  -fPIC -DPIC -o .libs/pamdl.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT pamdl.lo -MD -MP -MF .deps/pamdl.Tpo -c pamdl.c -o pamdl.o >/dev/null 2>&1
mv -f .deps/pamdl.Tpo .deps/pamdl.Plo
--- auth-pam.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT auth-pam.lo -MD -MP -MF .deps/auth-pam.Tpo -c auth-pam.c -o auth-pam.o >/dev/null 2>&1
mv -f .deps/auth-pam.Tpo .deps/auth-pam.Plo
--- openvpn-plugin-auth-pam.la ---
/bin/sh ../../../libtool  --tag=CC    --mode=link cc  -I../../../include     -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -fPIC   -export-symbols "./auth-pam.exports"  -module -shared -avoid-version -no-undefined  -fstack-protector-strong -L/usr/local/lib -o openvpn-plugin-auth-pam.la -rpath /usr/local/lib/openvpn/plugins utils.lo auth-pam.lo pamdl.lo -lpam 
libtool: link: echo "{ global:" > .libs/openvpn-plugin-auth-pam.so-ver
libtool: link: 		 sed -e "s|$|;|" < ./auth-pam.exports >> .libs/openvpn-plugin-auth-pam.so-ver
libtool: link: 	 echo "local: *; };" >> .libs/openvpn-plugin-auth-pam.so-ver
libtool: link: cc -shared  -fPIC -DPIC  .libs/utils.o .libs/auth-pam.o .libs/pamdl.o   -L/usr/local/lib -lpam  -O2 -fstack-protector-strong -fstack-protector-strong   -Wl,-soname -Wl,openvpn-plugin-auth-pam.so -Wl,-version-script -Wl,.libs/openvpn-plugin-auth-pam.so-ver -o .libs/openvpn-plugin-auth-pam.so
libtool: link: ( cd ".libs" && rm -f "openvpn-plugin-auth-pam.la" && ln -s "../openvpn-plugin-auth-pam.la" "openvpn-plugin-auth-pam.la" )
Making check in down-root
--- down-root.lo ---
/bin/sh ../../../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../../.. -I../../../include   -isystem /usr/local/include  -I../../../include   -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT down-root.lo -MD -MP -MF .deps/down-root.Tpo -c -o down-root.lo down-root.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT down-root.lo -MD -MP -MF .deps/down-root.Tpo -c down-root.c  -fPIC -DPIC -o .libs/down-root.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -isystem /usr/local/include -I../../../include -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fPIC -MT down-root.lo -MD -MP -MF .deps/down-root.Tpo -c down-root.c -o down-root.o >/dev/null 2>&1
mv -f .deps/down-root.Tpo .deps/down-root.Plo
--- openvpn-plugin-down-root.la ---
/bin/sh ../../../libtool  --tag=CC    --mode=link cc  -I../../../include   -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wsign-compare -Wuninitialized -fPIC   -export-symbols "./down-root.exports"  -module -shared -avoid-version -no-undefined  -fstack-protector-strong -L/usr/local/lib -o openvpn-plugin-down-root.la -rpath /usr/local/lib/openvpn/plugins down-root.lo  
libtool: link: echo "{ global:" > .libs/openvpn-plugin-down-root.so-ver
libtool: link: 		 sed -e "s|$|;|" < ./down-root.exports >> .libs/openvpn-plugin-down-root.so-ver
libtool: link: 	 echo "local: *; };" >> .libs/openvpn-plugin-down-root.so-ver
libtool: link: cc -shared  -fPIC -DPIC  .libs/down-root.o   -L/usr/local/lib  -O2 -fstack-protector-strong -fstack-protector-strong   -Wl,-soname -Wl,openvpn-plugin-down-root.so -Wl,-version-script -Wl,.libs/openvpn-plugin-down-root.so-ver -o .libs/openvpn-plugin-down-root.so
libtool: link: ( cd ".libs" && rm -f "openvpn-plugin-down-root.la" && ln -s "../openvpn-plugin-down-root.la" "openvpn-plugin-down-root.la" )
Making check in tapctl
Making check in sample
Making check in doc
--- check-recursive ---
Making check in doxygen
Making check in tests
--- check-recursive ---
Making check in unit_tests
--- check-recursive ---
--- check-am ---
/usr/bin/make  check-TESTS
--- check-TESTS ---
./t_client.sh: cannot find 't_client.rc' in build dir ('..')
./t_client.sh: or source directory ('.'). SKIPPING TEST.
SKIP: t_client.sh
Testing cipher AES-128-CBC... OK
Testing cipher AES-192-CBC... OK
Testing cipher AES-256-CBC... OK
Testing cipher AES-128-GCM... OK
Testing cipher AES-192-GCM... OK
Testing cipher AES-256-GCM... OK
Testing cipher CAMELLIA-128-CBC... OK
Testing cipher CAMELLIA-192-CBC... OK
Testing cipher CAMELLIA-256-CBC... OK
Testing cipher CAMELLIA-128-GCM... OK
Testing cipher CAMELLIA-192-GCM... OK
Testing cipher CAMELLIA-256-GCM... OK
Testing cipher CHACHA20-POLY1305... OK
Testing cipher BF-CBC... OK
Testing cipher DES-CBC... OK
Testing cipher DES-EDE-CBC... OK
Testing cipher DES-EDE3-CBC... OK
Testing cipher none... OK
Testing tls-crypt-v2 server key generation... OK
Testing tls-crypt-v2 key generation (no metadata)... OK
Testing tls-crypt-v2 key generation (max length metadata)... OK
PASS: t_lpback.sh
The following test will take about two minutes.
If the addresses are in use, this test will retry up to two times.
srv:tls-error
clt:tls-error
2021-11-29 09:04:15 Cipher negotiation is disabled since neither P2MP client nor server mode is enabled
2021-11-29 09:04:15 WARNING: file 'sample-keys/server.key' is group or others accessible
2021-11-29 09:04:15 WARNING: file 'sample-keys/ta.key' is group or others accessible
2021-11-29 09:04:15 OpenVPN 2.5.4 amd64-portbld-freebsd14.0 [SSL (mbed TLS)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Nov 29 2021
2021-11-29 09:04:15 library versions: mbed TLS 2.16.11, LZO 2.10
2021-11-29 09:04:15 GDG: problem writing to routing socket
2021-11-29 09:04:15 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2021-11-29 09:04:15 Cipher negotiation is disabled since neither P2MP client nor server mode is enabled
2021-11-29 09:04:15 OpenVPN 2.5.4 amd64-portbld-freebsd14.0 [SSL (mbed TLS)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Nov 29 2021
2021-11-29 09:04:15 library versions: mbed TLS 2.16.11, LZO 2.10
2021-11-29 09:04:15 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2021-11-29 09:04:15 Diffie-Hellman initialized with 2048 bit key
2021-11-29 09:04:15 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-11-29 09:04:15 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-11-29 09:04:15 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-11-29 09:04:15 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-11-29 09:04:15 TCP/UDP: Preserving recently used remote address: [AF_INET6]::1:16100
2021-11-29 09:04:15 Socket Buffers: R=[42080->42080] S=[9216->9216]
2021-11-29 09:04:15 setsockopt(IPV6_V6ONLY=0)
2021-11-29 09:04:15 UDPv6 link local (bound): [AF_INET6]::1:16101
2021-11-29 09:04:15 UDPv6 link remote: [AF_INET6]::1:16100
2021-11-29 09:04:15 TCP/UDP: Preserving recently used remote address: [AF_INET6]::1:16101
2021-11-29 09:04:15 Socket Buffers: R=[42080->42080] S=[9216->9216]
2021-11-29 09:04:15 setsockopt(IPV6_V6ONLY=0)
2021-11-29 09:04:15 UDPv6 link local (bound): [AF_INET6]::1:16100
2021-11-29 09:04:15 UDPv6 link remote: [AF_INET6]::1:16101
2021-11-29 09:04:15 TLS: Initial packet from [AF_INET6]::1:16100, sid=3d25443a 891c1919
2021-11-29 09:04:15 TLS: Initial packet from [AF_INET6]::1:16101, sid=3d8f9ff2 fb2dd232
2021-11-29 09:04:15 TLS_ERROR: read tls_read_plaintext error: RSA - The PKCS#1 verification failed
2021-11-29 09:04:15 TLS Error: TLS object -> incoming plaintext read error
2021-11-29 09:04:15 TLS Error: TLS handshake failed
2021-11-29 09:04:15 Closing TUN/TAP interface
2021-11-29 09:04:15 /sbin/ifconfig null destroy
ifconfig: interface null does not exist
2021-11-29 09:04:15 FreeBSD 'destroy tun interface' failed (non-critical): external program exited with error status: 1
2021-11-29 09:04:15 ../tests/t_cltsrv-down.sh null 1500 1549   init
2021-11-29 09:04:15 SIGTERM[soft,tls-error] received, process exiting
2021-11-29 09:05:15 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2021-11-29 09:05:15 TLS Error: TLS handshake failed
2021-11-29 09:05:15 Closing TUN/TAP interface
2021-11-29 09:05:15 /sbin/ifconfig null destroy
ifconfig: interface null does not exist
2021-11-29 09:05:15 FreeBSD 'destroy tun interface' failed (non-critical): external program exited with error status: 1
2021-11-29 09:05:15 ../tests/t_cltsrv-down.sh null 1500 1549   init
2021-11-29 09:05:15 SIGTERM[soft,tls-error] received, process exiting
FAIL: t_cltsrv.sh
====================================================
1 of 2 tests failed
(1 test was not run)
Please report to openvpn-users@lists.sourceforge.net
====================================================
*** [check-TESTS] Error code 1

make[5]: stopped in /wrkdirs/usr/ports/security/openvpn-mbedtls/work/openvpn-2.5.4/tests
1 error

make[5]: stopped in /wrkdirs/usr/ports/security/openvpn-mbedtls/work/openvpn-2.5.4/tests

make[4]: stopped in /wrkdirs/usr/ports/security/openvpn-mbedtls/work/openvpn-2.5.4/tests

make[3]: stopped in /wrkdirs/usr/ports/security/openvpn-mbedtls/work/openvpn-2.5.4/tests

make[2]: stopped in /wrkdirs/usr/ports/security/openvpn-mbedtls/work/openvpn-2.5.4

make[1]: stopped in /wrkdirs/usr/ports/security/openvpn-mbedtls/work/openvpn-2.5.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/security/openvpn-mbedtls