Skip to content

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

Open
@liar666

Description

@liar666

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions