asdf-erlang
asdf-erlang copied to clipboard
Need --verbose flag
I am installing erlang via:
asdf install erlang 22.0.7
it's just hanging - I am wondering if something is actually happening or if it's really stuck......asdf needs a --verbose flag:
asdf install --verbose erlang 22.0.7
asdf-erlang uses kerl underneath, and I don't think kerl has a --verbose flag, so we are going to be limited in what we can log in verbose mode.
@Stratus3D would it be feasible to see any of the current progress from kerl? some stdout redirection. because my machine also get stuck after few minutes and i can't figure out what cause the issue.
I use this to see what's currently happening.
tail -f /home/blablabla/.asdf/plugins/erlang/kerl-home/builds/asdf_21.2/otp_build_21.2.log
Change it with your own path.
asdf install erlang 22.0.7
should reveal the path for you.
Example output of the log file:
...
ERLC ../ebin/pubkey_pem.beam
ERLC ../ebin/pubkey_ssh.beam
ERLC ../ebin/pubkey_pbe.beam
ERLC ../ebin/pubkey_cert.beam
ERLC ../ebin/pubkey_cert_records.beam
ERLC ../ebin/pubkey_crl.beam
VSN ../ebin/public_key.app
VSN ../ebin/public_key.appup
...
@yusufmalikul your code sample is blank for me.
@yusufmalikul your code sample is blank for me.
sorry, please see my updated comment.
I forgot I had an open PR for this project that is sort of related - https://github.com/asdf-vm/asdf-erlang/pull/185
I have updated #185, anyone here want to test it out for me? It doesn't add a --verbose flag but it gets some things in order so output is less confusing.
$ asdf install java adoptopenjdk-11.0.22+7
#################################### 49.9%
ASDF freezes there for several minutes before finally completing.
I would like to know what the bottleneck is. Is it a download taking long, or perhaps the execution of an install script?