This is not a bug with gen_smtp; nor a bug with hut. It's a rebar issue when using Erlang/OTP 25. But gen_smtp depends on all these, so I thought I would pop the howto here to help others out when you see the following when gen_smtp compiles.
** (Mix) Could not compile dependency :hut, "/home/your_mom/.mix/rebar compile skip_deps=true deps_dir="/home/your_mom/dev/aqua_cts/_build/dev/lib"" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile hut", update it with "mix deps.update hut" or clean it with "mix deps.clean hut"
To verify you have the problem run
~/.mix/rebar
If you get the following error, then rebar needs fixing.
escript: exception error: undefined function rb:main/1
in function escript:run/2 (escript.erl, line 750)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3
Try to fix it the correct way. (See if they rebuilt rebar against OTP 25)
This is not a bug with gen_smtp; nor a bug with hut. It's a rebar issue when using Erlang/OTP 25. But gen_smtp depends on all these, so I thought I would pop the howto here to help others out when you see the following when gen_smtp compiles.
** (Mix) Could not compile dependency :hut, "/home/your_mom/.mix/rebar compile skip_deps=true deps_dir="/home/your_mom/dev/aqua_cts/_build/dev/lib"" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile hut", update it with "mix deps.update hut" or clean it with "mix deps.clean hut"
To verify you have the problem run
~/.mix/rebar
If you get the following error, then rebar needs fixing.
Try to fix it the correct way. (See if they rebuilt rebar against OTP 25)
If the error still persists, build your own rebar. Instructions at: https://github.com/rebar/rebar
spoiler alert...
git clone locked up on my system. I had to download the .zip from github and use that.