-
-
Save AshyIsMe/90284f42e81647929a1c61d6bc0bb248 to your computer and use it in GitHub Desktop.
fuse-mt build issue on nixos 20.09
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation rec { | |
name = "env"; | |
env = buildEnv { name = name; paths = buildInputs; }; | |
buildInputs = [ | |
fuse | |
fuse3 | |
fuse-common | |
rustup | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo build | |
Compiling fuse v0.3.1 | |
error: failed to run custom build command for `fuse v0.3.1` | |
Caused by: | |
process didn't exit successfully: `/home/aaron/codebases/fuse-mt/target/debug/build/fuse-40a029772934a871/build-script-build` (exit code: 101) | |
--- stdout | |
cargo:rerun-if-env-changed=FUSE_NO_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG | |
cargo:rerun-if-env-changed=FUSE_STATIC | |
cargo:rerun-if-env-changed=FUSE_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH | |
cargo:rerun-if-env-changed=PKG_CONFIG_PATH | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu | |
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR | |
--- stderr | |
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse\" \"fuse >= 2.6.0\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package fuse was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fuse.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'fuse\' found\nPackage fuse was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fuse.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'fuse\' found\n" } }', /home/aaron/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.3.1/build.rs:10:76 | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment