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
On Ubuntu 20.10, running cargo install hotg-rune-cli fails.
I get the following output with RUST_BACKTRACE enabled.
Compiling tracing-attributes v0.1.18
Compiling wasmer-derive v2.0.0
Compiling schemars_derive v0.8.6
Compiling strum_macros v0.21.1
Compiling structopt-derive v0.4.18
Compiling jpeg-decoder v0.1.22
Compiling thiserror v1.0.30
Compiling ptr_meta v0.1.4
Compiling darling v0.13.0
Compiling wasm3-sys v0.3.0
Compiling hotg-runecoral v0.3.6
Compiling tracing v0.1.29
Compiling legion_codegen v0.4.0
Compiling tiff v0.6.1
Compiling enumset_derive v0.5.5
Compiling image v0.23.14
Compiling strum v0.21.0
Compiling structopt v0.3.25
Compiling enumset v1.0.7
error: failed to run custom build command for `hotg-runecoral v0.3.6`
Caused by:
process didn't exit successfully: `/tmp/cargo-installmlsh7s/release/build/hotg-runecoral-5f39b65c35861615/build-script-build` (exit status: 101)
--- stdout
Stdout:
if [ "$RUNECORAL_BUILD_ENVIRONMENT" = true ]; then\
bazel --batch --output_user_root=/tmp/cargo-installmlsh7s/release/build/hotg-runecoral-e20978a9521a704b/out/bazel-cache build -c opt --linkopt=-Wl,--strip-all --config=linux_x86_64 //runecoral:runecoral ;\
else \
docker run -i --rm -v "`pwd`":"`pwd`" -v $HOME:$HOME -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -v /etc/localtime:/etc/localtime:ro -u `id -u $USER`:`id -g $USER` -e HOME=$HOME -e USER=$USER -w "`pwd`" tinyverseml/runecoral-cross-linux-x86_64 bazel --batch --output_user_root=/tmp/cargo-installmlsh7s/release/build/hotg-runecoral-e20978a9521a704b/out/bazel-cache build -c opt --linkopt=-Wl,--strip-all --config=linux_x86_64 //runecoral:runecoral ;\
fi
Stderr:
[FATAL 12:40:11.580 src/main/cpp/blaze.cc:1300] blaze_util::MakeCanonical('/home/blackrat/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6') failed: (error: 13): Permission denied
make: *** [Makefile:61: librunecoral-linux-x86_64] Error 36
--- stderr
thread 'main' panicked at '"make" "librunecoral-linux-x86_64" "PREFIX=/tmp/cargo-installmlsh7s/release/build/hotg-runecoral-e20978a9521a704b/out" "COMPILATION_MODE=opt" "BAZEL=bazel --batch --output_user_root=/tmp/cargo-installmlsh7s/release/build/hotg-runecoral-e20978a9521a704b/out/bazel-cache" failed', /home/blackrat/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6/build.rs:97:9
stack backtrace:
0: rust_begin_unwind
at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:517:5
1: std::panicking::begin_panic_fmt
at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:460:5
2: build_script_build::execute_cmd
3: build_script_build::make_librunecoral
4: build_script_build::main
5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `hotg-rune-cli v0.10.0`, intermediate artifacts can be found at `/tmp/cargo-installmlsh7s`
Caused by:
build failed
In order to eliminate any folder permissions issue I navigate into /home/blackrat/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6
blackrat@LABRAT:~$ cd /home/blackrat/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6
blackrat@LABRAT:~/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6$ ls -lh
total 60K
-rw-r--r-- 1 blackrat blackrat 5.9K Nov 30 1973 build.rs
-rw-r--r-- 1 blackrat blackrat 1.3K Jan 1 1970 Cargo.toml
-rw-r--r-- 1 blackrat blackrat 840 Nov 30 1973 Cargo.toml.orig
-rw-r--r-- 1 blackrat blackrat 517 Nov 30 1973 Cross.toml
drwxrwxr-x 2 blackrat blackrat 4.0K Oct 23 03:54 docker
drwxrwxr-x 3 blackrat blackrat 4.0K Oct 23 03:54 example
-rw-r--r-- 1 blackrat blackrat 4.3K Nov 30 1973 Makefile
-rw-r--r-- 1 blackrat blackrat 1.6K Nov 30 1973 README.md
drwxrwxr-x 3 blackrat blackrat 4.0K Oct 23 03:54 runecoral
drwxrwxr-x 2 blackrat blackrat 4.0K Oct 23 03:54 rust
drwxrwxr-x 2 blackrat blackrat 4.0K Oct 23 03:54 tests
drwxrwxr-x 3 blackrat blackrat 4.0K Oct 23 03:54 third_party
-rw-r--r-- 1 blackrat blackrat 2.3K Nov 30 1973 WORKSPACE
blackrat@LABRAT:~/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6$
The text was updated successfully, but these errors were encountered:
On Ubuntu 20.10, running
cargo install hotg-rune-cli
fails.I get the following output with RUST_BACKTRACE enabled.
In order to eliminate any folder permissions issue I navigate into
/home/blackrat/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/hotg-runecoral-0.3.6
The text was updated successfully, but these errors were encountered: