=> 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 works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic 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/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/bson/mutable/document.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/bson/mutable/document.cpp c++ -o build/opt/mongo/client/mongo_uri.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/mongo_uri.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 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 ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. c++ -o build/opt/mongo/client/replica_set_monitor_manager.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/replica_set_monitor_manager.cpp scons: *** [build/opt/mongo/client/dbclient.o] Error 1 c++ -o build/opt/mongo/client/index_spec.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/index_spec.cpp In file included from src/third_party/boost-1.60.0/boost/function/detail/maybe_include.hpp:23:0, from src/third_party/boost-1.60.0/boost/function/detail/function_iterate.hpp:14, from src/third_party/boost-1.60.0/boost/preprocessor/iteration/detail/iter/forward1.hpp:57, from src/third_party/boost-1.60.0/boost/function.hpp:64, from src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:18, from src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:24, from src/mongo/client/mongo_uri.cpp:47: src/third_party/boost-1.60.0/boost/function/function_template.hpp: In instantiation of 'void boost::detail::function::basic_vtable2::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >; mpl_::true_ = mpl_::bool_]': src/third_party/boost-1.60.0/boost/function/function_template.hpp:608:27: required from 'bool boost::detail::function::basic_vtable2::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:498:27: required from 'bool boost::detail::function::basic_vtable2::assign_to(F, boost::detail::function::function_buffer&) const [with F = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:939:7: required from 'void boost::function2::assign_to(Functor) [with Functor = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:727:7: required from 'boost::function2::function2(Functor, typename boost::enable_if_c<(! boost::is_integral::value), int>::type) [with Functor = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >; typename boost::enable_if_c<(! boost::is_integral::value), int>::type = int]' src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:51:36: required from 'boost::algorithm::detail::find_iterator_base::find_iterator_base(FinderT, int) [with FinderT = boost::algorithm::detail::first_finderF; IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:283:29: required from 'boost::algorithm::split_iterator::split_iterator(RangeT&, FinderT) [with FinderT = boost::algorithm::detail::first_finderF; RangeT = const std::__cxx11::basic_string; IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:372:20: required from 'boost::algorithm::split_iterator::type> boost::algorithm::make_split_iterator(RangeT&, FinderT) [with RangeT = const std::__cxx11::basic_string; FinderT = boost::algorithm::detail::first_finderF; typename boost::range_iterator::type = __gnu_cxx::__normal_iterator >]' src/mongo/client/mongo_uri.cpp:139:97: required from here src/third_party/boost-1.60.0/boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type 'boost::algorithm::detail::first_finderF' and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] new (reinterpret_cast(&functor.data)) FunctionObj(f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/boost-1.60.0/boost/function/detail/prologue.hpp:17:0, from src/third_party/boost-1.60.0/boost/function.hpp:24, from src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:18, from src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:24, from src/mongo/client/mongo_uri.cpp:47: src/third_party/boost-1.60.0/boost/function/function_base.hpp: In instantiation of 'static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::algorithm::detail::first_finderF]': src/third_party/boost-1.60.0/boost/function/function_base.hpp:354:56: required from 'static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::algorithm::detail::first_finderF; mpl_::true_ = mpl_::bool_]' src/third_party/boost-1.60.0/boost/function/function_base.hpp:402:18: required from 'static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::algorithm::detail::first_finderF]' src/third_party/boost-1.60.0/boost/function/function_base.hpp:430:20: required from 'static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::algorithm::detail::first_finderF]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:937:13: required from 'void boost::function2::assign_to(Functor) [with Functor = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/function/function_template.hpp:727:7: required from 'boost::function2::function2(Functor, typename boost::enable_if_c<(! boost::is_integral::value), int>::type) [with Functor = boost::algorithm::detail::first_finderF; R = boost::iterator_range<__gnu_cxx::__normal_iterator > >; T0 = __gnu_cxx::__normal_iterator >; T1 = __gnu_cxx::__normal_iterator >; typename boost::enable_if_c<(! boost::is_integral::value), int>::type = int]' src/third_party/boost-1.60.0/boost/algorithm/string/detail/find_iterator.hpp:51:36: required from 'boost::algorithm::detail::find_iterator_base::find_iterator_base(FinderT, int) [with FinderT = boost::algorithm::detail::first_finderF; IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:283:29: required from 'boost::algorithm::split_iterator::split_iterator(RangeT&, FinderT) [with FinderT = boost::algorithm::detail::first_finderF; RangeT = const std::__cxx11::basic_string; IteratorT = __gnu_cxx::__normal_iterator >]' src/third_party/boost-1.60.0/boost/algorithm/string/find_iterator.hpp:372:20: required from 'boost::algorithm::split_iterator::type> boost::algorithm::make_split_iterator(RangeT&, FinderT) [with RangeT = const std::__cxx11::basic_string; FinderT = boost::algorithm::detail::first_finderF; typename boost::range_iterator::type = __gnu_cxx::__normal_iterator >]' src/mongo/client/mongo_uri.cpp:139:97: required from here src/third_party/boost-1.60.0/boost/function/function_base.hpp:308:13: warning: placement new constructing an object of type 'boost::detail::function::functor_manager_common >::functor_type {aka boost::algorithm::detail::first_finderF}' and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] new (reinterpret_cast(&out_buffer.data)) functor_type(*in_functor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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