You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling libc v0.2.169
error: failed to run custom build command for `libc v0.2.169`
Caused by:
process didn't exit successfully: `/home/sanoj/dev/buildscripttest/target/debug/build/libc-b19ddf8e2d903ce4/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs
--- stderr
thread 'main' panicked at /home/sanoj/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.169/build.rs:143:9:
failed to run rustc: rustc: error while loading shared libraries: libLLVM.so.19.1-rust-1.84.1-stable: cannot open shared object file: No such file or directory
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
If I set LD_LIBRARY_PATH manually, I get this instead:
Compiling libc v0.2.169
error[E0463]: can't find crate for `core`
|
= note: the `x86_64-unknown-linux-gnu` target may not be installed
= help: consider downloading the target with `rustup target add x86_64-unknown-linux-gnu`
For more information about this error, try `rustc --explain E0463`.
error: could not compile `libc` (lib) due to 1 previous error
The build failure doesn't seem to be entirely deterministic, it occasionally works, but usually fails with that error. Sometimes I've seen different errors. I also have projects that build successfully with that flake, but the linked repo contains only a simple hello world using libc, and I observer the build failure there too.
I've confirmed this on two different machines, to rule out RAM issues.
The text was updated successfully, but these errors were encountered:
Using the following nix flake definition, I get a build failure (full project here.)
Error:
If I set
LD_LIBRARY_PATH
manually, I get this instead:The build failure doesn't seem to be entirely deterministic, it occasionally works, but usually fails with that error. Sometimes I've seen different errors. I also have projects that build successfully with that flake, but the linked repo contains only a simple hello world using libc, and I observer the build failure there too.
I've confirmed this on two different machines, to rule out RAM issues.
The text was updated successfully, but these errors were encountered: