Error installing erlang 27.2.2 (macos m3)

Upgrading from erlang 27.2 to erlang 27.2.2 on my mac (m3) with asdf install

Seem to be getting this (seemingly unhelpful error) though

Building (normal) Erlang/OTP 27.2.2 (asdf_27.2.2); please wait...
Initializing (build) log file at /Users/josh/.asdf/plugins/erlang/kerl-home/builds/asdf_27.2.2/otp_build_27.2.2.log.

... [unimportant wxWidgets warnings] ...

ERROR: build failed.
  639 | #include <sys/select.h>
      |          ^
 CXX	obj/aarch64-apple-darwin24.2.0/opt/jit/process_main.o
1 error generated.
make[4]: *** [obj/aarch64-apple-darwin24.2.0/opt/jit/beam_asm_module.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [jit] Error 2
make: *** [emulator] Error 2

I had a quick look at the erlang github issues but don’t see any mention, but I’m very hot off the printer with this update!

Wondering if anyone else is having this/has any debugging tips?

2 Likes

looks similar to Odd asdf install behaviour: ERROR: 'asdf_27.2' is not a kerl-managed Erlang/OTP installation / Waiting for unfinished jobs . Maybe its the same problem (“too many open files”), although the error is missing in your log.

2 Likes