=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for mongodb-4.0.6nb9 => Replacing database paths. => Changing /var to /var. => Replacing Python interpreter. cd /tmp/databases/mongodb/work/mongodb-src-r4.0.6 && /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\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CPPFLAGS=-fno-jump-tables\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 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\ -L/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.3.0\ -Wl,-R/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.3.0\ -L/usr/pkg/gcc8/lib\ -Wl,-R/usr/pkg/gcc8/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -pthread\ -lexecinfo LINKER_RPATH_FLAG=-R PATH=/tmp/databases/mongodb/work/.cwrapper/bin:/tmp/databases/mongodb/work/.buildlink/bin:/tmp/databases/mongodb/work/.gcc/bin:/tmp/databases/mongodb/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/databases/mongodb/work/.home CWRAPPERS_CONFIG_DIR=/tmp/databases/mongodb/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\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/databases/mongodb/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/tmp/databases/mongodb/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/databases/mongodb/work/.buildlink/lib/pkgconfig:/tmp/databases/mongodb/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/databases/mongodb/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/databases/mongodb/work/.cwrapper/config /usr/pkg/bin/scons -j4 --disable-warnings-as-errors --release --runtime-hardening=off --use-system-boost --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-sqlite --use-system-tcmalloc --use-system-yaml --use-system-zlib --wiredtiger=off CC=gcc CXX=c++ CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 LINKFLAGS=\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ \ \ -L/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.3.0\ -Wl,-R/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.3.0\ -L/usr/pkg/gcc8/lib\ -Wl,-R/usr/pkg/gcc8/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -pthread\ -lexecinfo CPPPATH=/usr/pkg/include/libbson-1.0\ /usr/pkg/include/libmongoc-1.0 VERBOSE=1 core scons: Reading SConscript files ... Mkdir("build/scons") scons version: 3.1.2 python version: 2 7 17 '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-tautological-constant-compare... no Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-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 if C++ compiler supports -Wno-instantiation-after-specialization... no Checking if C compiler supports -Wno-unused-lambda-capture... no Checking if C compiler supports -Wno-exceptions... no Checking -Wnon-virtual-dtor for false positives... no Checking if we are using libstdc++... yes Checking if C++ compiler supports -std=c++14... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14 support Checking for C++14... 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 C++14 std::enable_if_t support...yes Checking for C++14 std::make_unique support... yes Checking if pthread_setname_np is supported... no Checking for curl_global_init(0) in C library curl... yes 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++ header file sqlite3.h... yes Checking for C library sqlite3... yes Checking for C++ header file boost/filesystem/operations.hpp... yes Checking if system boost version is 1.49 or newer...yes Checking for C++ library boost_filesystem-mt... no Checking for C++ library boost_filesystem... yes Checking for C++ library boost_program_options-mt... no Checking for C++ library boost_program_options... yes Checking for C++ library boost_system-mt... no Checking for C++ library boost_system... yes Checking for C++ library boost_iostreams-mt... no Checking for C++ library boost_iostreams... 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 extended alignment 64 for concurrency types... yes Checking for mongoc_get_major_version() in C library mongoc-1.0... yes Checking if mongoc version is 1.13.0 or newer...yes scons: done reading SConscript files. scons: Building targets ... /usr/pkg/bin/python2.7 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/opt/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/opt/mongo/base/error_codes.cpp Creating 'build/opt/mongo/config.h' /usr/pkg/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/logical_session_id_gen.h --output build/opt/mongo/db/logical_session_id_gen.cpp src/mongo/db/logical_session_id.idl c++ -o build/opt/third_party/asio-master/asio/src/asio.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -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 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/asio-master/asio/src/asio.cpp c++ -o build/opt/mongo/db/repl/read_concern_args.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -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 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/read_concern_args.cpp c++ -o build/opt/mongo/util/password.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -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 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/password.cpp c++ -o build/opt/third_party/shim_mozjs.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -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 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/shim_mozjs.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -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 -w -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -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 -w -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.c c++ -o build/opt/mongo/util/signal_handlers.o -c -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -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 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/signal_handlers.cpp In file included from src/third_party/asio-master/asio/include/asio/buffer.hpp:27, from src/third_party/asio-master/asio/include/asio/detail/reactive_descriptor_service.hpp:24, from src/third_party/asio-master/asio/include/asio/detail/impl/reactive_descriptor_service.ipp:25, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:44, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/detail/string_view.hpp:34:12: error: 'std::basic_string_view' has not been declared using std::basic_string_view; ^~~~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/detail/string_view.hpp:35:12: error: 'std::string_view' has not been declared using std::string_view; ^~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/detail/reactive_descriptor_service.hpp:24, from src/third_party/asio-master/asio/include/asio/detail/impl/reactive_descriptor_service.ipp:25, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:44, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:5: warning: inline variables are only available with -std=c++17 or -std=gnu++17 basic_string_view data) ASIO_NOEXCEPT ^~~~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:5: error: 'template asio::const_buffers_1 asio::buffer' redeclared as different kind of symbol src/third_party/asio-master/asio/include/asio/buffer.hpp:963:26: note: previous declaration 'asio::const_buffers_1 asio::buffer(const void*, std::size_t)' inline ASIO_CONST_BUFFER buffer(const void* data, ^~~~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:5: error: 'basic_string_view' was not declared in this scope basic_string_view data) ASIO_NOEXCEPT ^~~~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:27: error: expected primary-expression before ',' token basic_string_view data) ASIO_NOEXCEPT ^ src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:35: error: expected primary-expression before '>' token basic_string_view data) ASIO_NOEXCEPT ^ src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:37: error: 'data' was not declared in this scope basic_string_view data) ASIO_NOEXCEPT ^~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1488:37: note: suggested alternative: 'detail' basic_string_view data) ASIO_NOEXCEPT ^~~~ detail src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:5: warning: inline variables are only available with -std=c++17 or -std=gnu++17 basic_string_view data, ^~~~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:5: error: 'template asio::const_buffers_1 asio::buffer' redeclared as different kind of symbol src/third_party/asio-master/asio/include/asio/buffer.hpp:963:26: note: previous declaration 'asio::const_buffers_1 asio::buffer(const void*, std::size_t)' inline ASIO_CONST_BUFFER buffer(const void* data, ^~~~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:5: error: 'basic_string_view' was not declared in this scope basic_string_view data, ^~~~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:27: error: expected primary-expression before ',' token basic_string_view data, ^ src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:35: error: expected primary-expression before '>' token basic_string_view data, ^ src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:37: error: 'data' was not declared in this scope basic_string_view data, ^~~~ src/third_party/asio-master/asio/include/asio/buffer.hpp:1509:37: note: suggested alternative: 'detail' basic_string_view data, ^~~~ detail src/third_party/asio-master/asio/include/asio/buffer.hpp:1510:17: error: expected primary-expression before 'max_size_in_bytes' std::size_t max_size_in_bytes) ASIO_NOEXCEPT ^~~~~~~~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/ip/address.hpp:24, from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:287:38: error: 'asio::ip::address_v4 asio::ip::make_address_v4' redeclared as different kind of symbol ASIO_DECL address_v4 make_address_v4(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:277:22: note: previous declaration 'asio::ip::address_v4 asio::ip::make_address_v4(const string&, asio::error_code&)' ASIO_DECL address_v4 make_address_v4( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:287:38: error: 'string_view' was not declared in this scope ASIO_DECL address_v4 make_address_v4(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:294:5: error: 'asio::ip::address_v4 asio::ip::make_address_v4' redeclared as different kind of symbol string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:277:22: note: previous declaration 'asio::ip::address_v4 asio::ip::make_address_v4(const string&, asio::error_code&)' ASIO_DECL address_v4 make_address_v4( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:294:5: error: 'string_view' was not declared in this scope string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:294:38: error: expected primary-expression before '&' token string_view str, asio::error_code& ec); ^ src/third_party/asio-master/asio/include/asio/ip/address_v4.hpp:294:40: error: 'ec' was not declared in this scope string_view str, asio::error_code& ec); ^~ In file included from src/third_party/asio-master/asio/include/asio/ip/address.hpp:25, from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:276:38: error: 'asio::ip::address_v6 asio::ip::make_address_v6' redeclared as different kind of symbol ASIO_DECL address_v6 make_address_v6(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:266:22: note: previous declaration 'asio::ip::address_v6 asio::ip::make_address_v6(const string&, asio::error_code&)' ASIO_DECL address_v6 make_address_v6( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:276:38: error: 'string_view' was not declared in this scope ASIO_DECL address_v6 make_address_v6(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:283:5: error: 'asio::ip::address_v6 asio::ip::make_address_v6' redeclared as different kind of symbol string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:266:22: note: previous declaration 'asio::ip::address_v6 asio::ip::make_address_v6(const string&, asio::error_code&)' ASIO_DECL address_v6 make_address_v6( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:283:5: error: 'string_view' was not declared in this scope string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:283:38: error: expected primary-expression before '&' token string_view str, asio::error_code& ec); ^ src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:283:40: error: 'ec' was not declared in this scope string_view str, asio::error_code& ec); ^~ In file included from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address.hpp:217:32: error: 'asio::ip::address asio::ip::make_address' redeclared as different kind of symbol ASIO_DECL address make_address(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address.hpp:206:19: note: previous declaration 'asio::ip::address asio::ip::make_address(const string&, asio::error_code&)' ASIO_DECL address make_address( ^~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address.hpp:217:32: error: 'string_view' was not declared in this scope ASIO_DECL address make_address(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address.hpp:225:5: error: 'asio::ip::address asio::ip::make_address' redeclared as different kind of symbol string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address.hpp:206:19: note: previous declaration 'asio::ip::address asio::ip::make_address(const string&, asio::error_code&)' ASIO_DECL address make_address( ^~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address.hpp:225:5: error: 'string_view' was not declared in this scope string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/address.hpp:225:38: error: expected primary-expression before '&' token string_view str, asio::error_code& ec); ^ src/third_party/asio-master/asio/include/asio/ip/address.hpp:225:40: error: 'ec' was not declared in this scope string_view str, asio::error_code& ec); ^~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:139:22: error: 'asio::ip::address asio::ip::make_address' redeclared as different kind of symbol address make_address(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:131:9: note: previous declaration 'asio::ip::address asio::ip::make_address(const string&, asio::error_code&)' address make_address(const std::string& str, ^~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:139:22: error: 'string_view' was not declared in this scope address make_address(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:144:22: error: 'asio::ip::address asio::ip::make_address' redeclared as different kind of symbol address make_address(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:131:9: note: previous declaration 'asio::ip::address asio::ip::make_address(const string&, asio::error_code&)' address make_address(const std::string& str, ^~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:144:22: error: 'string_view' was not declared in this scope address make_address(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:145:21: error: expected primary-expression before '&' token asio::error_code& ec) ^ src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:145:23: error: 'ec' was not declared in this scope asio::error_code& ec) ^~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:74, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address_v4.ipp:192:28: error: 'asio::ip::address_v4 asio::ip::make_address_v4' redeclared as different kind of symbol address_v4 make_address_v4(string_view str) ^~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/ip/address.hpp:25, from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:296:22: note: previous declaration 'asio::ip::address_v4 asio::ip::make_address_v4(asio::ip::v4_mapped_t, const asio::ip::address_v6&)' ASIO_DECL address_v4 make_address_v4( ^~~~~~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:74, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address_v4.ipp:192:28: error: 'string_view' was not declared in this scope address_v4 make_address_v4(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address_v4.ipp:197:28: error: 'asio::ip::address_v4 asio::ip::make_address_v4' redeclared as different kind of symbol address_v4 make_address_v4(string_view str, ^~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/ip/address.hpp:25, from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:296:22: note: previous declaration 'asio::ip::address_v4 asio::ip::make_address_v4(asio::ip::v4_mapped_t, const asio::ip::address_v6&)' ASIO_DECL address_v4 make_address_v4( ^~~~~~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:74, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address_v4.ipp:197:28: error: 'string_view' was not declared in this scope address_v4 make_address_v4(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address_v4.ipp:198:21: error: expected primary-expression before '&' token asio::error_code& ec) ^ src/third_party/asio-master/asio/include/asio/ip/impl/address_v4.ipp:198:23: error: 'ec' was not declared in this scope asio::error_code& ec) ^~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:75, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address_v6.ipp:308:28: error: 'asio::ip::address_v6 asio::ip::make_address_v6' redeclared as different kind of symbol address_v6 make_address_v6(string_view str) ^~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/ip/address.hpp:25, from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:303:22: note: previous declaration 'asio::ip::address_v6 asio::ip::make_address_v6(asio::ip::v4_mapped_t, const asio::ip::address_v4&)' ASIO_DECL address_v6 make_address_v6( ^~~~~~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:75, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address_v6.ipp:308:28: error: 'string_view' was not declared in this scope address_v6 make_address_v6(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address_v6.ipp:313:28: error: 'asio::ip::address_v6 asio::ip::make_address_v6' redeclared as different kind of symbol address_v6 make_address_v6(string_view str, ^~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/ip/address.hpp:25, from src/third_party/asio-master/asio/include/asio/ip/impl/address.ipp:23, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:73, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/address_v6.hpp:303:22: note: previous declaration 'asio::ip::address_v6 asio::ip::make_address_v6(asio::ip::v4_mapped_t, const asio::ip::address_v4&)' ASIO_DECL address_v6 make_address_v6( ^~~~~~~~~~~~~~~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:75, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/address_v6.ipp:313:28: error: 'string_view' was not declared in this scope address_v6 make_address_v6(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/address_v6.ipp:314:21: error: expected primary-expression before '&' token asio::error_code& ec) ^ src/third_party/asio-master/asio/include/asio/ip/impl/address_v6.ipp:314:23: error: 'ec' was not declared in this scope asio::error_code& ec) ^~ In file included from src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:27, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:77, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:218:38: error: 'asio::ip::network_v4 asio::ip::make_network_v4' redeclared as different kind of symbol ASIO_DECL network_v4 make_network_v4(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:207:22: note: previous declaration 'asio::ip::network_v4 asio::ip::make_network_v4(const string&, asio::error_code&)' ASIO_DECL network_v4 make_network_v4( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:218:38: error: 'string_view' was not declared in this scope ASIO_DECL network_v4 make_network_v4(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:226:5: error: 'asio::ip::network_v4 asio::ip::make_network_v4' redeclared as different kind of symbol string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:207:22: note: previous declaration 'asio::ip::network_v4 asio::ip::make_network_v4(const string&, asio::error_code&)' ASIO_DECL network_v4 make_network_v4( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:226:5: error: 'string_view' was not declared in this scope string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:226:38: error: expected primary-expression before '&' token string_view str, asio::error_code& ec); ^ src/third_party/asio-master/asio/include/asio/ip/network_v4.hpp:226:40: error: 'ec' was not declared in this scope string_view str, asio::error_code& ec); ^~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:77, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:197:28: error: 'asio::ip::network_v4 asio::ip::make_network_v4' redeclared as different kind of symbol network_v4 make_network_v4(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:157:12: note: previous declaration 'asio::ip::network_v4 asio::ip::make_network_v4(const string&, asio::error_code&)' network_v4 make_network_v4(const std::string& str, ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:197:28: error: 'string_view' was not declared in this scope network_v4 make_network_v4(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:202:28: error: 'asio::ip::network_v4 asio::ip::make_network_v4' redeclared as different kind of symbol network_v4 make_network_v4(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:157:12: note: previous declaration 'asio::ip::network_v4 asio::ip::make_network_v4(const string&, asio::error_code&)' network_v4 make_network_v4(const std::string& str, ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:202:28: error: 'string_view' was not declared in this scope network_v4 make_network_v4(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:203:21: error: expected primary-expression before '&' token asio::error_code& ec) ^ src/third_party/asio-master/asio/include/asio/ip/impl/network_v4.ipp:203:23: error: 'ec' was not declared in this scope asio::error_code& ec) ^~ In file included from src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:27, from src/third_party/asio-master/asio/include/asio/impl/src.hpp:78, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:192:38: error: 'asio::ip::network_v6 asio::ip::make_network_v6' redeclared as different kind of symbol ASIO_DECL network_v6 make_network_v6(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:181:22: note: previous declaration 'asio::ip::network_v6 asio::ip::make_network_v6(const string&, asio::error_code&)' ASIO_DECL network_v6 make_network_v6( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:192:38: error: 'string_view' was not declared in this scope ASIO_DECL network_v6 make_network_v6(string_view str); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:200:5: error: 'asio::ip::network_v6 asio::ip::make_network_v6' redeclared as different kind of symbol string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:181:22: note: previous declaration 'asio::ip::network_v6 asio::ip::make_network_v6(const string&, asio::error_code&)' ASIO_DECL network_v6 make_network_v6( ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:200:5: error: 'string_view' was not declared in this scope string_view str, asio::error_code& ec); ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:200:38: error: expected primary-expression before '&' token string_view str, asio::error_code& ec); ^ src/third_party/asio-master/asio/include/asio/ip/network_v6.hpp:200:40: error: 'ec' was not declared in this scope string_view str, asio::error_code& ec); ^~ In file included from src/third_party/asio-master/asio/include/asio/impl/src.hpp:78, from src/third_party/asio-master/asio/src/asio.cpp:11: src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:166:28: error: 'asio::ip::network_v6 asio::ip::make_network_v6' redeclared as different kind of symbol network_v6 make_network_v6(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:126:12: note: previous declaration 'asio::ip::network_v6 asio::ip::make_network_v6(const string&, asio::error_code&)' network_v6 make_network_v6(const std::string& str, ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:166:28: error: 'string_view' was not declared in this scope network_v6 make_network_v6(string_view str) ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:171:28: error: 'asio::ip::network_v6 asio::ip::make_network_v6' redeclared as different kind of symbol network_v6 make_network_v6(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:126:12: note: previous declaration 'asio::ip::network_v6 asio::ip::make_network_v6(const string&, asio::error_code&)' network_v6 make_network_v6(const std::string& str, ^~~~~~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:171:28: error: 'string_view' was not declared in this scope network_v6 make_network_v6(string_view str, ^~~~~~~~~~~ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:172:21: error: expected primary-expression before '&' token asio::error_code& ec) ^ src/third_party/asio-master/asio/include/asio/ip/impl/network_v6.ipp:172:23: error: 'ec' was not declared in this scope asio::error_code& ec) ^~ scons: *** [build/opt/third_party/asio-master/asio/src/asio.o] Error 1 scons: building terminated because of errors. build/opt/third_party/asio-master/asio/src/asio.o failed: Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/mongodb *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/mongodb