=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mongodb-3.4.24nb22 => Replacing database paths. => Changing /var to /var. cd /Users/pbulk/build/databases/mongodb3/work/mongodb-src-r3.4.24 && /usr/bin/env USETOOLS=no GOTMPDIR=/Users/pbulk/build PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= MACOSX_DEPLOYMENT_TARGET=12.3 PYTHON=/opt/pkg/bin/python2.7 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include CPPFLAGS=-fno-jump-tables\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 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=-L/opt/pkg/lib\ -L/opt/pkg/lib\ -lexecinfo LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/databases/mongodb3/work/.cwrapper/bin:/Users/pbulk/build/databases/mongodb3/work/.buildlink/bin:/Users/pbulk/build/databases/mongodb3/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/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=/opt/pkg/etc HOME=/Users/pbulk/build/databases/mongodb3/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/databases/mongodb3/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/databases/mongodb3/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/databases/mongodb3/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/databases/mongodb3/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/databases/mongodb3/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/databases/mongodb3/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/databases/mongodb3/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/databases/mongodb3/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/databases/mongodb3/work/.cwrapper/config /opt/pkg/bin/scons -j1 --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 --ssl --wiredtiger=on CC=clang CXX=clang++ CFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include CXXFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include LINKFLAGS=\ -L/opt/pkg/lib\ -L/opt/pkg/lib\ \ \ -lexecinfo 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 "clang++" is GCC... no Checking if C++ compiler "clang++" is clang... yes Checking if C compiler "clang" is clang... yes Detected a x86_64 processor Checking if target OS osx is supported by the toolchain yes Checking if C compiler is clang 3.4 (or Apple XCode 5.1.1) or newer...yes Checking if C++ compiler is clang 3.4 (or Apple XCode 5.1.1) 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-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... 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 -Wnon-virtual-dtor for false positives... no Checking if implicit boost::shared_ptr null conversion is supported... no Checking if we are using libstdc++... no 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... yes Checking for C function strnlen()... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... no 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 SSL_version(NULL) in C library ssl... yes Checking for SSLeay_version(0) in C library crypto... yes Checking that linking to OpenSSL works...yes Checking whether FIPS_mode_set is declared... no Checking whether d2i_ASN1_SEQUENCE_ANY is declared... 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 library rt... no Checking for C library dl... yes 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 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 ... /opt/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' clang++ -o build/opt/mongo/shell/dbshell.o -c -pipe -Os -I/opt/pkg/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -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-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-null-conversion -fno-builtin-memcmp -DNDEBUG -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 -Ibuild/opt -Isrc src/mongo/shell/dbshell.cpp In file included from src/mongo/shell/dbshell.cpp:34: In file included from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25: In file included from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:29: In file included from src/third_party/boost-1.60.0/boost/shared_ptr.hpp:17: In file included from src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:28: src/third_party/boost-1.60.0/boost/smart_ptr/detail/shared_count.hpp:402:33: error: no template named 'auto_ptr' in namespace 'std' explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) ) ~~~~~^ In file included from src/mongo/shell/dbshell.cpp:34: In file included from src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:25: In file included from src/third_party/boost-1.60.0/boost/filesystem/path.hpp:29: In file included from src/third_party/boost-1.60.0/boost/shared_ptr.hpp:17: src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:255:65: error: no member named 'auto_ptr' in namespace 'std' template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > ~~~~~^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:255:75: error: 'T' does not refer to a value template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > ^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:255:17: note: declared here template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > ^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:255:78: error: expected unqualified-id template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > ^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:454:31: error: no template named 'auto_ptr' in namespace 'std' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ~~~~~^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:467:22: error: no template named 'auto_ptr' in namespace 'std' shared_ptr( std::auto_ptr && r ): px(r.get()), pn() ~~~~~^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:544:34: error: no template named 'auto_ptr' in namespace 'std' shared_ptr & operator=( std::auto_ptr & r ) ~~~~~^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:553:34: error: no template named 'auto_ptr' in namespace 'std' shared_ptr & operator=( std::auto_ptr && r ) ~~~~~^ src/third_party/boost-1.60.0/boost/smart_ptr/shared_ptr.hpp:555:38: error: no template named 'auto_ptr' in namespace 'std' this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this ); ~~~~~^ In file included from src/mongo/shell/dbshell.cpp:34: src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:129:38: error: cannot initialize object parameter of type 'const boost::system::system_error' with an expression of type 'const boost::filesystem::filesystem_error' return system::system_error::what(); ^~~~ src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:135:55: error: cannot initialize object parameter of type 'const boost::system::system_error' with an expression of type 'const boost::filesystem::filesystem_error' m_imp_ptr->m_what = system::system_error::what(); ^~~~ src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:153:40: error: cannot initialize object parameter of type 'const boost::system::system_error' with an expression of type 'const boost::filesystem::filesystem_error' return system::system_error::what(); ^~~~ src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:1048:39: error: no viable overloaded 'operator->' symlink_stat = m_stack.top()->symlink_status(ec); ~~~~~~~~~~~~~^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:658:17: note: candidate function not viable: no known conversion from 'std::__vector_base>::value_type' (aka 'boost::filesystem::directory_iterator') to 'const boost::iterators::detail::iterator_facade_base' for object argument pointer operator->() const ^ In file included from src/mongo/shell/dbshell.cpp:34: src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:1056:43: error: no viable overloaded 'operator->' file_status stat = m_stack.top()->status(ec); ~~~~~~~~~~~~~^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:658:17: note: candidate function not viable: no known conversion from 'std::__vector_base>::value_type' (aka 'boost::filesystem::directory_iterator') to 'const boost::iterators::detail::iterator_facade_base' for object argument pointer operator->() const ^ In file included from src/mongo/shell/dbshell.cpp:34: src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:1060:48: error: no viable overloaded 'operator->' directory_iterator next(m_stack.top()->path(), ec); ~~~~~~~~~~~~~^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:658:17: note: candidate function not viable: no known conversion from 'std::__vector_base>::value_type' (aka 'boost::filesystem::directory_iterator') to 'const boost::iterators::detail::iterator_facade_base' for object argument pointer operator->() const ^ In file included from src/mongo/shell/dbshell.cpp:34: src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:1061:27: error: invalid operands to binary expression ('boost::filesystem::directory_iterator' and 'boost::filesystem::directory_iterator') if (!ec && next != directory_iterator()) ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ src/third_party/boost-1.60.0/boost/filesystem/path.hpp:762:15: note: candidate function not viable: no known conversion from 'boost::filesystem::directory_iterator' to 'const boost::filesystem::path' for 1st argument inline bool operator!=(const path& lhs, const path& rhs) {return lhs.compare(rhs) != 0;} ^ src/third_party/boost-1.60.0/boost/filesystem/path.hpp:763:15: note: candidate function not viable: no known conversion from 'boost::filesystem::directory_iterator' to 'const boost::filesystem::path' for 1st argument inline bool operator!=(const path& lhs, const path::string_type& rhs) {return lhs.compare(rhs) != 0;} ^ src/third_party/boost-1.60.0/boost/filesystem/path.hpp:764:15: note: candidate function not viable: no known conversion from 'boost::filesystem::directory_iterator' to 'const path::string_type' (aka 'const basic_string') for 1st argument inline bool operator!=(const path::string_type& lhs, const path& rhs) {return rhs.compare(lhs) != 0;} ^ src/third_party/boost-1.60.0/boost/filesystem/path.hpp:765:15: note: candidate function not viable: no known conversion from 'boost::filesystem::directory_iterator' to 'const boost::filesystem::path' for 1st argument inline bool operator!=(const path& lhs, const path::value_type* rhs) {return lhs.compare(rhs) != 0;} ^ src/third_party/boost-1.60.0/boost/filesystem/path.hpp:766:15: note: candidate function not viable: no known conversion from 'boost::filesystem::directory_iterator' to 'const path::value_type *' (aka 'const char *') for 1st argument inline bool operator!=(const path::value_type* lhs, const path& rhs) {return rhs.compare(lhs) != 0;} ^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:900:3: note: candidate template ignored: deduced type 'const iterator_facade' of 1st parameter does not match adjusted type 'boost::filesystem::directory_iterator' of argument [with Derived1 = boost::filesystem::directory_iterator, V1 = boost::filesystem::directory_entry, TC1 = boost::iterators::single_pass_traversal_tag, Reference1 = boost::filesystem::directory_entry &, Difference1 = long, Derived2 = boost::filesystem::directory_iterator, V2 = boost::filesystem::directory_entry, TC2 = boost::iterators::single_pass_traversal_tag, Reference2 = boost::filesystem::directory_entry &, Difference2 = long] BOOST_ITERATOR_FACADE_RELATION(!=, return !, equal) ^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:892:3: note: expanded from macro 'BOOST_ITERATOR_FACADE_RELATION' BOOST_ITERATOR_FACADE_INTEROP( \ ^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:878:3: note: expanded from macro 'BOOST_ITERATOR_FACADE_INTEROP' BOOST_ITERATOR_FACADE_INTEROP_HEAD(inline, op, result_type) \ ^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:475:5: note: expanded from macro 'BOOST_ITERATOR_FACADE_INTEROP_HEAD' BOOST_ITERATOR_FACADE_INTEROP_HEAD_IMPL(prefix, op, result_type, boost::iterators::detail::enable_if_interoperable) ^ src/third_party/boost-1.60.0/boost/iterator/iterator_facade.hpp:469:5: note: expanded from macro 'BOOST_ITERATOR_FACADE_INTEROP_HEAD_IMPL' operator op( \ ^ In file included from src/mongo/shell/dbshell.cpp:34: src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:1095:34: error: cannot increment value of type 'std::__vector_base>::value_type' (aka 'boost::filesystem::directory_iterator') while (!m_stack.empty() && ++m_stack.top() == directory_iterator()) ^ ~~~~~~~~~~~~~ src/third_party/boost-1.60.0/boost/filesystem/operations.hpp:1128:34: error: cannot increment value of type 'std::__vector_base>::value_type' (aka 'boost::filesystem::directory_iterator') while (!m_stack.empty() && ++m_stack.top() == directory_iterator()); ^ ~~~~~~~~~~~~~ In file included from src/mongo/shell/dbshell.cpp:63: In file included from src/mongo/util/password.h:32: In file included from src/third_party/boost-1.60.0/boost/program_options.hpp:15: In file included from src/third_party/boost-1.60.0/boost/program_options/options_description.hpp:13: In file included from src/third_party/boost-1.60.0/boost/program_options/value_semantic.hpp:13: In file included from src/third_party/boost-1.60.0/boost/function/function1.hpp:11: In file included from src/third_party/boost-1.60.0/boost/function/detail/maybe_include.hpp:18: In file included from src/third_party/boost-1.60.0/boost/function/function_template.hpp:13: In file included from src/third_party/boost-1.60.0/boost/function/detail/prologue.hpp:18: In file included from src/third_party/boost-1.60.0/boost/mem_fn.hpp:22: In file included from src/third_party/boost-1.60.0/boost/bind/mem_fn.hpp:25: src/third_party/boost-1.60.0/boost/get_pointer.hpp:48:23: error: redefinition of 'get_pointer' as different kind of symbol template T * get_pointer(std::auto_ptr const& p) ^ src/third_party/boost-1.60.0/boost/get_pointer.hpp:20:23: note: previous definition is here template T * get_pointer(T * p) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. scons: *** [build/opt/mongo/shell/dbshell.o] Error 1 scons: building terminated because of errors. build/opt/mongo/shell/dbshell.o failed: Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/databases/mongodb3 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/databases/mongodb3