Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD 13.1 jail detected as x86_64-unknown-freebsd14.0 #311

Open
leonardorame opened this issue May 12, 2024 · 2 comments
Open

FreeBSD 13.1 jail detected as x86_64-unknown-freebsd14.0 #311

leonardorame opened this issue May 12, 2024 · 2 comments

Comments

@leonardorame
Copy link

leonardorame commented May 12, 2024

Hi, I'm trying to install Erlang with ASDF on a FreeBSD Jail 13.1 (host is 14.0) and I get this:

asdf install erlang 26.0

gmake[4]: *** Se espera a que terminen otras tareas....
gmake[4]: *** [x86_64-unknown-freebsd14.0/Makefile:939: obj/x86_64-unknown-freebsd14.0/opt/jit/beam_asm_module.o] Error 1
gmake[4]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0/otp_src_26.0/erts/emulator'
gmake[3]: *** [/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0/otp_src_26.0/make/run_make.mk:35: opt] Error 2
gmake[3]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0/otp_src_26.0/erts/emulator'
gmake[2]: *** [Makefile:45: opt] Error 2
gmake[2]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0/otp_src_26.0/erts'
gmake[1]: *** [Makefile:60: jit] Error 2
gmake[1]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0/otp_src_26.0/erts'
gmake: *** [Makefile:503: emulator] Error 2

asdf install erlang 26.2.3

gmake[4]: *** [x86_64-unknown-freebsd14.0/Makefile:948: obj/x86_64-unknown-freebsd14.0/opt/jit/beam_asm_global.o] Error 1
gmake[4]: *** Se espera a que terminen otras tareas....
gmake[4]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.3/otp_src_26.2.3/erts/emulator'
gmake[3]: *** [/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.3/otp_src_26.2.3/make/run_make.mk:35: opt] Error 2
gmake[3]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.3/otp_src_26.2.3/erts/emulator'
gmake[2]: *** [Makefile:45: opt] Error 2
gmake[2]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.3/otp_src_26.2.3/erts'
gmake[1]: *** [Makefile:60: jit] Error 2
gmake[1]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.3/otp_src_26.2.3/erts'
gmake: *** [Makefile:503: emulator] Error 2

asdf install erlang 25.3.2.12

<command-line>: sorry, unimplemented: PCH allocation failure
gmake[4]: *** [x86_64-unknown-freebsd14.0/Makefile:950: obj/x86_64-unknown-freebsd14.0/opt/jit/beam_asm_module.o] Error 1
gmake[4]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.12/otp_src_25.3.2.12/erts/emulator'
gmake[3]: *** [/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.12/otp_src_25.3.2.12/make/run_make.mk:35: opt] Error 2
gmake[3]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.12/otp_src_25.3.2.12/erts/emulator'
gmake[2]: *** [Makefile:45: opt] Error 2
gmake[2]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.12/otp_src_25.3.2.12/erts'
gmake[1]: *** [Makefile:60: jit] Error 2
gmake[1]: se sale del directorio '/usr/home/informemedico/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2.12/otp_src_25.3.2.12/erts'
gmake: *** [Makefile:503: emulator] Error 2
@leonardorame
Copy link
Author

Workaround, don't use asdf, just use: pkg install erlang-runtime26-26.2.5

@Stratus3D
Copy link
Member

We don't have dependencies for FreeBSD documented in the asdf-erlang readme. You'll need to figure out exactly which packages are needed and install them. As a starting point you can look at the dependencies required for other OS's and look for similar packages available for FreeBSD. https://github.com/asdf-vm/asdf-erlang?tab=readme-ov-file#before-asdf-install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants