=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for mongodb-3.4.24nb22
=> Replacing database paths.
=> Changing /var to /var.
cd /pbulk/work/databases/mongodb3/work/mongodb-src-r3.4.24 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include CPPFLAGS=-fno-jump-tables\ -I/usr/include\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran 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=-Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ -Wl,-zrelro\ -lexecinfo\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/pbulk/work/databases/mongodb3/work/.cwrapper/bin:/pbulk/work/databases/mongodb3/work/.buildlink/bin:/pbulk/work/databases/mongodb3/work/.gcc/bin:/pbulk/work/databases/mongodb3/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/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=/usr/pkg/etc HOME=/pbulk/work/databases/mongodb3/work/.home CWRAPPERS_CONFIG_DIR=/pbulk/work/databases/mongodb3/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/pbulk/work/databases/mongodb3/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/pbulk/work/databases/mongodb3/work/.tools/bin/itstool GDBUS_CODEGEN=/pbulk/work/databases/mongodb3/work/.tools/bin/gdbus-codegen PKG_CONFIG=/pbulk/work/databases/mongodb3/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/pbulk/work/databases/mongodb3/work/.buildlink/lib/pkgconfig:/pbulk/work/databases/mongodb3/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/pbulk/work/databases/mongodb3/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/pbulk/work/databases/mongodb3/work/.cwrapper/config /usr/pkg/bin/scons -j8 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-icu --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --wiredtiger=on  CC=gcc CXX=c++ CFLAGS=-O2\ \ -I/usr/include\ -I/usr/pkg/include CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include  LINKFLAGS=\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ \ \ -Wl,-zrelro\ -lexecinfo\ -L/usr/lib\ -Wl,-R/usr/lib CPPPATH= VERBOSE=1 core
scons: Reading SConscript files ...
Mkdir("build/scons")
scons version: 3.1.2
python version: 2 7 18 'final' 0
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... yes
Checking if C compiler "gcc" is GCC... yes
Detected a x86_64 processor
Checking if target OS netbsd is supported by the toolchain yes
Checking if C compiler is GCC 5.3.0 or newer...yes
Checking if C++ compiler is GCC 5.3.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... no
Checking if C compiler supports -Wno-deprecated-declarations... yes
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
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... no
Checking if C compiler supports -Wno-potentially-evaluated-expression... no
Checking if C++ compiler supports -Wpessimizing-move... no
Checking if C++ compiler supports -Wredundant-move... no
Checking if C++ compiler supports -Wno-maybe-uninitialized... yes
Checking if C++ compiler supports -Wno-undefined-var-template... no
Checking -Wnon-virtual-dtor for false positives... no
Checking if we are using libstdc++... yes
Checking if C++ compiler supports -std=c++11... yes
Checking if C compiler supports -std=c11... yes
WARNING: System versions of C++ libraries must be compiled with C++11/14 support
Checking for C++11... yes
Checking for memset_s... no
Checking for C function strnlen()... yes
Checking for libstdc++ 5.3.0 or better... 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 C compiler supports -fno-builtin-memcmp... yes
Checking for storage class thread_local yes
Checking for storage class __thread yes
Checking for storage class __declspec(thread) no
Checking for C++11 is_trivially_copyable support... yes
Checking for C++14 std::enable_if_t support...yes
Checking for C++14 std::make_unique support... yes
Checking for C++11 std::align support... yes
Checking if pthread_setname_np is supported... no
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 yaml-cpp... yes
Checking for C library icudata... yes
Checking for C library rt... yes
Checking for C library dl... no
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 for C library execinfo... yes
Checking if std::atomic<int64_t> works... yes
Checking if std::atomic<uint64_t> works... yes
Checking if std::atomic<int32_t> works... yes
Checking if std::atomic<uint32_t> works... yes
Checking for C function fallocate()... no
Checking for C function sync_file_range()... no
Checking for C header file x86intrin.h... yes
scons: done reading SConscript files.
scons: Building targets ...
/usr/pkg/bin/python2.7 src/mongo/base/generate_error_codes.py cpp src/mongo/base/error_codes.err --cpp-header=build/opt/mongo/base/error_codes.h --cpp-source=build/opt/mongo/base/error_codes.cpp
Creating 'build/opt/mongo/config.h'
/usr/pkg/bin/python2.7 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type.h build/opt/mongo/db/auth/action_type.cpp
gcc -o build/opt/mongo/crypto/tom/crypt_argchk.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_argchk.c
gcc -o build/opt/mongo/crypto/tom/crypt_find_hash.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_find_hash.c
gcc -o build/opt/mongo/crypto/tom/crypt_hash_descriptor.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_hash_descriptor.c
gcc -o build/opt/mongo/crypto/tom/crypt_hash_is_valid.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_hash_is_valid.c
gcc -o build/opt/mongo/crypto/tom/crypt_register_hash.o -c -O2 -I/usr/include -I/usr/pkg/include -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/tom/crypt_register_hash.c
c++ -o build/opt/mongo/client/dbclient.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/dbclient.cpp
c++ -o build/opt/mongo/crypto/sha1_block.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/crypto/sha1_block.cpp
c++ -o build/opt/mongo/client/connection_string_connect.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/connection_string_connect.cpp
c++ -o build/opt/mongo/base/secure_allocator.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/base/secure_allocator.cpp
c++ -o build/opt/mongo/client/dbclient_rs.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/dbclient_rs.cpp
In file included from src/third_party/asio-master/asio/include/asio/buffer.hpp:27:0,
                 from src/third_party/asio-master/asio/include/asio/detail/reactive_socket_service.hpp:22,
                 from src/third_party/asio-master/asio/include/asio/basic_socket.hpp:40,
                 from src/third_party/asio-master/asio/include/asio/basic_datagram_socket.hpp:20,
                 from src/third_party/asio-master/asio/include/asio.hpp:21,
                 from src/mongo/util/net/asio_message_port.h:31,
                 from src/mongo/client/dbclient.cpp:69:
src/third_party/asio-master/asio/include/asio/detail/string_view.hpp:23:11: fatal error: experimental/string_view: No such file or directory
 # include <experimental/string_view>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
c++ -o build/opt/mongo/shell/dbshell.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/shell/dbshell.cpp
c++ -o build/opt/mongo/client/global_conn_pool.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/global_conn_pool.cpp
scons: *** [build/opt/mongo/client/dbclient.o] Error 1
c++ -o build/opt/mongo/client/read_preference.o -c -O2 -I/usr/include -I/usr/pkg/include -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -D__netbsd__ -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -I/dist/pkg/include -Ibuild/opt -Isrc src/mongo/client/read_preference.cpp
scons: building terminated because of errors.
build/opt/mongo/client/dbclient.o failed: Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/databases/mongodb3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mongodb3