williamboman / mason.nvim

Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Apache License 2.0
7.22k stars 258 forks source link

LemMinX on x86_64 Linux #1720

Open harriott opened 1 month ago

harriott commented 1 month ago

I've searched open issues for similar requests

I've manually reviewed logs to find potential errors

I've recently downloaded the latest plugin version of mason.nvim

Problem description

LemMinX (Code) package fails on Arch linux v6.9.2 x86_64 - when I open my openbox/rc.xml, I get this in ~/.local/state/nvim/lsp.log:

[ERROR][2024-05-29 18:00:19] .../vim/lsp/rpc.lua:770 "rpc" "/home/jo/.local/share/nvim/mason/bin/lemminx" "stderr" "The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].\nPlease rebuild the executable with an appropriate setting of the -march option."

Expected behavior

no errors on opening an *.xml (as I'm finding in my same nvim installation on Windows 10 Pro 22H2)

Steps to reproduce

  1. install Arch linux and packages as required
  2. install neovim and necessary plugins
  3. open an *.xml

Affected packages

LemMinX

Neovim version (>= 0.7)

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478

Operating system/version

Linux sbMb 6.9.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000 x86_64 GNU/Linux

Healthcheck

mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-05-29-wiggly-museum` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.24.5 built on linux-gnu.`
- OK curl: `curl 8.8.0 (x86_64-pc-linux-gnu) libcurl/8.8.0 OpenSSL/3.3.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.62.1 nghttp3/1.3.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Ruby: `ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]`
- OK Go: `go version go1.22.3 linux/amd64`
- OK luarocks: `/usr/bin/luarocks 3.11.0`
- OK cargo: `cargo 1.66.0 (d65d197ad 2022-11-15)`
- OK PHP: `PHP 8.3.7 (cli) (built: May  9 2024 14:26:42) (NTS)`
- OK node: `v22.2.0`
- OK Composer: `Composer version 2.7.6 2024-05-04 23:03:15`
- OK RubyGem: `3.3.25`
- OK python: `Python 3.12.3`
- OK npm: `10.8.0`
- OK java: `openjdk version "22" 2024-03-19`
- OK julia: `julia version 1.10.3`
- OK javac: `javac 22`
- OK pip: `pip 24.0 from /usr/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 5000. Limit: 5000. Reset: Wed 29 May 2024 22:22:17 CEST.

Screenshots or recordings

No response

aerithnetzer commented 4 weeks ago

Also getting this error on M1 Macbook. Let me know if you happen to find a workaround, will do the same.

domWalters commented 2 weeks ago

I'm getting this too on Ubuntu 20.04 in a VirtualBox VM.

domWalters commented 2 weeks ago

Checked on my desktop PC and don't get this issue.