-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
I'm trying to play with deno but the binary doesn't work on NixOS:
$ ./deno
Failed to execute process './deno'. Reason:
The file './deno' does not exist or could not be executed.
LDD reports this:
$ ldd ./deno
linux-vdso.so.1 (0x00007ffece497000)
libdl.so.2 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib/libdl.so.2 (0x00007f4beb10d000)
librt.so.1 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib/librt.so.1 (0x00007f4beb103000)
libpthread.so.0 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib/libpthread.so.0 (0x00007f4beb0e2000)
libgcc_s.so.1 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib/libgcc_s.so.1 (0x00007f4beb0c8000)
libc.so.6 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib/libc.so.6 (0x00007f4beaf09000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib64/ld-linux-x86-64.so.2 (0x00007f4bed6ae000)
libm.so.6 => /nix/store/9hy6c2hv8lcwc6clnc1p2jf09cs5q9dp-glibc-2.30/lib/libm.so.6 (0x00007f4beadc9000)
And additionally when I try to build deno from source I get this rust error:
$ cargo build --release
error: failed to run custom build command for `rusty_v8 v0.4.2`
Caused by:
process didn't exit successfully: `/home/cadey/code/denoland/deno/target/debug/build/rusty_v8-0e9eed1354c7b305/build-script-build` (exit code: 101)
--- stdout
static lib URL: https://github.com/denoland/rusty_v8/releases/download/v0.4.2/librusty_v8_debug_x86_64-unknown-linux-gnu.a
cargo:rustc-link-search=/home/cadey/code/denoland/deno/target/debug/gn_out/obj
Downloading https://github.com/denoland/rusty_v8/releases/download/v0.4.2/librusty_v8_debug_x86_64-unknown-linux-gnu.a
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
I'm not entirely sure what could be failing here, but whatever it is it's making this not work for me. I'm using NixOS 20.03:
$ cat /etc/os-release
NAME=NixOS
ID=nixos
VERSION="20.03.1822.5adf2a6c116 (Markhor)"
VERSION_CODENAME=markhor
VERSION_ID="20.03.1822.5adf2a6c116"
PRETTY_NAME="NixOS 20.03 (Markhor)"
LOGO="nix-snowflake"
HOME_URL="https://nixos.org/"
DOCUMENTATION_URL="https://nixos.org/learn.html"
SUPPORT_URL="https://nixos.org/community.html"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
Do you have any ideas as to why this is failing?
Metadata
Metadata
Assignees
Labels
No labels