Skip to content

Instantly share code, notes, and snippets.

@aajisaka
Created April 25, 2020 16:21
Show Gist options
  • Save aajisaka/435157bed2be9a79b062e65f801277af to your computer and use it in GitHub Desktop.
Save aajisaka/435157bed2be9a79b062e65f801277af to your computer and use it in GitHub Desktop.
hadoop-hdfs-native-client compile failed in Ubuntu 20.04
[WARNING] make[1]: *** [CMakeFiles/Makefile2:2293: main/native/libhdfspp/lib/proto/CMakeFiles/proto_obj.dir/all] Error 2
[WARNING] make[1]: *** Waiting for unfinished jobs....
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8279:23: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5770:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5770 | GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8308:17: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5817:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5817 | GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8315:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5864:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5864 | GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8322:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5910:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5910 | GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8329:75: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::MatchesRegexMatcher’ has user-provided ‘void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5959:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5959 | GTEST_DISALLOW_ASSIGN_(MatchesRegexMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8354:23: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5770:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5770 | GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8383:17: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5817:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5817 | GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8390:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5864:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5864 | GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:9632:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8397:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock-gtest-all.cc:39:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gtest/gtest.h:1829:8: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 1829 | void operator=(type const &)
[WARNING] | ^~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5910:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
[WARNING] 5910 | GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/sasl_digest_md5.cc: In member function ‘void hdfs::DigestMD5Authenticator::GenerateCNonce()’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/sasl_digest_md5.cc:97:74: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
[WARNING] 97 | RAND_pseudo_bytes(reinterpret_cast<unsigned char *>(buf), sizeof(buf));
[WARNING] | ^
[WARNING] In file included from /usr/include/openssl/e_os2.h:13,
[WARNING] from /usr/include/openssl/ossl_typ.h:19,
[WARNING] from /usr/include/openssl/rand.h:14,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.h:28,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/sasl_digest_md5.cc:20:
[WARNING] /usr/include/openssl/rand.h:44:1: note: declared here
[WARNING] 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
[WARNING] | ^~~~~~~~~~~~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/sasl_digest_md5.cc:97:74: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
[WARNING] 97 | RAND_pseudo_bytes(reinterpret_cast<unsigned char *>(buf), sizeof(buf));
[WARNING] | ^
[WARNING] In file included from /usr/include/openssl/e_os2.h:13,
[WARNING] from /usr/include/openssl/ossl_typ.h:19,
[WARNING] from /usr/include/openssl/rand.h:14,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.h:28,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/sasl_digest_md5.cc:20:
[WARNING] /usr/include/openssl/rand.h:44:1: note: declared here
[WARNING] 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
[WARNING] | ^~~~~~~~~~~~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/hdfs_configuration.cc: In member function ‘std::vector<hdfs::NamenodeInfo> hdfs::HdfsConfiguration::LookupNameService(const string&)’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/hdfs_configuration.cc:138:22: warning: catching polymorphic type ‘const class hdfs::uri_parse_error’ by value [-Wcatch-value=]
[WARNING] 138 | } catch (const uri_parse_error) {
[WARNING] | ^~~~~~~~~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/hdfs_configuration.cc:151:27: warning: catching polymorphic type ‘struct hdfs::ha_parse_error’ by value [-Wcatch-value=]
[WARNING] 151 | } catch (ha_parse_error e) {
[WARNING] | ^
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc: In function ‘std::string hdfs::GetRandomClientName()’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:78:31: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
[WARNING] 78 | RAND_pseudo_bytes(&buf[0], 8);
[WARNING] | ^
[WARNING] In file included from /usr/include/openssl/e_os2.h:13,
[WARNING] from /usr/include/openssl/ossl_typ.h:19,
[WARNING] from /usr/include/openssl/rand.h:14,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.h:28,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:19:
[WARNING] /usr/include/openssl/rand.h:44:1: note: declared here
[WARNING] 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
[WARNING] | ^~~~~~~~~~~~~~~~~~
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:78:31: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
[WARNING] 78 | RAND_pseudo_bytes(&buf[0], 8);
[WARNING] | ^
[WARNING] In file included from /usr/include/openssl/e_os2.h:13,
[WARNING] from /usr/include/openssl/ossl_typ.h:19,
[WARNING] from /usr/include/openssl/rand.h:14,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.h:28,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:19:
[WARNING] /usr/include/openssl/rand.h:44:1: note: declared here
[WARNING] 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
[WARNING] | ^~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8279:23: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5770:3: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 5770 | GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8308:17: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5817:3: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 5817 | GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8315:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5864:3: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 5864 | GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8322:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5910:3: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
[WARNING] 5910 | GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8329:75: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5959:3: note: because ‘testing::internal::MatchesRegexMatcher’ has user-provided ‘void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)’
[WARNING] 5959 | GTEST_DISALLOW_ASSIGN_(MatchesRegexMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8354:23: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5770:3: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 5770 | GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8383:17: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5817:3: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 5817 | GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8390:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5864:3: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 5864 | GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5124:10: required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:8397:14: required from here
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5059:67: warning: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Wdeprecated-copy]
[WARNING] 5059 | explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
[WARNING] | ^
[WARNING] In file included from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:234,
[WARNING] from /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock_main.cc:33:
[WARNING] /home/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/gmock-1.7.0/gmock/gmock.h:5910:3: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
[WARNING] 5910 | GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
[WARNING] | ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] make: *** [Makefile:141: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment