[package - 122powerpc64-quarterly][security/hpenc] Failed for hpenc-3.0_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 29 Jun 2021 04:08:45 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:     vsevolod@FreeBSD.org
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/ae162bd98935/logs/hpenc-3.0_2.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=ae162bd98935
Log:

=>> Building security/hpenc
build started at Tue Jun 29 04:07:44 UTC 2021
port directory: /usr/ports/security/hpenc
package name: hpenc-3.0_2
building for: FreeBSD 122powerpc64-quarterly-job-09 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: vsevolod@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 09

---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-8-gaf08dbda
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--
vsevolod@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/hpenc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/hpenc/work  HOME=/wrkdirs/usr/ports/security/hpenc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/hpenc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/hpenc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/hpenc/work  HOME=/wrkdirs/usr/ports/security/hpenc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/hpenc/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" DESTDIR=/wrkdirs/usr/ports/security/hpenc/work/stage 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="  -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--
CMAKE_BUILD_TYPE="release" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/hpenc"  EXAMPLESDIR="share/examples/hpenc"  DATADIR="share/hpenc"  WWWDIR="www/hpenc"  ETCDIR="etc/hpenc"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/hpenc DOCSDIR=/usr/local/share/doc/hpenc EXAMPLESDIR=/usr/local/share/examples/hpenc  WWWDIR=/usr/local/www/hpenc ETCDIR=/usr/local/etc/hpenc
--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 BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   hpenc-3.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-09] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-09] Extracting pkg-1.16.3: .......... done
===>   hpenc-3.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of hpenc-3.0_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by hpenc-3.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by hpenc-3.0_2 for building
=> SHA256 Checksum OK for vstakhov-hpenc-3.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by hpenc-3.0_2 for building
===>  Extracting for hpenc-3.0_2
=> SHA256 Checksum OK for vstakhov-hpenc-3.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for hpenc-3.0_2
===>  Applying FreeBSD patches for hpenc-3.0_2 from /usr/ports/security/hpenc/files
===========================================================================
=======================<phase: build-depends  >============================
===>   hpenc-3.0_2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.6.txz
[122powerpc64-quarterly-job-09] Installing cmake-3.19.6...
[122powerpc64-quarterly-job-09] `-- Installing curl-7.76.0...
[122powerpc64-quarterly-job-09] |   `-- Installing ca_root_nss-3.63...
[122powerpc64-quarterly-job-09] |   `-- Extracting ca_root_nss-3.63: ........ done
[122powerpc64-quarterly-job-09] |   `-- Installing libnghttp2-1.43.0...
[122powerpc64-quarterly-job-09] |   | `-- Installing gcc10-10.2.0_1...
[122powerpc64-quarterly-job-09] |   |   `-- Installing binutils-2.33.1_4,1...
[122powerpc64-quarterly-job-09] |   |   | `-- Installing gettext-runtime-0.21...
[122powerpc64-quarterly-job-09] |   |   |   `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-09] |   |   |   `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-09] |   |   | `-- Extracting gettext-runtime-0.21: .......... done
[122powerpc64-quarterly-job-09] |   |   `-- Extracting binutils-2.33.1_4,1: .......... done
[122powerpc64-quarterly-job-09] |   |   `-- Installing gcc9-9.3.0_3...
[122powerpc64-quarterly-job-09] |   |   | `-- Installing gmp-6.2.1...
[122powerpc64-quarterly-job-09] |   |   | `-- Extracting gmp-6.2.1: .......... done
[122powerpc64-quarterly-job-09] |   |   | `-- Installing mpc-1.2.0...
[122powerpc64-quarterly-job-09] |   |   |   `-- Installing mpfr-4.1.0...
[122powerpc64-quarterly-job-09] |   |   |   `-- Extracting mpfr-4.1.0: .......... done
[122powerpc64-quarterly-job-09] |   |   | `-- Extracting mpc-1.2.0: ......... done
[122powerpc64-quarterly-job-09] |   |   `-- Extracting gcc9-9.3.0_3: .......... done
[122powerpc64-quarterly-job-09] |   | `-- Extracting gcc10-10.2.0_1: .......... done
[122powerpc64-quarterly-job-09] |   `-- Extracting libnghttp2-1.43.0: .......... done
[122powerpc64-quarterly-job-09] `-- Extracting curl-7.76.0: .......... done
[122powerpc64-quarterly-job-09] `-- Installing expat-2.4.1...
[122powerpc64-quarterly-job-09] `-- Extracting expat-2.4.1: .......... done
[122powerpc64-quarterly-job-09] `-- Installing jsoncpp-1.9.4...
[122powerpc64-quarterly-job-09] `-- Extracting jsoncpp-1.9.4: .......... done
[122powerpc64-quarterly-job-09] `-- Installing libarchive-3.5.1,1...
[122powerpc64-quarterly-job-09] |   `-- Installing liblz4-1.9.3,1...
[122powerpc64-quarterly-job-09] |   `-- Extracting liblz4-1.9.3,1: .......... done
[122powerpc64-quarterly-job-09] `-- Extracting libarchive-3.5.1,1: .......... done
[122powerpc64-quarterly-job-09] `-- Installing libuv-1.41.0...
[122powerpc64-quarterly-job-09] `-- Extracting libuv-1.41.0: .......... done
[122powerpc64-quarterly-job-09] `-- Installing rhash-1.4.1...
[122powerpc64-quarterly-job-09] `-- Extracting rhash-1.4.1: .......... done
[122powerpc64-quarterly-job-09] Extracting cmake-3.19.6: .......... done
=====
Message from ca_root_nss-3.63:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from gcc9-9.3.0_3:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc9

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from gcc10-10.2.0_1:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   hpenc-3.0_2 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of hpenc-3.0_2
===>   hpenc-3.0_2 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.2,2.txz
[122powerpc64-quarterly-job-09] Installing ninja-1.10.2,2...
[122powerpc64-quarterly-job-09] `-- Installing python37-3.7.10...
[122powerpc64-quarterly-job-09] |   `-- Installing libffi-3.3_1...
[122powerpc64-quarterly-job-09] |   `-- Extracting libffi-3.3_1: .......... done
[122powerpc64-quarterly-job-09] |   `-- Installing readline-8.1.0...
[122powerpc64-quarterly-job-09] |   `-- Extracting readline-8.1.0: .......... done
[122powerpc64-quarterly-job-09] `-- Extracting python37-3.7.10: .......... done
[122powerpc64-quarterly-job-09] Extracting ninja-1.10.2,2: ........ done
=====
Message from python37-3.7.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py37-gdbm       databases/py-gdbm@py37
py37-sqlite3    databases/py-sqlite3@py37
py37-tkinter    x11-toolkits/py-tkinter@py37
===>   hpenc-3.0_2 depends on executable: ninja - found
===>   Returning to build of hpenc-3.0_2
===>   hpenc-3.0_2 depends on executable: gcc10 - found
===>   hpenc-3.0_2 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   hpenc-3.0_2 depends on shared library: libsodium.so - not found
===>   Installing existing package /packages/All/libsodium-1.0.18.txz
[122powerpc64-quarterly-job-09] Installing libsodium-1.0.18...
[122powerpc64-quarterly-job-09] Extracting libsodium-1.0.18: .......... done
===>   hpenc-3.0_2 depends on shared library: libsodium.so - found (/usr/local/lib/libsodium.so)
===>   Returning to build of hpenc-3.0_2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for hpenc-3.0_2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/security/hpenc/work/.build
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++10 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found sodium: /usr/local/lib/libsodium.so  
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1h")  
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/security/hpenc/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for hpenc-3.0_2
[1/9] /usr/local/bin/g++10   -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -std=gnu++11 -MD -MT CMakeFiles/hpenc.dir/src/aead.cc.o -MF CMakeFiles/hpenc.dir/src/aead.cc.o.d -o CMakeFiles/hpenc.dir/src/aead.cc.o -c /wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/aead.cc
[2/9] /usr/local/bin/g++10   -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -std=gnu++11 -MD -MT CMakeFiles/hpenc.dir/src/decrypt.cc.o -MF CMakeFiles/hpenc.dir/src/decrypt.cc.o.d -o CMakeFiles/hpenc.dir/src/decrypt.cc.o -c /wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/decrypt.cc
In file included from /wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/decrypt.cc:34:
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/decrypt.h:49:56: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   49 |  void decrypt(bool encode = false, unsigned count = 0) throw(std::runtime_error);
      |                                                        ^~~~~
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/decrypt.cc:174:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  174 | void HPEncDecrypt::decrypt(bool encode, unsigned count) throw(std::runtime_error)
      |                                                         ^~~~~
[3/9] /usr/local/bin/g++10   -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -std=gnu++11 -MD -MT CMakeFiles/hpenc.dir/src/kdf.cc.o -MF CMakeFiles/hpenc.dir/src/kdf.cc.o.d -o CMakeFiles/hpenc.dir/src/kdf.cc.o -c /wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc
FAILED: CMakeFiles/hpenc.dir/src/kdf.cc.o 
/usr/local/bin/g++10   -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -std=gnu++11 -MD -MT CMakeFiles/hpenc.dir/src/kdf.cc.o -MF CMakeFiles/hpenc.dir/src/kdf.cc.o.d -o CMakeFiles/hpenc.dir/src/kdf.cc.o -c /wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc: In constructor 'hpenc::HPEncKDF::impl::impl(std::unique_ptr<std::vector<unsigned char> >&&, std::unique_ptr<hpenc::HPEncNonce>&&, bool, bool)':
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc:54:16: error: 'runtime_error' is not a member of 'std'
   54 |     throw std::runtime_error("Cannot create random nonce");
      |                ^~~~~~~~~~~~~
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc:59:16: error: 'runtime_error' is not a member of 'std'
   59 |     throw std::runtime_error("Invalid nonce specified");
      |                ^~~~~~~~~~~~~
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc: In member function 'std::shared_ptr<std::vector<unsigned char> > hpenc::HPEncKDF::genKey(unsigned int)':
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc:120:16: error: 'runtime_error' is not a member of 'std'
  120 |     throw std::runtime_error("Cannot derive key from password");
      |                ^~~~~~~~~~~~~
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc: In member function 'void hpenc::HPEncKDF::setNonce(const std::vector<unsigned char>&)':
/wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/kdf.cc:143:14: error: 'runtime_error' is not a member of 'std'
  143 |   throw std::runtime_error("Invalid nonce specified");
      |              ^~~~~~~~~~~~~
[4/9] /usr/local/bin/g++10   -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -std=gnu++11 -MD -MT CMakeFiles/hpenc.dir/src/encrypt.cc.o -MF CMakeFiles/hpenc.dir/src/encrypt.cc.o.d -o CMakeFiles/hpenc.dir/src/encrypt.cc.o -c /wrkdirs/usr/ports/security/hpenc/work/hpenc-3.0/src/encrypt.cc
ninja: build stopped: subcommand failed.
===> 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/hpenc