[package - main-arm64-default][databases/mongodb42] Failed for mongodb42-4.2.14 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 05 Aug 2021 22:09: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-lists@klop.ws
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p55c8c5ac7db5_saaccfdde3d/logs/mongodb42-4.2.14.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p55c8c5ac7db5_saaccfdde3d
Log:

=>> Building databases/mongodb42
build started at Thu Aug  5 20:05:16 UTC 2021
port directory: /usr/ports/databases/mongodb42
package name: mongodb42-4.2.14
building for: FreeBSD main-arm64-default-job-02 14.0-CURRENT FreeBSD 14.0-CURRENT 1400028 arm64
maintained by: ronald-lists@klop.ws
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400028
Job Id: 02




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400028
UNAME_v=FreeBSD 14.0-CURRENT 1400028
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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 mongodb42-4.2.14:
     LTO=on: Use Link-Time Optimization
     SASL=on: SASL authentication support
     SSL=on: SSL protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ronald-lists@klop.ws
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  HOME=/wrkdirs/usr/ports/databases/mongodb42/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongodb42/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  HOME=/wrkdirs/usr/ports/databases/mongodb42/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongodb42/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fuse-ld=lld  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 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--
LEGACY_LIMITS="@comment " MODERN_LIMITS="" 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 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400028
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
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 SSPLv1 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mongodb42-4.2.14 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[main-arm64-default-job-02] Installing pkg-1.17.1...
[main-arm64-default-job-02] Extracting pkg-1.17.1: .......... done
===>   mongodb42-4.2.14 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongodb42-4.2.14
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.14 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.14 for building
=> SHA256 Checksum OK for mongodb-src-r4.2.14.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.14 for building
===>  Extracting for mongodb42-4.2.14
=> SHA256 Checksum OK for mongodb-src-r4.2.14.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mongodb42-4.2.14
/bin/mv /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.14/src/third_party/wiredtiger/src/checksum/power8/crc32.sx /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.14/src/third_party/wiredtiger/src/checksum/power8/crc32.S
===>  Applying extra patch patches for mongodb42-4.2.14 from /usr/ports/databases/mongodb42/files/aarch64
===>  Applying FreeBSD patches for mongodb42-4.2.14 from /usr/ports/databases/mongodb42/files
===========================================================================
=======================<phase: build-depends  >============================
===>   mongodb42-4.2.14 depends on package: py38-cheetah3>0 - not found
===>   Installing existing package /packages/All/py38-cheetah3-3.2.6_1.pkg
<snip>
           ^~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM'
#define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1'
#define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
In file included from src/mongo/db/catalog/drop_collection.cpp:42:
In file included from src/mongo/db/index_builds_coordinator.h:40:
In file included from src/mongo/db/collection_index_builds_tracker.h:35:
src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
    using IndexCatalogStats = struct {
                                    ^
                                     IndexCatalogStats
src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer
        int numIndexesBefore = 0;
        ^~~~~~~~~~~~~~~~~~~~
src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration
    using IndexCatalogStats = struct {
          ^
2 warnings generated.
c++ -o build/opt/mongo/db/catalog/capped_utils.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto
  -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/catalog/capped_utils.cpp
In file included from src/mongo/db/catalog/capped_utils.cpp:43:
In file included from src/mongo/db/catalog_raii.h:33:
In file included from src/mongo/db/catalog/collection.h:42:
In file included from src/mongo/db/catalog/collection_info_cache.h:33:
In file included from src/mongo/db/query/plan_cache.h:37:
In file included from src/mongo/db/query/canonical_query.h:39:
In file included from src/mongo/db/query/parsed_projection.h:33:
In file included from src/mongo/db/matcher/expression_parser.h:38:
In file included from src/mongo/db/matcher/expression_with_placeholder.h:37:
In file included from src/mongo/db/pipeline/expression_context.h:43:
src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value]
    static MONGO_DECLARE_SHIM(
           ^~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM'
#define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1'
#define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
In file included from src/mongo/db/catalog/capped_utils.cpp:47:
In file included from src/mongo/db/index_builds_coordinator.h:40:
In file included from src/mongo/db/collection_index_builds_tracker.h:35:
src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
    using IndexCatalogStats = struct {
                                    ^
                                     IndexCatalogStats
src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer
        int numIndexesBefore = 0;
        ^~~~~~~~~~~~~~~~~~~~
src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration
    using IndexCatalogStats = struct {
          ^
2 warnings generated.
c++ -o build/opt/mongo/db/catalog/drop_indexes.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto
  -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/catalog/drop_indexes.cpp
In file included from src/mongo/db/catalog/drop_indexes.cpp:39:
In file included from src/mongo/db/concurrency/write_conflict_exception.h:35:
In file included from src/mongo/db/curop.h:34:
In file included from src/mongo/db/clientcursor.h:39:
In file included from src/mongo/db/query/plan_executor.h:36:
In file included from src/mongo/db/query/query_solution.h:40:
In file included from src/mongo/db/query/plan_cache.h:37:
In file included from src/mongo/db/query/canonical_query.h:39:
In file included from src/mongo/db/query/parsed_projection.h:33:
In file included from src/mongo/db/matcher/expression_parser.h:38:
In file included from src/mongo/db/matcher/expression_with_placeholder.h:37:
In file included from src/mongo/db/pipeline/expression_context.h:43:
src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value]
    static MONGO_DECLARE_SHIM(
           ^~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM'
#define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1'
#define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
In file included from src/mongo/db/catalog/drop_indexes.cpp:43:
In file included from src/mongo/db/index_builds_coordinator.h:40:
In file included from src/mongo/db/collection_index_builds_tracker.h:35:
src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
    using IndexCatalogStats = struct {
                                    ^
                                     IndexCatalogStats
src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer
        int numIndexesBefore = 0;
        ^~~~~~~~~~~~~~~~~~~~
src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration
    using IndexCatalogStats = struct {
          ^
2 warnings generated.
c++ -o build/opt/mongo/db/catalog/drop_database.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flt
 o -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/catalog/drop_database.cpp
In file included from src/mongo/db/catalog/drop_database.cpp:39:
In file included from src/mongo/db/catalog/database_holder.h:36:
In file included from src/mongo/db/catalog/collection.h:42:
In file included from src/mongo/db/catalog/collection_info_cache.h:33:
In file included from src/mongo/db/query/plan_cache.h:37:
In file included from src/mongo/db/query/canonical_query.h:39:
In file included from src/mongo/db/query/parsed_projection.h:33:
In file included from src/mongo/db/matcher/expression_parser.h:38:
In file included from src/mongo/db/matcher/expression_with_placeholder.h:37:
In file included from src/mongo/db/pipeline/expression_context.h:43:
src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value]
    static MONGO_DECLARE_SHIM(
           ^~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM'
#define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1'
#define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
In file included from src/mongo/db/catalog/drop_database.cpp:44:
In file included from src/mongo/db/index_builds_coordinator.h:40:
In file included from src/mongo/db/collection_index_builds_tracker.h:35:
src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
    using IndexCatalogStats = struct {
                                    ^
                                     IndexCatalogStats
src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer
        int numIndexesBefore = 0;
        ^~~~~~~~~~~~~~~~~~~~
src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration
    using IndexCatalogStats = struct {
          ^
2 warnings generated.
/usr/local/bin/ar rcsTD build/opt/mongo/db/catalog/libcatalog_helpers.a build/opt/mongo/db/catalog/capped_utils.o build/opt/mongo/db/catalog/coll_mod.o build/opt/mongo/db/catalog/collection_compact.o build/opt/mongo/db/catalog/create_collection.o build/opt/mongo/db/catalog/drop_collection.o build/opt/mongo/db/catalog/drop_database.o build/opt/mongo/db/catalog/drop_indexes.o build/opt/mongo/db/catalog/rename_collection.o
Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcatalog_helpers.a
c++ -o build/opt/mongo/db/repl/rollback_checker.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flt
 o -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/repl/rollback_checker.cpp
/usr/local/bin/ar rcsTD build/opt/mongo/db/repl/librollback_checker.a build/opt/mongo/db/repl/rollback_checker.o
Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_checker.a
c++ -o build/opt/mongo/s/client/sharding_network_connection_hook.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-prot
 ector-strong -flto -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/s/client/sharding_network_connection_hook.cpp
c++ -o build/opt/mongo/db/matcher/extensions_callback_real.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-
 strong -flto -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/matcher/extensions_callback_real.cpp
c++ -o build/opt/mongo/db/ops/write_ops_retryability.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong
  -flto -fno-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/ops/write_ops_retryability.cpp
c++ -o build/opt/mongo/db/ftdc/collector.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-
 builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/ftdc/collector.cpp
c++ -o build/opt/mongo/db/commands/validate.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -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-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto -f
 no-builtin-memcmp -moutline-atomics -fpic -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/db/commands/validate.cpp
In file included from src/mongo/db/commands/validate.cpp:34:
In file included from src/mongo/db/catalog/collection.h:42:
In file included from src/mongo/db/catalog/collection_info_cache.h:33:
In file included from src/mongo/db/query/plan_cache.h:37:
In file included from src/mongo/db/query/canonical_query.h:39:
In file included from src/mongo/db/query/parsed_projection.h:33:
In file included from src/mongo/db/matcher/expression_parser.h:38:
In file included from src/mongo/db/matcher/expression_with_placeholder.h:37:
In file included from src/mongo/db/pipeline/expression_context.h:43:
src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value]
    static MONGO_DECLARE_SHIM(
           ^~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM'
#define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1'
#define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
In file included from src/mongo/db/commands/validate.cpp:40:
In file included from src/mongo/db/storage/durable_catalog.h:37:
src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
    using IndexCatalogStats = struct {
                                    ^
                                     IndexCatalogStats
src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer
        int numIndexesBefore = 0;
        ^~~~~~~~~~~~~~~~~~~~
src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration
    using IndexCatalogStats = struct {
          ^
ld.lld: error: undefined hidden symbol: __aarch64_have_lse_atomics
>>> referenced by outline_atomic_cas1_2.S:121
>>>               outline_atomic_cas1_2.o:(__aarch64_cas1_acq) in archive /usr/lib/libgcc.a
>>> referenced by outline_atomic_cas1_2.S:121
>>>               outline_atomic_cas1_2.o:(__aarch64_cas1_acq) in archive /usr/lib/libgcc.a
>>> referenced by outline_atomic_cas1_4.S:121
>>>               outline_atomic_cas1_4.o:(__aarch64_cas1_acq_rel) in archive /usr/lib/libgcc.a
>>> referenced 49 more times
c++: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/opt/mongo/mongo] Error 1
2 warnings generated.
scons: building terminated because of errors.
build/opt/mongo/mongo failed: Error 1
===> 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/mongodb42