You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I somehow got myself into a situation where an installation was listed in ~/.asdf/plugins/erlang/kerl-home/otp-installations but was not actually installed. I couldn't tell you how I got it that way. Prior to this whole exercise, I hadn't even looked in ~/.asdf before.
Regardless, when in this situation, kerl was succeeding to build but failing to install. Since the erlang plugin suppresses all output, I was seeing this:
KERL_CONFIGURE_OPTIONS="--disable-jit" KERL_BUILD_DOCS=yes asdf install erlang 25.2
asdf_25.2 is not a kerl-managed Erlang/OTP installation
The asdf_25.2 build has been deleted
Extracting source code
Building Erlang/OTP 25.2 (asdf_25.2), please wait...
APPLICATIONS DISABLED (See: /Users/jaysonvantuyl/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_build_25.2.log)
* jinterface : No Java compiler found
* odbc : ODBC library - link check failed
APPLICATIONS INFORMATION (See: /Users/jaysonvantuyl/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_build_25.2.log)
* wx : Can not link wx program are all developer packages installed?
Building docs...
Erlang/OTP 25.2 (asdf_25.2) has been successfully built
That looks successful, right? However, my prompt tells me when something returns a failure and it was definitely exiting with an error code.
When I commented out the >/dev/null 2>&1 from line 32 of bin/install (here), I saw that it was failing with the message:
ERROR: Installation (asdf_25.2) already registered for this location (/Users/jaysonvantuyl/.asdf/installs/erlang/25.2)
This was a pretty easy fix once I knew that and found the otp-installations file. But it was pretty confusing up to this point, since it looks successful.
Is there any way we can either not eat that error or at least display a better error message if it fails?
I somehow got myself into a situation where an installation was listed in
~/.asdf/plugins/erlang/kerl-home/otp-installations
but was not actually installed. I couldn't tell you how I got it that way. Prior to this whole exercise, I hadn't even looked in~/.asdf
before.Regardless, when in this situation,
kerl
was succeeding to build but failing to install. Since theerlang
plugin suppresses all output, I was seeing this:That looks successful, right? However, my prompt tells me when something returns a failure and it was definitely exiting with an error code.
When I commented out the
>/dev/null 2>&1
from line 32 ofbin/install
(here), I saw that it was failing with the message:This was a pretty easy fix once I knew that and found the
otp-installations
file. But it was pretty confusing up to this point, since it looks successful.Is there any way we can either not eat that error or at least display a better error message if it fails?
Here's the output of
asdf info
, in case it helps:The text was updated successfully, but these errors were encountered: