* Package: dev-db/mongodb-3.2.9 * Repository: gentoo * Maintainer: julien@thebault.co ultrabug@gentoo.org,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kerberos kernel_linux ssl userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mongodb-src-r3.2.9.tar.gz to /var/tmp/portage/dev-db/mongodb-3.2.9/work >>> Source unpacked in /var/tmp/portage/dev-db/mongodb-3.2.9/work >>> Preparing source in /var/tmp/portage/dev-db/mongodb-3.2.9/work/mongodb-src-r3.2.9 ... * Applying mongodb-3.2.0-fix-scons.patch ... [ ok ] * Applying mongodb-3.2.4-boost-1.60.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/mongodb-3.2.9/work/mongodb-src-r3.2.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-db/mongodb-3.2.9/work/mongodb-src-r3.2.9 ... scons -j1 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ --disable-warnings-as-errors --use-system-boost --use-system-pcre --use-system-snappy --use-system-stemmer --use-system-yaml --use-system-zlib --use-sasl-client --ssl core tools scons: Reading SConscript files ... Mkdir("build/scons") scons version: 2.5.0 python version: 2 7 12 'final' 0 Checking whether the C++ compiler works... yes Checking whether the C compiler works... yes Checking if C++ compiler "x86_64-pc-linux-gnu-g++" is GCC... yes Checking if C compiler "x86_64-pc-linux-gnu-gcc" is GCC... yes Detected a x86_64 processor Checking if target OS linux is supported by the toolchain yes Checking if C compiler is GCC 4.8.2 or newer...yes Checking if C++ compiler is GCC 4.8.2 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 we are using libstdc++... yes Checking if C++ compiler supports -std=c++11... yes Checking if C compiler supports -std=c99... yes WARNING: System versions of C++ libraries must be compiled with C++11 support Checking for C++11... yes Checking for memset_s... no Checking for C function strnlen()... yes Checking for libstdc++ 4.8.2 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 linker supports -fuse-ld=gold... yes Checking if linker supports -Wl,-z,noexecstack... yes Checking if linker supports -Wl,--warn-execstack... 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::make_unique support... no Checking for C++11 std::align support... yes 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... 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 stemmer... yes Checking for C library yaml-cpp... 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_thread-mt... yes Checking for C++ library boost_filesystem-mt... yes Checking for C++ library boost_program_options-mt... yes Checking for C++ library boost_system-mt... yes Checking for C++ library boost_regex-mt... yes Checking for C++ library boost_chrono-mt... yes Checking for C library rt... yes 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 for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... 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 if __malloc_hook is declared volatile... yes Checking for C function fallocate()... yes Checking for C function sync_file_range()... yes Checking for C header file x86intrin.h... yes scons: done reading SConscript files. scons: Building targets ... /usr/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' Compiling build/opt/mongo/shell/dbshell.o Compiling build/opt/mongo/bson/mutable/document.o Compiling build/opt/mongo/bson/mutable/element.o Generating placeholder library build/opt/mongo/bson/mutable/libmutable_bson.a Skipping ranlib for build/opt/mongo/bson/mutable/libmutable_bson.a Compiling build/opt/mongo/bson/util/bson_extract.o Generating placeholder library build/opt/mongo/bson/util/libbson_extract.a Skipping ranlib for build/opt/mongo/bson/util/libbson_extract.a Compiling build/opt/mongo/client/authenticate.o Generating placeholder library build/opt/mongo/client/libauthentication.a Skipping ranlib for build/opt/mongo/client/libauthentication.a Compiling build/opt/mongo/client/connection_string_connect.o Compiling build/opt/mongo/client/mongo_uri_connect.o Compiling build/opt/mongo/client/connpool.o /usr/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 Compiling build/opt/mongo/client/dbclient.o In file included from src/mongo/platform/compiler.h:132:0, from src/mongo/util/invariant.h:30, from src/mongo/base/string_data.h:39, from build/opt/mongo/base/error_codes.h:31, from src/mongo/base/status.h:34, from src/mongo/client/dbclient.cpp:36: src/mongo/client/dbclientcursor.h: In member function 'void mongo::DBClientCursor::_assertIfNull() const': src/mongo/util/assert_util.h:233:28: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if (MONGO_unlikely(!(expr))) { \ ^~~~~~~ src/mongo/platform/compiler_gcc.h:66:80: note: in definition of macro 'MONGO_unlikely' #define MONGO_unlikely(x) static_cast(__builtin_expect(static_cast(x), 0)) ^ src/mongo/util/assert_util.h:319:17: note: in expansion of macro 'MONGO_uassert' #define uassert MONGO_uassert ^~~~~~~~~~~~~ src/mongo/client/dbclientcursor.h:295:9: note: in expansion of macro 'uassert' uassert(13348, "connection died", this); ^~~~~~~ Compiling build/opt/mongo/client/dbclient_rs.o Compiling build/opt/mongo/client/dbclientcursor.o In file included from src/mongo/platform/compiler.h:132:0, from src/mongo/util/invariant.h:30, from src/mongo/base/string_data.h:39, from src/mongo/client/dbclientinterface.h:33, from src/mongo/client/dbclientcursor.h:35, from src/mongo/client/dbclientcursor.cpp:34: src/mongo/client/dbclientcursor.h: In member function 'void mongo::DBClientCursor::_assertIfNull() const': src/mongo/util/assert_util.h:233:28: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if (MONGO_unlikely(!(expr))) { \ ^~~~~~~ src/mongo/platform/compiler_gcc.h:66:80: note: in definition of macro 'MONGO_unlikely' #define MONGO_unlikely(x) static_cast(__builtin_expect(static_cast(x), 0)) ^ src/mongo/util/assert_util.h:319:17: note: in expansion of macro 'MONGO_uassert' #define uassert MONGO_uassert ^~~~~~~~~~~~~ src/mongo/client/dbclientcursor.h:295:9: note: in expansion of macro 'uassert' uassert(13348, "connection died", this); ^~~~~~~ Compiling build/opt/mongo/client/global_conn_pool.o Compiling build/opt/mongo/client/replica_set_monitor.o Compiling build/opt/mongo/client/replica_set_monitor_manager.o Compiling build/opt/mongo/client/syncclusterconnection.o Generating placeholder library build/opt/mongo/client/libclientdriver.a Skipping ranlib for build/opt/mongo/client/libclientdriver.a Compiling build/opt/mongo/client/connection_string.o Compiling build/opt/mongo/client/mongo_uri.o Generating placeholder library build/opt/mongo/client/libconnection_string.a Skipping ranlib for build/opt/mongo/client/libconnection_string.a Compiling build/opt/mongo/client/read_preference.o Generating placeholder library build/opt/mongo/client/libread_preference.a Skipping ranlib for build/opt/mongo/client/libread_preference.a Compiling build/opt/mongo/client/native_sasl_client_session.o Compiling build/opt/mongo/client/sasl_client_authenticate.o Compiling build/opt/mongo/client/sasl_client_authenticate_impl.o Compiling build/opt/mongo/client/sasl_client_conversation.o Compiling build/opt/mongo/client/sasl_client_session.o Compiling build/opt/mongo/client/sasl_plain_client_conversation.o Compiling build/opt/mongo/client/sasl_scramsha1_client_conversation.o Compiling build/opt/mongo/client/cyrus_sasl_client_session.o Compiling build/opt/mongo/client/sasl_sspi.o Compiling build/opt/mongo/client/sasl_sspi_options.o Generating placeholder library build/opt/mongo/client/libsasl_client.a Skipping ranlib for build/opt/mongo/client/libsasl_client.a Compiling build/opt/mongo/crypto/crypto_openssl.o Generating placeholder library build/opt/mongo/crypto/libcrypto_openssl.a Skipping ranlib for build/opt/mongo/crypto/libcrypto_openssl.a Compiling build/opt/mongo/crypto/mechanism_scram.o Generating placeholder library build/opt/mongo/crypto/libscramauth.a Skipping ranlib for build/opt/mongo/crypto/libscramauth.a Compiling build/opt/mongo/db/auth/internal_user_auth.o Generating placeholder library build/opt/mongo/db/auth/libauthcommon.a Skipping ranlib for build/opt/mongo/db/auth/libauthcommon.a Compiling build/opt/mongo/db/catalog/index_key_validate.o Generating placeholder library build/opt/mongo/db/catalog/libindex_key_validate.a Skipping ranlib for build/opt/mongo/db/catalog/libindex_key_validate.a Compiling build/opt/mongo/db/commands/test_commands_enabled.o Generating placeholder library build/opt/mongo/db/commands/libtest_commands_enabled.a Skipping ranlib for build/opt/mongo/db/commands/libtest_commands_enabled.a Compiling build/opt/mongo/db/fts/fts_index_format.o Compiling build/opt/mongo/db/fts/fts_matcher.o Compiling build/opt/mongo/db/fts/fts_query_impl.o Compiling build/opt/mongo/db/fts/fts_query_parser.o Compiling build/opt/mongo/db/fts/fts_spec.o Compiling build/opt/mongo/db/fts/fts_spec_legacy.o Compiling build/opt/mongo/db/fts/fts_language.o Compiling build/opt/mongo/db/fts/fts_basic_phrase_matcher.o Compiling build/opt/mongo/db/fts/fts_basic_tokenizer.o Compiling build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o Compiling build/opt/mongo/db/fts/fts_unicode_tokenizer.o Compiling build/opt/mongo/db/fts/fts_util.o Compiling build/opt/mongo/db/fts/fts_element_iterator.o Compiling build/opt/mongo/db/fts/stemmer.o Compiling build/opt/mongo/db/fts/stop_words.o /usr/bin/python2.7 src/mongo/db/fts/generate_stop_words.py src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt build/opt/mongo/db/fts/stop_words_list.h build/opt/mongo/db/fts/stop_words_list.cpp header: build/opt/mongo/db/fts/stop_words_list.h source: build/opt/mongo/db/fts/stop_words_list.cpp language_files: src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt Compiling build/opt/mongo/db/fts/stop_words_list.o Compiling build/opt/mongo/db/fts/tokenizer.o Generating placeholder library build/opt/mongo/db/fts/libbase.a Skipping ranlib for build/opt/mongo/db/fts/libbase.a /usr/bin/python2.7 src/mongo/db/fts/unicode/gen_casefold_map.py src/third_party/unicode-8.0.0/CaseFolding.txt build/opt/mongo/db/fts/unicode/codepoints_casefold.cpp Compiling build/opt/mongo/db/fts/unicode/codepoints_casefold.o /usr/bin/python2.7 src/mongo/db/fts/unicode/gen_delimiter_list.py src/third_party/unicode-8.0.0/PropList.txt build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.cpp Compiling build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.o /usr/bin/python2.7 src/mongo/db/fts/unicode/gen_diacritic_list.py src/third_party/unicode-8.0.0/PropList.txt build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.cpp Compiling build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.o Compiling build/opt/mongo/db/fts/unicode/codepoints_diacritic_map.o Compiling build/opt/mongo/db/fts/unicode/string.o src/mongo/db/fts/unicode/string.cpp: In static member function 'static bool mongo::unicode::String::substrMatch(const string&, const string&, mongo::unicode::String::SubstrMatchOptions, mongo::unicode::CaseFoldMode)': src/mongo/db/fts/unicode/string.cpp:277:80: error: no match for 'operator!=' (operand types are 'std::pair' and 'mongo::StringData::const_iterator {aka const char*}') return boost::algorithm::boyer_moore_search( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from src/mongo/db/fts/unicode/string.h:35:0, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/string_data.h:193:13: note: candidate: bool mongo::operator!=(mongo::StringData, mongo::StringData) inline bool operator!=(StringData lhs, StringData rhs) { ^~~~~~~~ src/mongo/base/string_data.h:193:13: note: no known conversion for argument 1 from 'std::pair' to 'mongo::StringData' In file included from src/mongo/base/status.h:158:0, from src/mongo/base/data_type.h:36, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status-inl.h:107:13: note: candidate: bool mongo::operator!=(mongo::ErrorCodes::Error, const mongo::Status&) inline bool operator!=(const ErrorCodes::Error lhs, const Status& rhs) { ^~~~~~~~ src/mongo/base/status-inl.h:107:13: note: no known conversion for argument 1 from 'std::pair' to 'mongo::ErrorCodes::Error' In file included from src/mongo/base/data_type.h:37:0, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status_with.h:153:6: note: candidate: template bool mongo::operator!=(const mongo::StatusWith&, const T&) bool operator!=(const StatusWith& sw, const T& val) { ^~~~~~~~ src/mongo/base/status_with.h:153:6: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const mongo::StatusWith' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from src/mongo/base/data_type.h:37:0, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status_with.h:158:6: note: candidate: template bool mongo::operator!=(const T&, const mongo::StatusWith&) bool operator!=(const T& val, const StatusWith& sw) { ^~~~~~~~ src/mongo/base/status_with.h:158:6: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const mongo::StatusWith' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from src/mongo/base/data_type.h:37:0, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status_with.h:177:6: note: candidate: template bool mongo::operator!=(const mongo::StatusWith&, const mongo::Status&) bool operator!=(const StatusWith& sw, const Status& status) { ^~~~~~~~ src/mongo/base/status_with.h:177:6: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const mongo::StatusWith' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from src/mongo/base/data_type.h:37:0, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status_with.h:182:6: note: candidate: template bool mongo::operator!=(const mongo::Status&, const mongo::StatusWith&) bool operator!=(const Status& status, const StatusWith& sw) { ^~~~~~~~ src/mongo/base/status_with.h:182:6: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const mongo::StatusWith' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from src/mongo/base/data_type.h:37:0, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status_with.h:201:6: note: candidate: template bool mongo::operator!=(const mongo::StatusWith&, mongo::ErrorCodes::Error) bool operator!=(const StatusWith& sw, const ErrorCodes::Error code) { ^~~~~~~~ src/mongo/base/status_with.h:201:6: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const mongo::StatusWith' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from src/mongo/base/data_type.h:37:0, from src/mongo/base/data_type_endian.h:33, from src/mongo/bson/util/builder.h:39, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: src/mongo/base/status_with.h:206:6: note: candidate: template bool mongo::operator!=(mongo::ErrorCodes::Error, const mongo::StatusWith&) bool operator!=(const ErrorCodes::Error code, const StatusWith& sw) { ^~~~~~~~ src/mongo/base/status_with.h:206:6: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const mongo::StatusWith' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/unordered_map:48:0, from src/mongo/platform/unordered_map.h:30, from src/mongo/logger/log_manager.h:35, from src/mongo/logger/logger.h:31, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unordered_map.h:1786:5: note: candidate: template bool std::operator!=(const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&) operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unordered_map.h:1786:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/unordered_map:48:0, from src/mongo/platform/unordered_map.h:30, from src/mongo/logger/log_manager.h:35, from src/mongo/logger/logger.h:31, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unordered_map.h:1774:5: note: candidate: template bool std::operator!=(const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&) operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unordered_map.h:1774:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/map:62:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:18, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from src/mongo/util/time_support.h:32, from src/mongo/logger/message_event.h:35, from src/mongo/logger/message_log_domain.h:35, from src/mongo/logger/logger.h:30, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_multimap.h:996:5: note: candidate: template bool std::operator!=(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&) operator!=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_multimap.h:996:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/map:61:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:18, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from src/mongo/util/time_support.h:32, from src/mongo/logger/message_event.h:35, from src/mongo/logger/message_log_domain.h:35, from src/mongo/logger/logger.h:30, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_map.h:1331:5: note: candidate: template bool std::operator!=(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&) operator!=(const map<_Key, _Tp, _Compare, _Alloc>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_map.h:1331:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/map:60:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:18, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from src/mongo/util/time_support.h:32, from src/mongo/logger/message_event.h:35, from src/mongo/logger/message_log_domain.h:35, from src/mongo/logger/logger.h:30, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_tree.h:1293:5: note: candidate: template bool std::operator!=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) operator!=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_tree.h:1293:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/map:60:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:18, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from src/mongo/util/time_support.h:32, from src/mongo/logger/message_event.h:35, from src/mongo/logger/message_log_domain.h:35, from src/mongo/logger/logger.h:30, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_tree.h:334:5: note: candidate: template bool std::operator!=(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&) operator!=(const _Rb_tree_iterator<_Val>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_tree.h:334:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::_Rb_tree_iterator<_Tp>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iterator:66:0, from /usr/include/boost/operators.hpp:95, from /usr/include/boost/date_time/date.hpp:12, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:17, from src/mongo/util/time_support.h:32, from src/mongo/logger/message_event.h:35, from src/mongo/logger/message_log_domain.h:35, from src/mongo/logger/logger.h:30, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stream_iterator.h:137:5: note: candidate: template bool std::operator!=(const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&, const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&) operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stream_iterator.h:137:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/vector:64:0, from src/mongo/logger/message_log_domain.h:32, from src/mongo/logger/logger.h:30, from src/mongo/util/assert_util.h:36, from src/mongo/bson/util/builder.h:45, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_vector.h:1533:5: note: candidate: template bool std::operator!=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&) operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_vector.h:1533:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::vector<_Tp, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_facets.h:48:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_ios.h:37, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/ios:44, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/istream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/sstream:38, from src/mongo/bson/util/builder.h:33, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/streambuf_iterator.h:210:5: note: candidate: template bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&) operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/streambuf_iterator.h:210:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/ios_base.h:46:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/ios:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/istream:38, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/sstream:38, from src/mongo/bson/util/builder.h:33, from src/mongo/db/fts/unicode/string.h:36, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:323:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_condition&) operator!=(const error_condition& __lhs, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:323:3: note: no known conversion for argument 1 from 'std::pair' to 'const std::error_condition&' /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:319:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_code&) operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:319:3: note: no known conversion for argument 1 from 'std::pair' to 'const std::error_condition&' /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:315:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_condition&) operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:315:3: note: no known conversion for argument 1 from 'std::pair' to 'const std::error_code&' /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:311:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_code&) operator!=(const error_code& __lhs, const error_code& __rhs) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/system_error:311:3: note: no known conversion for argument 1 from 'std::pair' to 'const std::error_code&' In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:82:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:363:5: note: candidate: template bool std::operator!=(std::nullptr_t, const std::shared_ptr<_Tp1>&) operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:363:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::shared_ptr<_Tp1>' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:82:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:358:5: note: candidate: template bool std::operator!=(const std::shared_ptr<_Tp1>&, std::nullptr_t) operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:358:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::shared_ptr<_Tp1>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:82:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:352:5: note: candidate: template bool std::operator!=(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&) operator!=(const shared_ptr<_Tp1>& __a, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:352:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::shared_ptr<_Tp1>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:82, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr_base.h:1213:5: note: candidate: template bool std::operator!=(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&) operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr_base.h:1213:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:82, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr_base.h:1208:5: note: candidate: template bool std::operator!=(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t) operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr_base.h:1208:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::__shared_ptr<_Tp, _Lp>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:82, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr_base.h:1202:5: note: candidate: template bool std::operator!=(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&) operator!=(const __shared_ptr<_Tp1, _Lp>& __a, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/shared_ptr_base.h:1202:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::__shared_ptr<_Tp1, _Lp>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:81:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:674:5: note: candidate: template bool std::operator!=(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&) operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:674:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:81:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:669:5: note: candidate: template bool std::operator!=(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t) operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:669:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::unique_ptr<_Tp, _Dp>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:81:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:663:5: note: candidate: template bool std::operator!=(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&) operator!=(const unique_ptr<_Tp, _Dp>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:663:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::unique_ptr<_Tp, _Dp>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:2226:5: note: candidate: template bool std::operator!=(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&) operator!=(nullptr_t, const function<_Res(_Args...)>& __f) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:2226:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::function<_Res(_ArgTypes ...)>' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:2220:5: note: candidate: template bool std::operator!=(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t) operator!=(const function<_Res(_Args...)>& __f, nullptr_t) noexcept ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:2220:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::function<_Res(_ArgTypes ...)>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:55:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/tuple:1363:5: note: candidate: template constexpr bool std::operator!=(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&) operator!=(const tuple<_TElements...>& __t, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/tuple:1363:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::tuple<_Elements ...>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/tuple:39:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:55, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/array:246:5: note: candidate: template bool std::operator!=(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/array:246:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::array<_Tp, _Nm>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/string:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/stdexcept:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/array:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/tuple:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:55, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_string.h:5122:5: note: candidate: template bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_string.h:5122:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/string:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/stdexcept:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/array:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/tuple:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:55, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_string.h:5110:5: note: candidate: template bool std::operator!=(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator!=(const _CharT* __lhs, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_string.h:5110:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const _CharT*' and 'std::pair' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/string:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/stdexcept:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/array:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/tuple:39, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/functional:55, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:79, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_string.h:5097:5: note: candidate: template bool std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/basic_string.h:5097:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iosfwd:40:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:72, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/postypes.h:221:5: note: candidate: template bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&) operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/postypes.h:221:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::fpos<_StateT>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:63:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/allocator.h:151:5: note: candidate: template bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&) operator!=(const allocator<_Tp>&, const allocator<_Tp>&) ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/allocator.h:151:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::allocator<_Tp1>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:63:0, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/allocator.h:145:5: note: candidate: template bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_T2>&) operator!=(const allocator<_T1>&, const allocator<_T2>&) ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/allocator.h:145:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::allocator<_Tp1>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:67:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:62, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:1124:5: note: candidate: template bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&) operator!=(const move_iterator<_Iterator>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:1124:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::move_iterator<_IteratorL>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:67:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:62, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:1118:5: note: candidate: template bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&) operator!=(const move_iterator<_IteratorL>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:1118:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::move_iterator<_IteratorL>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:67:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:62, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:354:5: note: candidate: template bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&) operator!=(const reverse_iterator<_IteratorL>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:354:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::reverse_iterator<_Iterator>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:67:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:62, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:304:5: note: candidate: template bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) operator!=(const reverse_iterator<_Iterator>& __x, ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator.h:304:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: 'std::pair' is not derived from 'const std::reverse_iterator<_Iterator>' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:64:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/memory:62, from src/mongo/db/fts/unicode/string.h:32, from src/mongo/db/fts/unicode/string.cpp:29: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_pair.h:376:5: note: candidate: template constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&) operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_pair.h:376:5: note: template argument deduction/substitution failed: src/mongo/db/fts/unicode/string.cpp:277:96: note: mismatched types 'const std::pair<_T1, _T2>' and 'mongo::StringData::const_iterator {aka const char*}' haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end(); ^ scons: *** [build/opt/mongo/db/fts/unicode/string.o] Error 1 scons: building terminated because of errors. * ERROR: dev-db/mongodb-3.2.9::gentoo failed (compile phase): * escons failed. * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 3289: Called escons 'CC=x86_64-pc-linux-gnu-gcc' 'CXX=x86_64-pc-linux-gnu-g++' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--use-sasl-client' '--ssl' 'core' 'tools' * environment, line 1638: Called die * The specific snippet of code: * die "escons failed." * * If you need support, post the output of `emerge --info '=dev-db/mongodb-3.2.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-3.2.9::gentoo'`. * The complete build log is located at '/var/log/portage/dev-db:mongodb-3.2.9:20161001-224443.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/mongodb-3.2.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-3.2.9/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/mongodb-3.2.9/work/mongodb-src-r3.2.9' * S: '/var/tmp/portage/dev-db/mongodb-3.2.9/work/mongodb-src-r3.2.9'