[exp - 122amd64-default-build-as-user][databases/mongodb42] Failed for mongodb42-4.2.17 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 03 Oct 2021 13:01:23 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://package19.nyi.freebsd.org/data/122amd64-default-build-as-user/6eb40da0a671/logs/mongodb42-4.2.17.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=122amd64-default-build-as-user&build=6eb40da0a671
Log:

=>> Building databases/mongodb42
build started at Sun Oct  3 13:00:46 UTC 2021
port directory: /usr/ports/databases/mongodb42
package name: mongodb42-4.2.17
building for: FreeBSD 122amd64-default-build-as-user-job-09 12.2-RELEASE-p10 FreeBSD 12.2-RELEASE-p10 amd64
maintained by: ronald-lists@klop.ws
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p10
UNAME_r=12.2-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/poudriere/data/.m/122amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/122amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/122amd64-default-build-as-user/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.17:
     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="  -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=freebsd12  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=12.2 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--
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
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p10
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---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 SSPLv1 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mongodb42-4.2.17 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.2.pkg
[122amd64-default-build-as-user-job-09] Installing pkg-1.17.2...
[122amd64-default-build-as-user-job-09] Extracting pkg-1.17.2: .......... done
===>   mongodb42-4.2.17 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongodb42-4.2.17
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License SSPLv1 APACHE20 accepted by the user
=> mongodb-src-r4.2.17.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://fastdl.mongodb.org/src/mongodb-src-r4.2.17.tar.gz
mongodb-src-r4.2.17.tar.gz                              59 MB   93 MBps    01s
===> Fetching all distfiles required by mongodb42-4.2.17 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.17 for building
=> SHA256 Checksum OK for mongodb-src-r4.2.17.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.17 for building
===>  Extracting for mongodb42-4.2.17
=> SHA256 Checksum OK for mongodb-src-r4.2.17.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mongodb42-4.2.17
/bin/mv /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.17/src/third_party/wiredtiger/src/checksum/power8/crc32.sx /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.17/src/third_party/wiredtiger/src/checksum/power8/crc32.S
===>  Applying FreeBSD patches for mongodb42-4.2.17 from /usr/ports/databases/mongodb42/files
===========================================================================
=======================<phase: build-depends  >============================
===>   mongodb42-4.2.17 depends on package: py38-cheetah3>0 - not found
===>   Installing existing package /packages/All/py38-cheetah3-3.2.6_1.pkg
[122amd64-default-build-as-user-job-09] Installing py38-cheetah3-3.2.6_1...
[122amd64-default-build-as-user-job-09] `-- Installing py38-markdown-3.3.4...
[122amd64-default-build-as-user-job-09] |   `-- Installing py38-importlib-metadata-4.7.1...
[122amd64-default-build-as-user-job-09] |   | `-- Installing py38-setuptools-57.0.0...
[122amd64-default-build-as-user-job-09] |   |   `-- Installing python38-3.8.12...
[122amd64-default-build-as-user-job-09] |   |   | `-- Installing gettext-runtime-0.21...
[122amd64-default-build-as-user-job-09] |   |   |   `-- Installing indexinfo-0.3.1...
[122amd64-default-build-as-user-job-09] |   |   |   `-- Extracting indexinfo-0.3.1: .... done
[122amd64-default-build-as-user-job-09] |   |   | `-- Extracting gettext-runtime-0.21: .......... done
[122amd64-default-build-as-user-job-09] |   |   | `-- Installing libffi-3.3_1...
[122amd64-default-build-as-user-job-09] |   |   | `-- Extracting libffi-3.3_1: .......... done
[122amd64-default-build-as-user-job-09] |   |   | `-- Installing mpdecimal-2.5.1...
[122amd64-default-build-as-user-job-09] |   |   | `-- Extracting mpdecimal-2.5.1: .......... done
<snip>
===>   Installing existing package /packages/All/py38-yaml-5.4.1.pkg
[122amd64-default-build-as-user-job-09] Installing py38-yaml-5.4.1...
[122amd64-default-build-as-user-job-09] `-- Installing libyaml-0.2.5...
[122amd64-default-build-as-user-job-09] `-- Extracting libyaml-0.2.5: ......... done
[122amd64-default-build-as-user-job-09] Extracting py38-yaml-5.4.1: .......... done
===>   mongodb42-4.2.17 depends on package: py38-yaml>=3.11 - found
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on package: py38-psutil>0 - not found
===>   Installing existing package /packages/All/py38-psutil-5.8.0.pkg
[122amd64-default-build-as-user-job-09] Installing py38-psutil-5.8.0...
[122amd64-default-build-as-user-job-09] Extracting py38-psutil-5.8.0: .......... done
===>   mongodb42-4.2.17 depends on package: py38-psutil>0 - found
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on file: /usr/local/bin/ar - not found
===>   Installing existing package /packages/All/binutils-2.37_1,1.pkg
[122amd64-default-build-as-user-job-09] Installing binutils-2.37_1,1...
[122amd64-default-build-as-user-job-09] Extracting binutils-2.37_1,1: .......... done
===>   mongodb42-4.2.17 depends on file: /usr/local/bin/ar - found
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on file: /usr/local/bin/python3.8 - found
===>   mongodb42-4.2.17 depends on file: /usr/local/bin/scons-3.8 - not found
===>   Installing existing package /packages/All/scons-py38-4.2.0.pkg
[122amd64-default-build-as-user-job-09] Installing scons-py38-4.2.0...
[122amd64-default-build-as-user-job-09] Extracting scons-py38-4.2.0: .......... done
===>   mongodb42-4.2.17 depends on file: /usr/local/bin/scons-3.8 - found
===>   Returning to build of mongodb42-4.2.17
===========================================================================
=======================<phase: lib-depends    >============================
===>   mongodb42-4.2.17 depends on shared library: libboost_system.so - not found
===>   Installing existing package /packages/All/boost-libs-1.72.0_5.pkg
[122amd64-default-build-as-user-job-09] Installing boost-libs-1.72.0_5...
[122amd64-default-build-as-user-job-09] `-- Installing icu-69.1,1...
[122amd64-default-build-as-user-job-09] `-- Extracting icu-69.1,1: .......... done
[122amd64-default-build-as-user-job-09] Extracting boost-libs-1.72.0_5: .......... done
=====
Message from boost-libs-1.72.0_5:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   mongodb42-4.2.17 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so)
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on shared library: libpcre.so - not found
===>   Installing existing package /packages/All/pcre-8.45.pkg
[122amd64-default-build-as-user-job-09] Installing pcre-8.45...
[122amd64-default-build-as-user-job-09] Extracting pcre-8.45: .......... done
===>   mongodb42-4.2.17 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so)
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on shared library: libcurl.so - not found
===>   Installing existing package /packages/All/curl-7.79.1.pkg
[122amd64-default-build-as-user-job-09] Installing curl-7.79.1...
[122amd64-default-build-as-user-job-09] `-- Installing ca_root_nss-3.69_1...
[122amd64-default-build-as-user-job-09] `-- Extracting ca_root_nss-3.69_1: ........ done
[122amd64-default-build-as-user-job-09] `-- Installing libnghttp2-1.44.0...
[122amd64-default-build-as-user-job-09] `-- Extracting libnghttp2-1.44.0: .......... done
[122amd64-default-build-as-user-job-09] `-- Installing libssh2-1.9.0_3,3...
[122amd64-default-build-as-user-job-09] `-- Extracting libssh2-1.9.0_3,3: .......... done
[122amd64-default-build-as-user-job-09] Extracting curl-7.79.1: .......... done
=====
Message from ca_root_nss-3.69_1:

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

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


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

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

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

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
===>   mongodb42-4.2.17 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on shared library: libsnappy.so - not found
===>   Installing existing package /packages/All/snappy-1.1.9_1.pkg
[122amd64-default-build-as-user-job-09] Installing snappy-1.1.9_1...
[122amd64-default-build-as-user-job-09] Extracting snappy-1.1.9_1: .......... done
===>   mongodb42-4.2.17 depends on shared library: libsnappy.so - found (/usr/local/lib/libsnappy.so)
===>   Returning to build of mongodb42-4.2.17
===>   mongodb42-4.2.17 depends on shared library: libsasl2.so - not found
===>   Installing existing package /packages/All/cyrus-sasl-2.1.27_2.pkg
[122amd64-default-build-as-user-job-09] Installing cyrus-sasl-2.1.27_2...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[122amd64-default-build-as-user-job-09] Extracting cyrus-sasl-2.1.27_2: .......... done
=====
Message from cyrus-sasl-2.1.27_2:

--
You can use sasldb2 for authentication, to add users use:

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
===>   mongodb42-4.2.17 depends on shared library: libsasl2.so - found (/usr/local/lib/libsasl2.so)
===>   Returning to build of mongodb42-4.2.17
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for mongodb42-4.2.17
===========================================================================
=======================<phase: build          >============================
===>  Building for mongodb42-4.2.17
scons: Reading SConscript files ...
scons: running with args /usr/local/bin/python3.8 /usr/local/bin/scons-3.8 -j2 --prefix=/wrkdirs/usr/ports/databases/mongodb42/work/stage/usr/local --use-system-zlib --use-system-pcre --use-system-snappy --use-system-boost --libc++ --cxx-std=17 --runtime-hardening=on -j 2 --disable-warnings-as-errors VERBOSE=on AR=/usr/local/bin/ar --lto=on --use-sasl-client --ssl CC=cc CCFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  CPPPATH=/usr/local/include CXX=c++ CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   LIBPATH=/usr/local/lib LINKFLAGS=  -fstack-protector-strong  PKGCONFIGDIR= PREFIX=/usr/local destdir=/wrkdirs/usr/ports/databases/mongodb42/work/stage core
Mkdir("build/scons")
scons version: 4.2.0
python version: 3 8 12 'final' 0
CC is cc
cc found in $PATH at /usr/bin/cc
CXX is c++
c++ found in $PATH at /usr/bin/c++
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 "c++" is GCC... no
Checking if C++ compiler "c++" is clang... yes
Checking if C compiler "cc" is clang... yes
Detected a x86_64 processor
Checking if target OS freebsd is supported by the toolchain... yes
Checking if C compiler is clang 7.0 (or Apple XCode 10.0) or newer...yes
Checking if C++ compiler is clang 7.0 (or Apple XCode 10.0) or newer...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... no
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 -Wnon-virtual-dtor for false positives... no
Checking if C compiler supports -fstack-protector-strong... yes
Checking if C++ compiler supports -stdlib=libc++... yes
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... yes
Checking off_t is 8 bytes... yes
Checking if linker supports -fuse-ld=gold... yes
Checking if linker supports -Wl,--build-id... yes
Checking if linker supports -Wl,--hash-style=gnu... yes
Checking if linker supports -Wl,-z,noexecstack... yes
Checking if linker supports -Wl,--warn-execstack... yes
Checking if linker supports -Wl,-z,relro... yes
Checking if C compiler supports -flto... yes
Checking if linker supports -flto... no
Link time optimization requested, but selected compiler does not honor -flto
See /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.17/build/scons/config.log for details
===> 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