You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/18 16:21:00 UTC

[jira] [Updated] (ARROW-4254) [C++] Gandiva tests fail to compile with Boost in Ubuntu 14.04 apt

     [ https://issues.apache.org/jira/browse/ARROW-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-4254:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>
>
> 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)