[package - main-amd64-default][databases/db18] Failed for db18-18.1.40 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 10 Feb 2023 12:37:34 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:     yasu@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p58633340e9ed_s5636590214/logs/db18-18.1.40.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p58633340e9ed_s5636590214
Log:

=>> Building databases/db18
build started at Fri Feb 10 12:34:42 UTC 2023
port directory: /usr/ports/databases/db18
package name: db18-18.1.40
building for: FreeBSD main-amd64-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 amd64
maintained by: yasu@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 04




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
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-23-ga7f8d188
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 db18-18.1.40:
     CRYPTO=on: Cryptography support
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     JAVA=off: Java platform support
     L10N=off: Localization support (EXPERIMENTAL)
     TCL=off: Tcl scripting language support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yasu@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--bindir=/usr/local/bin/db18  --enable-compat185  --enable-cxx  --enable-dbm  --enable-dump185  --enable-stl  --includedir=/usr/local/include/db18  --libdir=/usr/local/lib/db18 --with-cryptography=yes --disable-debug --disable-umrw --disable-java --disable-localization --disable-tcl --without-tcl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/db18/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/db18/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/db18/work/.cache  HOME=/wrkdirs/usr/ports/databases/db18/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/db18/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/db18/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/databases/db18/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/db18/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/db18/work/.cache  HOME=/wrkdirs/usr/ports/databases/db18/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/db18/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/db18/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="-I/usr/include"  LDFLAGS=" -L/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTAL
 L_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--
BDBMAJ=18  BDBVER=18.1 PORTDOCS="" CRYPTO="" NO_CRYPTO="@comment " DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " JAVA="@comment " NO_JAVA="" L10N="@comment " NO_L10N="" TCL="@comment " NO_TCL="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/db18"  EXAMPLESDIR="share/examples/db18"  DATADIR="share/db18"  WWWDIR="www/db18"  ETCDIR="etc/db18"
--End PLIST_SUB--

--SUB_LIST--
CRYPTO="" NO_CRYPTO="@comment " DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " JAVA="@comment " NO_JAVA="" L10N="@comment " NO_L10N="" TCL="@comment " NO_TCL="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/db18 DOCSDIR=/usr/local/share/doc/db18 EXAMPLESDIR=/usr/local/share/examples/db18  WWWDIR=/usr/local/www/db18 ETCDIR=/usr/local/etc/db18
--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) 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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) 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=1400079
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 AGPLv3 BSD3CLAUSE UPL10 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   db18-18.1.40 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-amd64-default-job-04] Installing pkg-1.19.1...
[main-amd64-default-job-04] Extracting pkg-1.19.1: .......... done
===>   db18-18.1.40 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of db18-18.1.40
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License AGPLv3 BSD3CLAUSE UPL10 accepted by the user
===> Fetching all distfiles required by db18-18.1.40 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License AGPLv3 BSD3CLAUSE UPL10 accepted by the user
===> Fetching all distfiles required by db18-18.1.40 for building
=> SHA256 Checksum OK for bdb/db-18.1.40.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License AGPLv3 BSD3CLAUSE UPL10 accepted by the user
===> Fetching all distfiles required by db18-18.1.40 for building
===>  Extracting for db18-18.1.40
=> SHA256 Checksum OK for bdb/db-18.1.40.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
./src/txn/txn_util.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_remrem(env, txn, name)
^
./src/txn/txn_util.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_lockevent(env, txn, dbp, lock, locker)
^
./src/txn/txn_util.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_remlock(env, txn, lock, locker)
^
./src/txn/txn_util.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_doevents(env, txn, opcode, preprocess)
^
./src/txn/txn_util.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_record_fname(env, txn, fname)
^
./src/txn/txn_util.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_dref_fname(env, txn)
^
./src/txn/txn_util.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__clear_fe_watermark(txn, db)
^
./src/txn/txn_util.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/txn/txn_util.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_reset_fe_watermarks(txn)
^
./src/txn/txn_util.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_remove_fe_watermark(txn, db)
^
./src/txn/txn_util.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_add_fe_watermark(txn, db, pgno)
^
./src/txn/txn_util.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_flush_fe_files(txn)
^
./src/txn/txn_util.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__txn_pg_above_fe_watermark(txn, mpf, pgno)
^
15 warnings generated.
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/txn/txn_util.c -o txn_util.o >/dev/null 2>&1
./libtool --mode=compile cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../src/xa/xa.c
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/xa/xa.c  -fPIC -DPIC -o .libs/xa.o
./src/xa/xa.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__xa_get_txn(env, xid, td, txnp, flags, ending)
^
./src/xa/xa.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__xa_put_txn(env, txnp)
^
./src/xa/xa.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int __xa_thread_enter(env, ipp)
    ^
./src/xa/xa.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__xa_txn_get_prepared(env, xids, txns, count, retp, flags)
^
./src/xa/xa.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_open(xa_info, rmid, arg_flags)
^
./src/xa/xa.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_close(xa_info, rmid, arg_flags)
^
./src/xa/xa.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_start(xid, rmid, arg_flags)
^
./src/xa/xa.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_end(xid, rmid, arg_flags)
^
./src/xa/xa.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
corrupted_env(env, rmid)
^
./src/xa/xa.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_prepare(xid, rmid, arg_flags)
^
./src/xa/xa.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_commit(xid, rmid, arg_flags)
^
./src/xa/xa.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_recover(xids, count, rmid, flags)
^
./src/xa/xa.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_rollback(xid, rmid, arg_flags)
^
./src/xa/xa.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_forget(xid, rmid, arg_flags)
^
./src/xa/xa.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./src/xa/xa.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xa_complete(handle, retval, rmid, flags)
^
./src/xa/xa.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./libtool --mode=compile cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../src/xa/xa_map.c
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/xa/xa_map.c  -fPIC -DPIC -o .libs/xa_map.o
30 warnings generated.
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/xa/xa.c -o xa.o >/dev/null 2>&1
./src/xa/xa_map.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_rmid_to_env(rmid, envp)
^
./src/xa/xa_map.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_xid_to_txn(env, xid, tdp)
^
./src/xa/xa_map.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_map_rmid(rmid, env)
^
./src/xa/xa_map.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_unmap_rmid(rmid)
^
./src/xa/xa_map.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_unmap_xid(env, xid, off)
^
5 warnings generated.
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/xa/xa_map.c -o xa_map.o >/dev/null 2>&1
./libtool --mode=compile cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../src/common/zerofill.c
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/common/zerofill.c  -fPIC -DPIC -o .libs/zerofill.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_channel.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_channel.cpp  -fPIC -DPIC -o .libs/cxx_channel.o
./src/common/zerofill.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_zero_fill(env, fhp)
^
./src/common/zerofill.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
__db_zero_extend(env, fhp, pgno, last_pgno, pgsize)
^
2 warnings generated.
libtool: compile:  cc -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../src/common/zerofill.c -o zerofill.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_db.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_db.cpp  -fPIC -DPIC -o .libs/cxx_db.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_channel.cpp -o cxx_channel.o >/dev/null 2>&1
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_db.cpp -o cxx_db.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_dbc.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_dbc.cpp  -fPIC -DPIC -o .libs/cxx_dbc.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_dbc.cpp -o cxx_dbc.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_dbstream.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_dbstream.cpp  -fPIC -DPIC -o .libs/cxx_dbstream.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_dbt.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_dbt.cpp  -fPIC -DPIC -o .libs/cxx_dbt.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_dbstream.cpp -o cxx_dbstream.o >/dev/null 2>&1
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_dbt.cpp -o cxx_dbt.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_env.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_env.cpp  -fPIC -DPIC -o .libs/cxx_env.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_except.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_except.cpp  -fPIC -DPIC -o .libs/cxx_except.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_env.cpp -o cxx_env.o >/dev/null 2>&1
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_except.cpp -o cxx_except.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_lock.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_lock.cpp  -fPIC -DPIC -o .libs/cxx_lock.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_logc.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_logc.cpp  -fPIC -DPIC -o .libs/cxx_logc.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_lock.cpp -o cxx_lock.o >/dev/null 2>&1
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_logc.cpp -o cxx_logc.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_mpool.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_mpool.cpp  -fPIC -DPIC -o .libs/cxx_mpool.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_multi.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_multi.cpp  -fPIC -DPIC -o .libs/cxx_multi.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_mpool.cpp -o cxx_mpool.o >/dev/null 2>&1
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_multi.cpp -o cxx_multi.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_rid.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_rid.cpp  -fPIC -DPIC -o .libs/cxx_rid.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_rid.cpp -o cxx_rid.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_seq.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_seq.cpp  -fPIC -DPIC -o .libs/cxx_seq.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_site.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_site.cpp  -fPIC -DPIC -o .libs/cxx_site.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_seq.cpp -o cxx_seq.o >/dev/null 2>&1
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_site.cpp -o cxx_site.o >/dev/null 2>&1
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   ../lang/cxx/cxx_txn.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_txn.cpp  -fPIC -DPIC -o .libs/cxx_txn.o
./libtool --mode=compile c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing   -I./../lang/cxx/stl ../lang/cxx/stl/dbstl_container.cpp
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -I./../lang/cxx/stl ../lang/cxx/stl/dbstl_container.cpp  -fPIC -DPIC -o .libs/dbstl_container.o
libtool: compile:  c++ -c -I. -I./../src -I/usr/include -D_THREAD_SAFE -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing ../lang/cxx/cxx_txn.cpp -o cxx_txn.o >/dev/null 2>&1
In file included from ../lang/cxx/stl/dbstl_container.cpp:11:
In file included from ./../lang/cxx/stl/dbstl_container.h:12:
./dbstl_common.h:57:2: error: "No appropriate TLS modifier defined."
#error "No appropriate TLS modifier defined."
 ^
In file included from ../lang/cxx/stl/dbstl_container.cpp:11:
In file included from ./../lang/cxx/stl/dbstl_container.h:13:
./../lang/cxx/stl/dbstl_resource_manager.h:145:2: error: "A multi-threaded build of STL for Berkeley DB requires thread local storage.  None is configured."
#error "A multi-threaded build of STL for Berkeley DB requires thread local storage.  None is configured."
 ^
2 errors generated.
gmake[1]: *** [Makefile:2844: dbstl_container.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/db18/work/db-18.1.40/build_unix'
===> 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/databases/db18