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

In OpenBSD installing lsp::metals results in Linux binary being installed [solution] #98

Open
liar666 opened this issue Jul 23, 2023 · 0 comments

Comments

@liar666
Copy link

liar666 commented Jul 23, 2023

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 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 ...
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

1 participant