Hi all,
We recently upgraded from erlang 23.2.7 to 25.2, the rest of the team had no issue running asdf install, but I’ve been consistently running into errors. Most recently I tried setting the kerl flags, and now getting a rather cryptic output. Would love any help you’d be able to provide.
The output:
[aaggarwal:...roadcast-work/broadcast-api]$ export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=$(brew --prefix openssl@1.1)"
asdf install erlang 25.2
elixir 1.13.4-otp-25 is already installed
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/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_build_25.2.log)
* jinterface : Java compiler disabled by user
Build failed.
gmake[5]: Leaving directory '/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/lib/megaco/src/flex'
gmake[4]: *** [/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/make/run_make.mk:35: opt] Error 2
gmake[4]: Leaving directory '/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/lib/megaco/src/flex'
gmake[3]: *** [/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/make/otp_subdir.mk:29: opt] Error 2
gmake[3]: Leaving directory '/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/lib/megaco/src'
gmake[2]: *** [/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/make/otp_subdir.mk:29: opt] Error 2
gmake[2]: Leaving directory '/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/lib/megaco'
gmake[1]: *** [/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/make/otp_subdir.mk:29: opt] Error 2
gmake[1]: Leaving directory '/Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_src_25.2/lib'
gmake: *** [Makefile:518: libs] Error 2
Please see /Users/aaggarwal/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2/otp_build_25.2.log for full details.
The build log doesn’t add much more information, can post that in the thread if it helps.
Running this on MacOSX Monterey 12.5.1 on Apple M1. The terminal is a rosetta terminal and should have everything linked and installed. Here is a list of the brew formulae currently on the machine.
[aaggarwal:...roadcast-work/broadcast-api]$ brew list (main)
==> Formulae
asdf elasticsearch-full glib krb5 libreadline-java libxdmcp little-cms2 openssl@3 railway
autoconf fontconfig gmp libffi libtiff libxext lz4 pcre readline
automake fop graphite2 libgcrypt libtool libxml2 lzo pcre2 unixodbc
ca-certificates freetype harfbuzz libgpg-error libx11 libxrender m4 pixman xorgproto
cairo gettext icu4c libical libxau libxslt openjdk postgresql xz
coreutils giflib jpeg-turbo libpng libxcb libyaml openssl@1.1 postgresql@14 zstd
Any help would be appreciated, thank you!