Fails to Compile on Elixir 1.1 / Erlang R18.1
Havvy opened this issue · comments
Ryan Scheel commented
With cpg v.1.5.0;
==> reltool_util (compile)
==> quickrand (compile)
==> trie (compile)
==> cpg (compile)
Compiled src/cpg_sup.erl
Compiled src/cpg_callbacks.erl
Compiled src/cpg_data.erl
Compiled src/cpg_app.erl
Compiled src/supervisor_cpg.erl
Compiled src/supervisor_cpg_sup.erl
Compiling src/supervisor_cpg_spawn.erl failed:
src/supervisor_cpg_spawn.erl:349: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
ERROR: compile failed while processing /home/havvy/workspace/gald_umbrella/deps/cpg: rebar_abort
*\* (Mix) Could not compile dependency :cpg, "/home/havvy/.mix/rebar" command failed. You can recompile this dependency with "mix deps.compile cpg", update it with "mix deps.update cpg" or clean it with "mix deps.clean cpg"
Michael Truog commented
As mentioned on IRC, just use the latest commit. It will be awhile before the 1.5.1 release occurs, since all the CloudI dependencies get tagged at the same time. The cpg
code won't be changing before the release, so this shouldn't be seen as a problem.
Michael Truog commented
cpg
is tagged at 1.5.1 now