Wes McKinney created ARROW-4254: ----------------------------------- Summary: [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 Fix For: 0.13.0
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 (v7.6.3#76005)