Fails to Install Fuse on Void Linux
Hello there!
I am currently unable to compile Redox on Void Linux as I am getting an error caused by fuse. I know this isn't directly related to Redox's development, but felt that I should bring it up here anyways so you're aware. Here's the rundown:
uname -a: Linux tarpit 5.2.21_1 #1 SMP PREEMPT Fri Oct 11 18:24:40 UTC 2019 x86_64 GNU/Linux
rustc -V: rustc 1.38.0-nightly (ad7c55e1f 2019-08-07)
cargo -V: cargo 1.38.0-nightly (26092da33 2019-07-31)
I have tried everything in the help! Redox won't compile
section and am still receiving the error.
Now here's the giant error text block!
[skye@tarpit::redox] » cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook -c initfs.toml build/initfs/
Compiling proc-macro2 v0.4.30
Compiling libc v0.2.62
Compiling log v0.4.8
Compiling cc v1.0.45
Compiling smallvec v0.6.10
Compiling cfg-if v0.1.9
Compiling matches v0.1.8
Compiling unicode-xid v0.1.0
Compiling proc-macro2 v1.0.3
Compiling byteorder v1.3.2
Compiling typenum v1.11.2
Compiling version_check v0.1.5
Compiling lazy_static v1.4.0
Compiling unicode-xid v0.2.0
Compiling syn v0.15.44
Compiling httparse v1.3.4
Compiling untrusted v0.6.2
Compiling safemem v0.3.2
Compiling serde v1.0.100
Compiling crc32fast v1.2.0
Compiling bitflags v1.1.0
Compiling percent-encoding v1.0.1
Compiling pkg-config v0.3.15
Compiling arrayvec v0.4.11
Compiling autocfg v0.1.6
Compiling syn v1.0.5
Compiling byte-tools v0.3.1
Compiling failure_derive v0.1.5
Compiling numtoa v0.1.0
Compiling traitobject v0.1.0
Compiling nodrop v0.1.13
Compiling rand_core v0.4.2
Compiling unicode-width v0.1.6
Compiling language-tags v0.2.2
Compiling typeable v0.1.2
Compiling ordermap v0.3.5
Compiling rustc-demangle v0.1.16
Compiling arrayref v0.3.5
Compiling thread-scoped v1.0.2
Compiling take_mut v0.2.2
Compiling keccak v0.1.0
Compiling rle-decode-fast v1.0.1
Compiling opaque-debug v0.2.3
Compiling constant_time_eq v0.1.4
Compiling redox_pkgutils v0.1.3
Compiling bytecount v0.1.7
Compiling fixedbitset v0.1.9
Compiling adler32 v1.0.3
Compiling ordermap v0.2.13
Compiling redox_syscall v0.1.56
Compiling bidir-map v0.6.0
Compiling version-compare v0.0.4
warning[E0621]: explicit lifetime required in the type of `other`
--> /home/skye/.cargo/registry/src/github.com-1ecc6299db9ec823/version-compare-0.0.4/src/version.rs:308:13
|
304 | pub fn compare(&self, other: &Version) -> CompOp {
| -------- help: add explicit lifetime `'a` to the type of `other`: `&version::Version<'a>`
...
308 | other.parts.iter().peekable()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required
|
= warning: this error has been downgraded to a warning for backwards compatibility with previous releases
= warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
= note: for more information, try `rustc --explain E0729`
Compiling arg_parser v0.1.0
Compiling unicode-bidi v0.3.4
Compiling unicode-normalization v0.1.8
Compiling crossbeam-utils v0.6.6
Compiling unicase v1.4.2
Compiling ring v0.13.5
Compiling backtrace-sys v0.1.31
Compiling block-padding v0.1.4
Compiling rand_chacha v0.1.1
Compiling rand_pcg v0.1.2
Compiling rand v0.6.5
Compiling textwrap v0.11.0
Compiling rand_core v0.3.1
Compiling rand_jitter v0.1.4
Compiling fuse v0.3.1
Compiling petgraph v0.4.13
Compiling rand_hc v0.1.0
Compiling rand_xorshift v0.1.1
Compiling rand_isaac v0.1.1
error: failed to run custom build command for `fuse v0.3.1`
Caused by:
process didn't exit successfully: `/home/skye/misc/redox/redox/installer/target/debug/build/fuse-611515088596cdba/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse\" \"fuse >= 2.6.0\"", cause: Os { code: 2, kind: NotFound, message: "No such file or directory" } }', src/libcore/result.rs:1084: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
[skye@tarpit::redox] » RUST_BACKTRACE=1 cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook -c initfs.toml build/initfs/
Compiling idna v0.1.5
Compiling fuse v0.3.1
Compiling ring v0.13.5
Compiling time v0.1.42
error: failed to run custom build command for `fuse v0.3.1`
Caused by:
process didn't exit successfully: `/home/skye/misc/redox/redox/installer/target/debug/build/fuse-611515088596cdba/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse\" \"fuse >= 2.6.0\"", cause: Os { code: 2, kind: NotFound, message: "No such file or directory" } }', src/libcore/result.rs:1084:5
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/libunwind.rs:88
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:47
3: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:36
4: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:200
5: std::panicking::default_hook
at src/libstd/panicking.rs:214
6: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:477
7: std::panicking::continue_panic_fmt
at src/libstd/panicking.rs:384
8: rust_begin_unwind
at src/libstd/panicking.rs:311
9: core::panicking::panic_fmt
at src/libcore/panicking.rs:85
10: core::result::unwrap_failed
at src/libcore/result.rs:1084
11: core::result::Result<T,E>::unwrap
at /rustc/ad7c55e1fc55d9af4787b285cec1c64e3480ae84/src/libcore/result.rs:852
12: build_script_build::main
at ./build.rs:10
13: std::rt::lang_start::{{closure}}
at /rustc/ad7c55e1fc55d9af4787b285cec1c64e3480ae84/src/libstd/rt.rs:64
14: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:49
15: std::panicking::try::do_call
at src/libstd/panicking.rs:296
16: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:80
17: std::panicking::try
at src/libstd/panicking.rs:275
18: std::panic::catch_unwind
at src/libstd/panic.rs:394
19: std::rt::lang_start_internal
at src/libstd/rt.rs:48
20: std::rt::lang_start
at /rustc/ad7c55e1fc55d9af4787b285cec1c64e3480ae84/src/libstd/rt.rs:64
21: main
22: __libc_start_main
at ../csu/libc-start.c:308
23: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
Thank you!