When I install lsp::metals in DoomEmacs, it doesn't work. The installation log (comint) for lsp::metals shows a message saying more or less "coursier : invalid format"
Indeed, when I go to .emacs.d/.local/etc/lsp/metals/ the installed coursier file is a Linux ELF binary.
SOLUTION: When you go to coursier's installation instructions page there is an entry "Any (needs JVM)" which work perfectly under OpenBSD. Installing this version (for everyone or for *BSDs only) would solve the problem
Steps to reproduce
Run OpenBSD
Start DoomEmacs
M-x lsp-install-server
Select metals
check binary type of the installed coursier file:
$ file "~/.emacs.d/.local/etc/lsp/metals/coursier"
~/.emacs.d/.local/etc/lsp/metals/coursier: ELF 64-bit LSB pie executable, x86-64 ...
Context: I run OpenBSD.
When I install lsp::metals in DoomEmacs, it doesn't work. The installation log (comint) for lsp::metals shows a message saying more or less
"coursier : invalid format"
Indeed, when I go to
.emacs.d/.local/etc/lsp/metals/
the installedcoursier
file is a Linux ELF binary.SOLUTION: When you go to coursier's installation instructions page there is an entry "Any (needs JVM)" which work perfectly under OpenBSD. Installing this version (for everyone or for *BSDs only) would solve the problem
Steps to reproduce
coursier
file: $ file "~/.emacs.d/.local/etc/lsp/metals/coursier" ~/.emacs.d/.local/etc/lsp/metals/coursier: ELF 64-bit LSB pie executable, x86-64 ...