You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/30 15:20:46 UTC

[GitHub] [arrow] ethem-kinginthenorth opened a new issue #10214: Cannot build Arrow

ethem-kinginthenorth opened a new issue #10214:
URL: https://github.com/apache/arrow/issues/10214


   I am trying to build Apache Arrow from source and cleared all the dependencies and now I stuck at the building phase. I am getting the error below, I am not sure if it is version mismatch issue but I appreciate any guidance:
   
   ```
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc: In member function ‘void arrow::fs::GenericFileSystemTest::TestGetFileInfoSelectorWithRecursion(arrow::fs::FileSystem*)’:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: error: no matching function for call to ‘ElementsAre(arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo, arrow::fs::FileInfo)’
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:762:1: note: candidate: template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type, typename testing::internal::DecayArray<T5>::type, typename testing::internal::DecayArray<T6>::type, typename testing::internal::DecayArray<T7>::type, typename testing::internal::DecayArray<T8>::type, typename testing::internal::DecayArray<T9>::type, typename testing::internal::DecayArray<T10>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&, const T8&, const T9&, const T10&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4,
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:762:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 10 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:732:1: note: candidate: template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type, typename testing::internal::DecayArray<T5>::type, typename testing::internal::DecayArray<T6>::type, typename testing::internal::DecayArray<T7>::type, typename testing::internal::DecayArray<T8>::type, typename testing::internal::DecayArray<T9>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&, const T8&, const T9&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4,
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:732:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 9 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:704:1: note: candidate: template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type, typename testing::internal::DecayArray<T5>::type, typename testing::internal::DecayArray<T6>::type, typename testing::internal::DecayArray<T7>::type, typename testing::internal::DecayArray<T8>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&, const T8&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4,
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:704:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 8 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:679:1: note: candidate: template<class T1, class T2, class T3, class T4, class T5, class T6, class T7> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type, typename testing::internal::DecayArray<T5>::type, typename testing::internal::DecayArray<T6>::type, typename testing::internal::DecayArray<T7>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4,
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:679:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 7 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:656:1: note: candidate: template<class T1, class T2, class T3, class T4, class T5, class T6> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type, typename testing::internal::DecayArray<T5>::type, typename testing::internal::DecayArray<T6>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4,
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:656:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 6 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:635:1: note: candidate: template<class T1, class T2, class T3, class T4, class T5> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type, typename testing::internal::DecayArray<T5>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&, const T5&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4,
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:635:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 5 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:618:1: note: candidate: template<class T1, class T2, class T3, class T4> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type, typename testing::internal::DecayArray<T4>::type> > testing::ElementsAre(const T1&, const T2&, const T3&, const T4&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4) {
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:618:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 4 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:603:1: note: candidate: template<class T1, class T2, class T3> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type, typename testing::internal::DecayArray<T3>::type> > testing::ElementsAre(const T1&, const T2&, const T3&)
    ElementsAre(const T1& e1, const T2& e2, const T3& e3) {
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:603:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 3 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:590:1: note: candidate: template<class T1, class T2> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type, typename testing::internal::DecayArray<T2>::type> > testing::ElementsAre(const T1&, const T2&)
    ElementsAre(const T1& e1, const T2& e2) {
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:590:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 2 arguments, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:579:1: note: candidate: template<class T1> testing::internal::ElementsAreMatcher<std::tuple<typename testing::internal::DecayArray<T>::type> > testing::ElementsAre(const T1&)
    ElementsAre(const T1& e1) {
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:579:1: note:   template argument deduction/substitution failed:
   In file included from /usr/local/include/gtest/gtest.h:1874:0,
                    from /usr/local/include/gmock/internal/gmock-internal-utils.h:47,
                    from /usr/local/include/gmock/gmock-actions.h:46,
                    from /usr/local/include/gmock/gmock.h:58,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:741:44: note:   candidate expects 1 argument, 11 provided
                             File("AA/AA.file")));
                                               ^
   In file included from /usr/local/include/gmock/gmock.h:63:0,
                    from /repos/arrow/cpp/src/arrow/filesystem/test_util.cc:24:
   /usr/local/include/gmock/gmock-generated-matchers.h:570:1: note: candidate: testing::internal::ElementsAreMatcher<std::tuple<> > testing::ElementsAre()
    ElementsAre() {
    ^~~~~~~~~~~
   /usr/local/include/gmock/gmock-generated-matchers.h:570:1: note:   candidate expects 0 arguments, 11 provided
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] westonpace commented on issue #10214: Cannot build Arrow

Posted by GitBox <gi...@apache.org>.
westonpace commented on issue #10214:
URL: https://github.com/apache/arrow/issues/10214#issuecomment-830223886


   It does look like a mismatch issue, in particular I think your googletest/googlemock version may be too old.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] wesm closed issue #10214: Cannot build Arrow

Posted by GitBox <gi...@apache.org>.
wesm closed issue #10214:
URL: https://github.com/apache/arrow/issues/10214


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org