eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.29k stars 2.45k forks source link

Getting musl binaries version of an extension on glibc platform #13824

Closed hsnoil closed 2 weeks ago

hsnoil commented 2 weeks ago

Bug Description:

I loaded up the rust-analyzer plugin and found that it wasn't working on the appimage. I tried to run the binary it shows manually and it said "file or directory not found", doing a file rust-analyzer it reported that the interpreter was ld-musl. I checked with my vscodium version and it is ld-linux. Copying the binary from vscodium and it worked

Steps to Reproduce:

  1. Get the Theia appimage from eclipse website and run it
  2. Install rust-analyzer plugin
  3. It will not work, the output tab will display an error

Additional Information

By getting the file inside the outputs tab it points to rust-analyzer --version. Using file to check it points to musl interpreter. Swapping it manually with the one from vscodium binary makes it work

msujew commented 2 weeks ago

Hey @hsnoil,

this is a duplicate of https://github.com/eclipse-theia/theia/issues/13558, Theia currently does not respect the platform version property when downloading an extension.