[ https://issues.apache.org/jira/browse/ARROW-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661278#comment-17661278 ]
Rok Mihevc commented on ARROW-4254: ----------------------------------- This issue has been migrated to [issue #20831|https://github.com/apache/arrow/issues/20831] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++] Gandiva tests fail to compile with Boost in Ubuntu 14.04 apt > ------------------------------------------------------------------ > > Key: ARROW-4254 > URL: https://issues.apache.org/jira/browse/ARROW-4254 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Wes McKinney > Assignee: Wes McKinney > Priority: Major > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 20m > Remaining Estimate: 0h > > These tests use an API that was not available in the Boost in Ubuntu 14.04; > we can change them to use the more compatible API > {code} > /tmp/arrow-0.12.0.BFPHN/apache-arrow-0.12.0/cpp/src/gandiva/lru_cache_test.cc: > In member function ‘virtual void > gandiva::TestLruCache_TestLruBehavior_Test::TestBody()’: > /tmp/arrow-0.12.0.BFPHN/apache-arrow-0.12.0/cpp/src/gandiva/lru_cache_test.cc:62:188: > error: ‘class boost::optional<std::basic_string<char> >’ has no member named > ‘value’ > ASSERT_EQ(cache_.get(TestCacheKey(1)).value(), "hello"); > > > ^ > /tmp/arrow-0.12.0.BFPHN/apache-arrow-0.12.0/cpp/src/gandiva/lru_cache_test.cc:62:203: > error: template argument 1 is invalid > ASSERT_EQ(cache_.get(TestCacheKey(1)).value(), "hello"); > > > ^ > /tmp/arrow-0.12.0.BFPHN/apache-arrow-0.12.0/cpp/src/gandiva/lru_cache_test.cc:62:294: > error: ‘class boost::optional<std::basic_string<char> >’ has no member named > ‘value’ > ASSERT_EQ(cache_.get(TestCacheKey(1)).value(), "hello"); > > > > ^ > make[2]: *** > [src/gandiva/CMakeFiles/gandiva-lru_cache_test.dir/lru_cache_test.cc.o] Error > 1 > make[1]: *** [src/gandiva/CMakeFiles/gandiva-lru_cache_test.dir/all] Error 2 > make[1]: *** Waiting for unfinished jobs.... > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)