Asdf-erlang: Unable to install on 10.15.3

Created on 3 Apr 2020  路  9Comments  路  Source: asdf-vm/asdf-erlang

Something happened today, seemingly after a brew update that caused my entire Elixir dev env to error out. I have searched this, kerl, openssl, and Elixir Forum for some solutions and tried all but the nuclear option(resetting my whole dev env). Initially I was getting no :crypto module errors. I reinstalled erlang only for no version to install. I also reinstalled asdf and openssl.

I attempted to install many versions with no success. I believe I was initially on 22.0.7.

I am, admittedly, desperate at this point as I cannot develop until this is resolved so any help would be much much appreciated.

OSX 10.15.3

```
$ asdf install erlang 22.1.8
Downloading OTP-22.1.8.tar.gz to /Users/benwheat/.asdf/plugins/erlang/kerl-home/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 100 122 0 0 429 0 --:--:-- --:--:-- --:--:-- 429
100 52.4M 0 52.4M 0 0 5174k 0 --:--:-- 0:00:10 --:--:-- 4039k
Extracting source code
Building Erlang/OTP 22.1.8 (asdf_22.1.8), please wait...
DOCUMENTATION INFORMATION (See: /Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_build_22.1.8.log)

  • documentation :
  • fop is missing.
  • Using fakefop to generate placeholder PDF files.

Build failed.
gmake[4]: * [x86_64-apple-darwin19.3.0/Makefile:812: /Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_src_22.1.8/bin/x86_64-apple-darwin19.3.0/erl_child_setup] Error 1
gmake[4]:
Waiting for unfinished jobs....
gmake[4]: Leaving directory '/Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_src_22.1.8/erts/emulator'
gmake[3]:
[/Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_src_22.1.8/make/run_make.mk:35: opt] Error 2
gmake[3]: Leaving directory '/Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_src_22.1.8/erts/emulator'
gmake[2]:
[Makefile:45: opt] Error 2
gmake[2]: Leaving directory '/Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_src_22.1.8/erts'
gmake[1]:
[Makefile:54: smp] Error 2
gmake[1]: Leaving directory '/Users/benwheat/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.8/otp_src_22.1.8/erts'
gmake: *
[Makefile:488: emulator] Error 2```

Most helpful comment

Temporary workaround until otp versions will be released with the fix

  • asdf install erlang ref:maint
  • asdf global erlang ref:maint

Note: this happened on MacOSX 10.15.4 with xcode 11.4 while this issue mentions macosx 10.15.3

See also https://bugs.erlang.org/browse/ERL-1205?focusedCommentId=17223&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17223

All 9 comments

See https://github.com/erlang/otp/pull/2577 merged to the maint branch

Temporary workaround until otp versions will be released with the fix

  • asdf install erlang ref:maint
  • asdf global erlang ref:maint

Note: this happened on MacOSX 10.15.4 with xcode 11.4 while this issue mentions macosx 10.15.3

See also https://bugs.erlang.org/browse/ERL-1205?focusedCommentId=17223&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17223

Thanks a ton!

Any ideas how this would have happened? I haven't had a problem until the brew update yesterday.

@BWheatie not sure!
Looks like it was a weird update (brew upgrade, macosx, xcode, etc) combo

What @kpanic says or also https://github.com/asdf-vm/asdf-erlang/issues/82#issuecomment-589965823 馃憤

Thanks, all. The odd thing in all of this is that I have been on this setup for months. When I brew update brew upgrade last week, this came tumbling down on me.

Another workaround is to downgrade your xcode installation. Just uninstall and then install a previous version from Apple's developer portal

Great catch! I was just stumbling across this issue for the past hour or so myself.

Was this page helpful?
0 / 5 - 0 ratings