===> Building for mongodb-4.4.29nb6 => Replacing database paths. => Changing /var to /var. cd /Users/pbulk/build/databases/mongodb4/work/mongo-r4.4.29 && cd . && /usr/bin/env USETOOLS=no GOTMPDIR=/Users/pbulk/build DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= MACOSX_DEPLOYMENT_TARGET=14.5 PYTHON=/opt/pkg/bin/python3.12 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 CPPFLAGS=-I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -L/opt/pkg/lib\ -lexecinfo LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/databases/mongodb4/work/.cwrapper/bin:/Users/pbulk/build/databases/mongodb4/work/.buildlink/bin:/Users/pbulk/build/databases/mongodb4/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/Users/pbulk/build/databases/mongodb4/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/databases/mongodb4/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/databases/mongodb4/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/databases/mongodb4/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/databases/mongodb4/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/databases/mongodb4/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/databases/mongodb4/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/databases/mongodb4/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/databases/mongodb4/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/databases/mongodb4/work/.cwrapper/config scons-3.12 -j1 -j1 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --use-system-zstd --modules='' MONGO_VERSION=4.4.29 CC=clang CXX=clang++ CFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 CXXFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include\ -DLDAP_DEPRECATED\ -I/opt/pkg/include/libxml2 LINKFLAGS=\ -L/opt/pkg/lib\ -L/opt/pkg/lib\ \ -lexecinfo CPPPATH=/opt/pkg/include/libbson-1.0\ /opt/pkg/include/libmongoc-1.0 --ssl=on scons: Reading SConscript files ... /Users/pbulk/build/databases/mongodb4/work/mongo-r4.4.29/SConstruct:19: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import parse_version scons: running with args /opt/pkg/bin/python3.12 /opt/pkg/bin/scons-3.12 -j1 -j1 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --use-system-zstd --modules= MONGO_VERSION=4.4.29 CC=clang CXX=clang++ CFLAGS= -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 CXXFLAGS= -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 LINKFLAGS= -L/opt/pkg/lib -L/opt/pkg/lib -lexecinfo CPPPATH=/opt/pkg/include/libbson-1.0 /opt/pkg/include/libmongoc-1.0 --ssl=on Mkdir("build/scons") scons version: 4.9.1 python version: 3 12 11 'final' 0 CC is clang clang found in $PATH at /Users/pbulk/build/databases/mongodb4/work/.cwrapper/bin/clang /Users/pbulk/build/databases/mongodb4/work/.cwrapper/bin/clang resolves to /opt/pkg/libexec/cwrappers/cc-wrapper CXX is clang++ clang++ found in $PATH at /Users/pbulk/build/databases/mongodb4/work/.cwrapper/bin/clang++ /Users/pbulk/build/databases/mongodb4/work/.cwrapper/bin/clang++ resolves to /opt/pkg/libexec/cwrappers/c++-wrapper Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking that the C++ compiler can link a C++ program... yes Checking if C++ compiler "clang++" is GCC... no Checking if C++ compiler "clang++" is clang... yes Checking if C compiler "clang" is clang... yes Detected a aarch64 processor Checking if target OS macOS is supported by the toolchain... yes Checking if C compiler is clang 7.0 (or Apple XCode 10.2) or newer...yes Checking if C++ compiler is clang 7.0 (or Apple XCode 10.2) or newer...yes Checking for sufficient macOS target version minimum... yes Checking if C compiler supports -Wno-unused-local-typedefs... yes Checking if C compiler supports -Wno-unused-function... yes Checking if C compiler supports -Wno-unused-private-field... yes Checking if C compiler supports -Wno-deprecated-declarations... yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... yes Checking if C compiler supports -Wno-tautological-constant-compare... yes Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... yes Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... yes Checking if C compiler supports -Wno-unused-const-variable... yes Checking if C compiler supports -Wno-unused-but-set-variable... yes Checking if C compiler supports -Wno-missing-braces... yes Checking if C compiler supports -Wno-inconsistent-missing-override... yes Checking if C compiler supports -Wno-potentially-evaluated-expression... yes Checking if C++ compiler supports -Wpessimizing-move... yes Checking if C++ compiler supports -Wredundant-move... yes Checking if C++ compiler supports -Wno-maybe-uninitialized... no Checking if C++ compiler supports -Wno-undefined-var-template... yes Checking if C++ compiler supports -Wno-instantiation-after-specialization... yes Checking if C compiler supports -Wno-unused-lambda-capture... yes Checking if C compiler supports -Wno-exceptions... yes Checking if C++ compiler supports -fsized-deallocation... yes Checking if C++ compiler supports -Wno-defaulted-function-deleted... yes Checking if C++ compiler supports -Wunused-exception-parameter... yes Checking -Wnon-virtual-dtor for false positives... no Checking if C compiler supports -Wunguarded-availability... yes Checking if we are using libstdc++... no Checking if C++ compiler supports -std=c++17... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14/17 support Checking for C++17... yes Checking for memset_s... yes Checking for C function strnlen()... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... no Checking off_t is 8 bytes... yes Checking for storage class thread_local yes Checking for C++14 std::enable_if_t support...yes Checking if pthread_setname_np is supported... no Using SSL Provider: apple Checking for C library pcre... yes Checking for C library pcrecpp... yes Checking for C library snappy... yes Checking for C library z... yes Checking for C library zstd... yes Checking for C library yaml-cpp... yes Checking for C library icudata... yes Checking for C library rt... no Checking for C library dl... yes Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking for extended alignment 64 for concurrency types... yes Checking for mongoc_get_major_version() in C library mongoc-1.0... yes Checking if mongoc version is 1.13.0 or newer...yes Checking for curl_global_init(0) in C library curl... yes Checking if C compiler supports -moutline-atomics... yes Checking for C function fallocate()... no Checking for C function sync_file_range()... no Checking for C header file arm_neon.h... yes /Users/pbulk/build/databases/mongodb4/work/mongo-r4.4.29/src/mongo/installer/msi/SConscript:49: SyntaxWarning: invalid escape sequence '\m' enterprisebase = 'src\mongo\db\modules\enterprise' scons: done reading SConscript files. scons: Building targets ... Install file: "distsrc/README" as "build/install/README" Install file: "etc/macos_mongodb.plist" as "build/install/macos_mongodb.plist" Install file: "distsrc/LICENSE-Community.txt" as "build/install/LICENSE-Community.txt" Install file: "distsrc/MPL-2" as "build/install/MPL-2" Install file: "distsrc/THIRD-PARTY-NOTICES" as "build/install/THIRD-PARTY-NOTICES" Creating 'build/59f4f0dd/mongo/config.h' Generating build/59f4f0dd/mongo/db/logical_session_id_gen.cpp /opt/pkg/bin/python3.12 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.h build/59f4f0dd/mongo/base/error_codes.h /opt/pkg/bin/python3.12 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.cpp build/59f4f0dd/mongo/base/error_codes.cpp clang++ -o build/59f4f0dd/mongo/db/auth/restriction_environment.o -c -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -Wunused-exception-parameter -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=armv8.2-a -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/restriction_environment.cpp In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:40: In file included from src/third_party/boost-1.70.0/boost/optional.hpp:15: In file included from src/third_party/boost-1.70.0/boost/optional/optional.hpp:38: src/third_party/boost-1.70.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] template struct has_nothrow_constructor : public integral_constant{}; ^ src/third_party/boost-1.70.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR' # define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible::value) ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:40: In file included from src/third_party/boost-1.70.0/boost/optional.hpp:15: In file included from src/third_party/boost-1.70.0/boost/optional/optional.hpp:47: In file included from src/third_party/boost-1.70.0/boost/type_traits/is_nothrow_move_assignable.hpp:16: src/third_party/boost-1.70.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] BOOST_HAS_NOTHROW_ASSIGN(T) ^ src/third_party/boost-1.70.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN' # define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile::value && is_assignable::value) ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:40: In file included from src/third_party/boost-1.70.0/boost/optional.hpp:15: In file included from src/third_party/boost-1.70.0/boost/optional/optional.hpp:53: In file included from src/third_party/boost-1.70.0/boost/move/utility.hpp:30: In file included from src/third_party/boost-1.70.0/boost/move/traits.hpp:31: src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:805:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:272:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:128:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:812:30: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins] { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE(T); }; ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:246:62: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE' #define BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_CONSTRUCTOR(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:119:52: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_CONSTRUCTOR' # define BOOST_MOVE_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:822:30: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins] static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_CONSTRUCTIBLE(T); ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:240:60: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_CONSTRUCTIBLE' BOOST_MOVE_HAS_TRIVIAL_COPY(T)) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:122:45: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_COPY' # define BOOST_MOVE_HAS_TRIVIAL_COPY(T) __has_trivial_copy(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:840:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:260:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:125:48: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) ) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:856:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:278:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:131:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:863:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:284:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) ^ src/third_party/boost-1.70.0/boost/move/detail/type_traits.hpp:134:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:42: In file included from src/mongo/db/namespace_string.h:40: In file included from src/mongo/db/repl/optime.h:34: In file included from src/mongo/bson/bsonobj.h:42: In file included from src/mongo/base/string_data_comparator_interface.h:33: In file included from src/mongo/stdx/unordered_map.h:32: In file included from src/mongo/stdx/trusted_hasher.h:34: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/hash_function_defaults.h:55: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/hash.h:64: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.h:43: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/fixed_array.h:50: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/compressed_tuple.h:39: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/utility/utility.h:51: src/third_party/abseil-cpp-master/abseil-cpp/absl/meta/type_traits.h:212:36: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] : std::integral_constant::type) && ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:43: In file included from src/mongo/db/service_context.h:41: In file included from src/mongo/db/storage/storage_engine.h:39: In file included from src/mongo/db/storage/temporary_record_store.h:32: In file included from src/mongo/db/storage/record_store.h:36: In file included from src/mongo/db/exec/collection_scan_common.h:33: In file included from src/mongo/db/record_id.h:32: In file included from src/third_party/boost-1.70.0/boost/functional/hash.hpp:6: src/third_party/boost-1.70.0/boost/container_hash/hash.hpp:130:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? struct hash_base : std::unary_function {}; ~~~~~^~~~~~~~~~~~~~ __unary_function /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:42: In file included from src/mongo/db/namespace_string.h:40: In file included from src/mongo/db/repl/optime.h:34: In file included from src/mongo/bson/bsonobj.h:42: In file included from src/mongo/base/string_data_comparator_interface.h:33: In file included from src/mongo/stdx/unordered_map.h:32: In file included from src/mongo/stdx/trusted_hasher.h:34: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/hash_function_defaults.h:55: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/hash.h:64: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.h:43: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/fixed_array.h:50: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/compressed_tuple.h:39: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/utility/utility.h:51: src/third_party/abseil-cpp-master/abseil-cpp/absl/meta/type_traits.h:293:36: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins] : std::integral_constant>' requested here bool unused = absl::is_trivially_copy_constructible::value&& ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/types/optional.h:485:45: note: in instantiation of default argument for 'optional_data>' required here class optional : private optional_internal::optional_data, ^~~~~~~~~~~~~~~~ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:545:34: note: in instantiation of template class 'absl::optional>' requested here absl::optional alloc_; ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:552:28: note: in instantiation of template class 'absl::container_internal::node_handle_base, std::allocator>' requested here class node_handle : public node_handle_base { ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:1119:43: note: in instantiation of template class 'absl::container_internal::node_handle, std::allocator>' requested here for (; first != last; ++first) insert(*first); ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:860:5: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::insert' requested here insert(first, last); ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:907:9: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::raw_hash_set' requested here : raw_hash_set(init.begin(), init.end(), bucket_count, hash, eq, alloc) {} ^ src/mongo/bson/bson_comparator_interface_base.h:249:16: note: in instantiation of member function 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::raw_hash_set' requested here return UnorderedSet(init, 0, Hasher(this), EqualTo(this)); ^ src/mongo/bson/bsonobj_comparator_interface.h:69:16: note: in instantiation of member function 'mongo::BSONComparatorInterfaceBase::makeUnorderedSet' requested here return makeUnorderedSet(init); ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:42: In file included from src/mongo/db/namespace_string.h:40: In file included from src/mongo/db/repl/optime.h:34: In file included from src/mongo/bson/bsonobj.h:42: In file included from src/mongo/base/string_data_comparator_interface.h:33: In file included from src/mongo/stdx/unordered_map.h:32: In file included from src/mongo/stdx/trusted_hasher.h:34: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/hash_function_defaults.h:55: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/hash.h:64: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.h:43: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/fixed_array.h:50: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/compressed_tuple.h:39: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/utility/utility.h:51: src/third_party/abseil-cpp-master/abseil-cpp/absl/meta/type_traits.h:212:36: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] : std::integral_constant>' requested here is_trivially_destructible::value> { ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/types/optional.h:265:31: note: in instantiation of template class 'absl::is_trivially_copy_constructible>' requested here bool unused = absl::is_trivially_copy_constructible::value&& ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/types/optional.h:485:45: note: in instantiation of default argument for 'optional_data>' required here class optional : private optional_internal::optional_data, ^~~~~~~~~~~~~~~~ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:545:34: note: in instantiation of template class 'absl::optional>' requested here absl::optional alloc_; ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:552:28: note: in instantiation of template class 'absl::container_internal::node_handle_base, std::allocator>' requested here class node_handle : public node_handle_base { ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:1119:43: note: in instantiation of template class 'absl::container_internal::node_handle, std::allocator>' requested here for (; first != last; ++first) insert(*first); ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:860:5: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::insert' requested here insert(first, last); ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:907:9: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::raw_hash_set' requested here : raw_hash_set(init.begin(), init.end(), bucket_count, hash, eq, alloc) {} ^ src/mongo/bson/bson_comparator_interface_base.h:249:16: note: in instantiation of member function 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::raw_hash_set' requested here return UnorderedSet(init, 0, Hasher(this), EqualTo(this)); ^ src/mongo/bson/bsonobj_comparator_interface.h:69:16: note: in instantiation of member function 'mongo::BSONComparatorInterfaceBase::makeUnorderedSet' requested here return makeUnorderedSet(init); ^ In file included from src/mongo/db/auth/restriction_environment.cpp:32: In file included from src/mongo/db/auth/restriction_environment.h:34: In file included from src/mongo/db/client.h:42: In file included from src/mongo/db/namespace_string.h:40: In file included from src/mongo/db/repl/optime.h:34: In file included from src/mongo/bson/bsonobj.h:42: In file included from src/mongo/base/string_data_comparator_interface.h:33: In file included from src/mongo/stdx/unordered_map.h:32: In file included from src/mongo/stdx/trusted_hasher.h:34: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/hash_function_defaults.h:55: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/hash.h:64: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.h:43: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/fixed_array.h:50: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/compressed_tuple.h:39: In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/utility/utility.h:51: src/third_party/abseil-cpp-master/abseil-cpp/absl/meta/type_traits.h:328:17: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] bool, __has_trivial_assign(typename std::remove_reference::type) && ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/types/optional.h:266:21: note: in instantiation of template class 'absl::is_trivially_copy_assignable>' requested here absl::is_trivially_copy_assignable>' required here class optional : private optional_internal::optional_data, ^~~~~~~~~~~~~~~~ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:545:34: note: in instantiation of template class 'absl::optional>' requested here absl::optional alloc_; ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:552:28: note: in instantiation of template class 'absl::container_internal::node_handle_base, std::allocator>' requested here class node_handle : public node_handle_base { ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:1119:43: note: in instantiation of template class 'absl::container_internal::node_handle, std::allocator>' requested here for (; first != last; ++first) insert(*first); ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:860:5: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::insert' requested here insert(first, last); ^ src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.h:907:9: note: in instantiation of function template specialization 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::raw_hash_set' requested here : raw_hash_set(init.begin(), init.end(), bucket_count, hash, eq, alloc) {} ^ src/mongo/bson/bson_comparator_interface_base.h:249:16: note: in instantiation of member function 'absl::container_internal::raw_hash_set, mongo::HashImprover::Hasher, mongo::BSONObj>, mongo::BSONComparatorInterfaceBase::EqualTo, std::allocator>::raw_hash_set' requested here return UnorderedSet(init, 0, Hasher(this), EqualTo(this)); ^ src/mongo/bson/bsonobj_comparator_interface.h:69:16: note: in instantiation of member function 'mongo::BSONComparatorInterfaceBase::makeUnorderedSet' requested here return makeUnorderedSet(init); ^ 15 warnings and 1 error generated. scons: *** [build/59f4f0dd/mongo/db/auth/restriction_environment.o] Error 1 scons: building terminated because of errors. build/59f4f0dd/mongo/db/auth/restriction_environment.o failed: Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/mongodb4 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/mongodb4