[ 
https://issues.apache.org/jira/browse/THRIFT-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634536#comment-14634536
 ] 

Jake Farrell commented on THRIFT-2921:
--------------------------------------

Jenkins currently is set to run with the --without-erlang flag so this patch 
did not actually get tested by CI. The default erlang version in Ubuntu trusty 
is still 16 which this patch causes failures in. Updating to latest erlang 
version of 18 fixes this issue, should probably add a min default erlang 
version check, but updating to 18 will unblock the 0.9.3 rc and works for now

{code}
echo 'deb http://packages.erlang-solutions.com/debian trusty contrib' > 
/etc/apt/sources.list.d/erlang.list
curl -sSL http://packages.erlang-solutions.com/debian/erlang_solutions.asc | 
sudo apt-key add -
apt-get update
apt-get install -y erlang-base erlang-eunit erlang-dev
{code}

> Make Erlang impl ready for OTP 18 release (dict/0 and set/0 are deprecated)
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-2921
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2921
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Erlang - Compiler
>            Reporter: Jens Geyer
>            Assignee: Michael Oliver
>             Fix For: 0.9.3
>
>
> Using Erlang OTP 17, I get the following deprecation warnings:
> {code}
> en-erl/thrift_test_types.hrl:48: Warning: type dict/0 is deprecated and will 
> be removed in OTP 18.0; use use dict:dict/0 or preferably dict:dict/2
> gen-erl/thrift_test_types.hrl:55: Warning: type set/0 is deprecated and will 
> be removed in OTP 18.0; use use sets:set/0 or preferably sets:set/1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to