[package - main-amd64-default][databases/mongodb70] Failed for mongodb70-7.0.0.r0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 26 May 2023 17:34:13 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:     ronald@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p89b75dd0eed4_sbaef3a5b58/logs/mongodb70-7.0.0.r0_1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p89b75dd0eed4_sbaef3a5b58
Log:

=>> Building databases/mongodb70
build started at Fri May 26 17:32:44 UTC 2023
port directory: /usr/ports/databases/mongodb70
package name: mongodb70-7.0.0.r0_1
building for: FreeBSD main-amd64-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 amd64
maintained by: ronald@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400088
Job Id: 12




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400088
UNAME_v=FreeBSD 14.0-CURRENT 1400088
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 mongodb70-7.0.0.r0_1:
     LTO=on: Use Link-Time Optimization
     NOAVX=off: "Disable AVX instructions on amd64 (Sandybridge+)"
     SASL=on: SASL authentication support
     SSL=on: SSL protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ronald@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongodb70/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongodb70/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongodb70/work/.cache  HOME=/wrkdirs/usr/ports/databases/mongodb70/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongodb70/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongodb70/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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/databases/mongodb70/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongodb70/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongodb70/work/.cache  HOME=/wrkdirs/usr/ports/databases/mongodb70/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongodb70/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongodb70/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="/usr/local/bin/clang14" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="/usr/local/bin/clang++14" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/l
 ocal" 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--
PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mongodb"  EXAMPLESDIR="share/examples/mongodb"  DATADIR="share/mongodb"  WWWDIR="www/mongodb"  ETCDIR="etc/mongodb"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mongodb DOCSDIR=/usr/local/share/doc/mongodb EXAMPLESDIR=/usr/local/share/examples/mongodb  WWWDIR=/usr/local/www/mongodb ETCDIR=/usr/local/etc/mongodb
--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=1400088
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 APACHE20 SSPLv1 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mongodb70-7.0.0.r0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-12] Installing pkg-1.19.1_1...
[main-amd64-default-job-12] Extracting pkg-1.19.1_1: .......... done
===>   mongodb70-7.0.0.r0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongodb70-7.0.0.r0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 SSPLv1 accepted by the user
===> Fetching all distfiles required by mongodb70-7.0.0.r0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 SSPLv1 accepted by the user
===> Fetching all distfiles required by mongodb70-7.0.0.r0_1 for building
=> SHA256 Checksum OK for mongodb-mongo-r7.0.0-rc0_GH0.tar.gz.
=> SHA256 Checksum OK for mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 SSPLv1 accepted by the user
===> Fetching all distfiles required by mongodb70-7.0.0.r0_1 for building
===>  Extracting for mongodb70-7.0.0.r0_1
=> SHA256 Checksum OK for mongodb-mongo-r7.0.0-rc0_GH0.tar.gz.
=> SHA256 Checksum OK for mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
  return _VSTD::equal(__first1, __last1, __first2, __equal_to<__v1, __v2>());
                ^
/usr/include/c++/v1/vector:3280:41: note: in instantiation of function template specialization 'std::equal<std::__wrap_iter<const std::vector<mongo::SSLX509Name::Entry> *>, std::__wrap_iter<const std::vector<mongo::SSLX509Name::Entry> *>>' requested here
    return __sz == __y.size() && _VSTD::equal(__x.begin(), __x.end(), __y.begin());
                                        ^
src/mongo/util/net/ssl_types.h:84:29: note: in instantiation of function template specialization 'std::__1::operator==<std::vector<mongo::SSLX509Name::Entry>, std::allocator<std::vector<mongo::SSLX509Name::Entry>>>' requested here
        return lhs._entries == rhs._entries;
                            ^
src/mongo/base/string_data.h:195:16: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'mongo::StringData' for 1st argument
constexpr bool operator==(StringData lhs, StringData rhs) {
               ^
src/mongo/platform/decimal128.h:631:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::Decimal128' for 1st argument
inline bool operator==(const Decimal128& lhs, const Decimal128& rhs) {
            ^
src/mongo/bson/oid.h:262:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::OID' for 1st argument
inline bool operator==(const OID& lhs, const OID& rhs) {
            ^
src/mongo/db/logical_time.h:103:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::LogicalTime' for 1st argument
inline bool operator==(const LogicalTime& l, const LogicalTime& r) {
            ^
src/mongo/db/tenant_id.h:113:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::TenantId' for 1st argument
inline bool operator==(const TenantId& lhs, const TenantId& rhs) {
            ^
src/mongo/util/net/cidr.h:123:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::CIDR' for 1st argument
inline bool operator==(const CIDR& lhs, const CIDR& rhs) {
            ^
src/mongo/db/session/logical_session_id.h:63:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::LogicalSessionId' for 1st argument
inline bool operator==(const LogicalSessionId& lhs, const LogicalSessionId& rhs) {
            ^
src/mongo/db/session/logical_session_id.h:72:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::LogicalSessionRecord' for 1st argument
inline bool operator==(const LogicalSessionRecord& lhs, const LogicalSessionRecord& rhs) {
            ^
src/mongo/db/session/logical_session_id.h:190:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::TxnNumberAndRetryCounter' for 1st argument
inline bool operator==(const TxnNumberAndRetryCounter& l, const TxnNumberAndRetryCounter& r) {
            ^
src/mongo/db/record_id.h:559:13: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::RecordId' for 1st argument
inline bool operator==(const RecordId& lhs, const RecordId& rhs) {
            ^
src/mongo/util/net/ssl_types.h:83:17: note: candidate function not viable: no known conversion from 'const mongo::SSLX509Name::Entry' to 'const mongo::SSLX509Name' for 1st argument
    friend bool operator==(const SSLX509Name& lhs, const SSLX509Name& rhs) {
                ^
src/mongo/base/status_with.h:203:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
bool operator==(const StatusWith<T>& sw, const T& val) {
     ^
src/mongo/base/status_with.h:203:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
src/mongo/base/status_with.h:208:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
bool operator==(const T& val, const StatusWith<T>& sw) {
     ^
src/mongo/base/status_with.h:208:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
src/mongo/base/status_with.h:227:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
bool operator==(const StatusWith<T>& sw, const Status& status) {
     ^
src/mongo/base/status_with.h:227:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
src/mongo/base/status_with.h:232:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
bool operator==(const Status& status, const StatusWith<T>& sw) {
     ^
src/mongo/base/status_with.h:232:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
src/mongo/base/status_with.h:251:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
bool operator==(const StatusWith<T>& sw, ErrorCodes::Error code) {
     ^
src/mongo/base/status_with.h:251:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
src/mongo/base/status_with.h:256:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
bool operator==(ErrorCodes::Error code, const StatusWith<T>& sw) {
     ^
src/mongo/base/status_with.h:256:6: note: candidate template ignored: could not match 'const StatusWith<T>' against 'const mongo::SSLX509Name::Entry'
src/mongo/util/duration.h:405:16: note: candidate template ignored: could not match 'const Duration<LhsPeriod>' against 'const mongo::SSLX509Name::Entry'
constexpr bool operator==(const Duration<LhsPeriod>& lhs, const Duration<RhsPeriod>& rhs) {
               ^
src/mongo/util/duration.h:405:16: note: candidate template ignored: could not match 'const Duration<LhsPeriod>' against 'const mongo::SSLX509Name::Entry'
src/mongo/util/functional.h:299:6: note: candidate template ignored: could not match 'const unique_function<Signature>' against 'const mongo::SSLX509Name::Entry'
bool operator==(const unique_function<Signature>& lhs, std::nullptr_t) noexcept {
     ^
src/mongo/util/functional.h:299:6: note: candidate template ignored: could not match 'const unique_function<Signature>' against 'const mongo::SSLX509Name::Entry'
src/mongo/util/functional.h:309:6: note: candidate template ignored: could not match 'const unique_function<Signature>' against 'const mongo::SSLX509Name::Entry'
bool operator==(std::nullptr_t, const unique_function<Signature>& rhs) noexcept {
     ^
src/mongo/util/functional.h:309:6: note: candidate template ignored: could not match 'const unique_function<Signature>' against 'const mongo::SSLX509Name::Entry'
In file included from src/mongo/db/commands/bulk_write_crud_op.cpp:30:
In file included from src/mongo/db/commands/bulk_write_crud_op.h:32:
In file included from src/mongo/db/auth/action_type.h:34:
In file included from /usr/include/c++/v1/iostream:41:
In file included from /usr/include/c++/v1/ios:221:
In file included from /usr/include/c++/v1/__locale:19:
In file included from /usr/include/c++/v1/mutex:191:
In file included from /usr/include/c++/v1/__mutex_base:20:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:551:
In file included from /usr/include/c++/v1/string_view:223:
In file included from /usr/include/c++/v1/functional:515:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:26:
/usr/include/c++/v1/vector:550:52: error: arithmetic on a pointer to an incomplete type 'mongo::Value'
        {return static_cast<size_type>(__end_cap() - this->__begin_);}
                                       ~~~~~~~~~~~ ^
/usr/include/c++/v1/vector:770:56: note: in instantiation of member function 'std::vector<mongo::Value>::capacity' requested here
      __annotate_contiguous_container(data(), data() + capacity(),
                                                       ^
/usr/include/c++/v1/vector:435:18: note: in instantiation of member function 'std::vector<mongo::Value>::__annotate_delete' requested here
          __vec_.__annotate_delete();
                 ^
/usr/include/c++/v1/vector:449:67: note: in instantiation of member function 'std::vector<mongo::Value>::__destroy_vector::operator()' requested here
  _LIBCPP_CONSTEXPR_AFTER_CXX17 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); }
                                                                  ^
src/mongo/db/exec/document_value/value_internal.h:54:5: note: in instantiation of member function 'std::vector<mongo::Value>::~vector' requested here
    RCVector() {}
    ^
src/mongo/util/safe_num.h:44:7: note: forward declaration of 'mongo::Value'
class Value;
      ^
In file included from src/mongo/db/commands/bulk_write_crud_op.cpp:30:
In file included from src/mongo/db/commands/bulk_write_crud_op.h:32:
In file included from src/mongo/db/auth/action_type.h:34:
In file included from /usr/include/c++/v1/iostream:41:
In file included from /usr/include/c++/v1/ios:221:
In file included from /usr/include/c++/v1/__locale:19:
In file included from /usr/include/c++/v1/mutex:191:
In file included from /usr/include/c++/v1/__mutex_base:20:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:551:
In file included from /usr/include/c++/v1/string_view:223:
In file included from /usr/include/c++/v1/functional:515:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:26:
/usr/include/c++/v1/vector:770:54: error: arithmetic on a pointer to an incomplete type 'const std::vector<mongo::Value>::value_type' (aka 'const mongo::Value')
      __annotate_contiguous_container(data(), data() + capacity(),
                                              ~~~~~~ ^
/usr/include/c++/v1/vector:435:18: note: in instantiation of member function 'std::vector<mongo::Value>::__annotate_delete' requested here
          __vec_.__annotate_delete();
                 ^
/usr/include/c++/v1/vector:449:67: note: in instantiation of member function 'std::vector<mongo::Value>::__destroy_vector::operator()' requested here
  _LIBCPP_CONSTEXPR_AFTER_CXX17 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); }
                                                                  ^
src/mongo/db/exec/document_value/value_internal.h:54:5: note: in instantiation of member function 'std::vector<mongo::Value>::~vector' requested here
    RCVector() {}
    ^
src/mongo/util/safe_num.h:44:7: note: forward declaration of 'mongo::Value'
class Value;
      ^
In file included from src/mongo/db/commands/bulk_write_crud_op.cpp:30:
In file included from src/mongo/db/commands/bulk_write_crud_op.h:32:
In file included from src/mongo/db/auth/action_type.h:34:
In file included from /usr/include/c++/v1/iostream:41:
In file included from /usr/include/c++/v1/ios:221:
In file included from /usr/include/c++/v1/__locale:19:
In file included from /usr/include/c++/v1/mutex:191:
In file included from /usr/include/c++/v1/__mutex_base:20:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:551:
In file included from /usr/include/c++/v1/string_view:223:
In file included from /usr/include/c++/v1/functional:515:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:26:
/usr/include/c++/v1/vector:843:64: error: arithmetic on a pointer to an incomplete type 'mongo::Value'
        __alloc_traits::destroy(__alloc(), _VSTD::__to_address(--__soon_to_be_end));
                                                               ^ ~~~~~~~~~~~~~~~~
/usr/include/c++/v1/vector:837:29: note: in instantiation of member function 'std::vector<mongo::Value>::__base_destruct_at_end' requested here
  void __clear() _NOEXCEPT {__base_destruct_at_end(this->__begin_);}
                            ^
/usr/include/c++/v1/vector:439:20: note: in instantiation of member function 'std::vector<mongo::Value>::__clear' requested here
            __vec_.__clear();
                   ^
/usr/include/c++/v1/vector:449:67: note: in instantiation of member function 'std::vector<mongo::Value>::__destroy_vector::operator()' requested here
  _LIBCPP_CONSTEXPR_AFTER_CXX17 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); }
                                                                  ^
src/mongo/db/exec/document_value/value_internal.h:54:5: note: in instantiation of member function 'std::vector<mongo::Value>::~vector' requested here
    RCVector() {}
    ^
src/mongo/util/safe_num.h:44:7: note: forward declaration of 'mongo::Value'
class Value;
      ^
In file included from src/mongo/db/commands/bulk_write_crud_op.cpp:30:
In file included from src/mongo/db/commands/bulk_write_crud_op.h:32:
In file included from src/mongo/db/auth/action_type.h:32:
In file included from /usr/include/c++/v1/array:127:
In file included from /usr/include/c++/v1/algorithm:1712:
In file included from /usr/include/c++/v1/memory:848:
/usr/include/c++/v1/__memory/allocator.h:128:58: error: invalid application of 'sizeof' to an incomplete type 'mongo::Value'
            _VSTD::__libcpp_deallocate((void*)__p, __n * sizeof(_Tp), _LIBCPP_ALIGNOF(_Tp));
                                                         ^~~~~~~~~~~
/usr/include/c++/v1/__memory/allocator_traits.h:282:13: note: in instantiation of member function 'std::allocator<mongo::Value>::deallocate' requested here
        __a.deallocate(__p, __n);
            ^
/usr/include/c++/v1/vector:440:29: note: in instantiation of member function 'std::allocator_traits<std::allocator<mongo::Value>>::deallocate' requested here
            __alloc_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.capacity());
                            ^
/usr/include/c++/v1/vector:449:67: note: in instantiation of member function 'std::vector<mongo::Value>::__destroy_vector::operator()' requested here
  _LIBCPP_CONSTEXPR_AFTER_CXX17 _LIBCPP_HIDE_FROM_ABI ~vector() { __destroy_vector(*this)(); }
                                                                  ^
src/mongo/db/exec/document_value/value_internal.h:54:5: note: in instantiation of member function 'std::vector<mongo::Value>::~vector' requested here
    RCVector() {}
    ^
src/mongo/util/safe_num.h:44:7: note: forward declaration of 'mongo::Value'
class Value;
      ^
5 errors generated.
scons: *** [build/opt/mongo/db/commands/bulk_write_crud_op.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/db/repl/multiapplier.o failed: Error 1
build/opt/mongo/db/commands/bulk_write_crud_op.o failed: Error 1
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/mongodb70