-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
stable-x86_64-unknown-linux-gnu - (error reading rustc version) #130423
Comments
@DarkXero-dev Thanks for filing this issue! However, I don't believe this is a Rustup issue. As seen in the log, Rustup tries to launch the This option comes from LLVM (see also bpftrace/bpftrace#1855), so there could be a possibility that somehow the Maybe rust-lang/rust is a better place to ask? |
Well after setting |
@DarkXero-dev Thanks! Please let us know if this issue reappears, so that we may transfer it to the Rust repo. |
I'm experiencing the same bug on Arch Linux...
Update, it happens with 1.81, 1.80, 1.79, 178, but not with nightly, beta or < 1.77
|
@uberkael This seems unlikely to be the reason. Given that Rustup seems to be getting the binaries without problems, |
@rustbot transfer rust-lang/rust |
Based on bpftrace/bpftrace#1855, what does this print:
And can you share what project you are trying to build? |
working 1.77
stable 1.8
|
Either that's a rustc distributed by your system package manager, or something is very strange/broken about your system. I think |
Wow, that's really strange. Uninstalling NoMachine AUR Package made the stable toolchain (and others) usable.
However, when I run Cargo (which works), it throws multiple NX-related errors (wtf?):
How is this possible? Update: After a restart the errors are gone. |
Updated results:
|
I believe this is a known issue with NoMachine. After seeing their forum... I wouldn't touch this software myself. https://forum.nomachine.com/topic/after-uninstall-all-programs-look-for-usr-nx-lib-libnxegl-so I don't know what it is doing to hijack your system like this, but that is Quite Bad. Most likely instead of a reboot you could have refreshed the ld.so cache, |
Verification
Problem
I keep getting this error
stable-x86_64-unknown-linux-gnu unchanged - (error reading rustc version)
Steps
Possible Solution(s)
No response
Notes
Works on Arch XFCE not Arch KDE which I find odd.
Rustup version
rustup 1.27.1 (2024-05-07)
Installed toolchains
OS version
The text was updated successfully, but these errors were encountered: