basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.95k stars 537 forks source link

[develop-2.2] build fails with OTP 17 #938

Closed jeanparpaillon closed 5 years ago

jeanparpaillon commented 6 years ago

Compilation fails with OTP 17 on branch develop-2.2 rebar.config should not allow compilation with OTP 17

ghost commented 6 years ago

@jeanparpaillon - can you pipe the compilation output to a file and attach to the ticket please.

ghost commented 6 years ago

Got it from Slack conversation - pasting here for posterity.

Compiling /home/jeanp/riak/deps/hyper/src/hyper_gb.erl failed:
/home/jeanp/riak/deps/hyper/src/hyper_gb.erl:70: type gb_tree/0 is deprecated and will be removed in OTP 18.0; use use gb_trees:tree/0 or preferably gb_trees:tree/2
ERROR: compile failed while processing /home/jeanp/riak/deps/hyper: rebar_abort
make: *** [compile] Error 1
martincox commented 5 years ago

Try develop-3.0 / OTP20.