Closed ktekinay closed 1 month ago
I should note that everything above "Build failed" is what I have typically seen with previous versions.
Fwiw, this (27.1) build on a macos-14
GitHub runner (same macOS version as you report, but probably an M2), as per kerl
CI results: https://github.com/kerl/kerl/actions/runs/10867451507/job/30342783017. I'm assuming the host to be ARM64, as per recent results in another repo, so here's the software listing: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md.
It's either architecture-dependant or you have a local isse: your logs report Too many open files
.
Xcode 16 is the culprit here. For some reason, Xcode 16 will open more than 256 files when building any version of Erlang/OTP with the JIT enabled.
The default ulimit for the number of open files is 256.
I could successfully build Erlang/OTP with Xcode 16 after raising the limit to 1024:
% ulimit -n 1024
Xcode 16 is the culprit here. For some reason, Xcode 16 will open more than 256 files when building any version of Erlang/OTP with the JIT enabled.
The default ulimit for the number of open files is 256.
I could successfully build Erlang/OTP with Xcode 16 after raising the limit to 1024:
% ulimit -n 1024
That was the solution, thank you.
Describe the bug Using asdf install, I can't build Erlang 27.1.
To Reproduce asdf install erlang latest
Expected behavior This usually builds.
Affected versions v.27.1
Additional context This is on a Mac 14.6.1, M3 Max, Xcode 16. I get the following output (edited for brevity and security):