FreeBSD 13.1 jail detected as x86_64-unknown-freebsd14.0
Opened this issue · 2 comments
leonardorame commented
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 commented
Workaround, don't use asdf, just use: pkg install erlang-runtime26-26.2.5
Stratus3D commented
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