cloudi_x_cowboy lib issue

19 views
Skip to first unread message

Samuel Rose

unread,
Jul 1, 2016, 5:22:26 PM7/1/16
to CloudI Questions
Anyone else having this issue?:

==> cloudi_x_cowlib (compile)

/home/vagrant/cloudi-1.5.1/src/external/cloudi_x_cowlib/src/cloudi_x_cow_multipart.erl:350: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1

ERROR: compile failed while processing /<dir>/cloudi-1.5.1/src/external/cloudi_x_cowlib: rebar_abort

make[2]: *** [rebar-compile] Error 1

make[2]: Leaving directory `/<dir>/cloudi-1.5.1/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/<dir>/cloudi-1.5.1/src'

make: *** [all] Error 2



On Erlang/OTP 19

Samuel Rose

unread,
Jul 2, 2016, 8:28:58 AM7/2/16
to CloudI Questions
This problem went away for me when I downgraded Erlang/OTP to 17.5 in case anyone else has an issue 

Michael Truog

unread,
Jul 2, 2016, 6:20:16 PM7/2/16
to cloudi-q...@googlegroups.com
This warning is just saying that this will be a problem when Erlang/OTP 20 is released and the function call disappears.  It isn't a reason to not use Erlang/OTP 19.  The cowlib source code is tied to the cowboy source code, which is at the 1.0 release in CloudI, due to cowboy 2.0 not being considered stable yet.


Reply all
Reply to author
Forward
0 new messages