Skip to content

Fails to build on MacOS (with OSXFuse installed) #684

@mouse07410

Description

@mouse07410

MacOS Tahoe 26.2, Xcode-16.4, Rust-1.92.0

$ cargo build
.  .  .
error: failed to run custom build command for `fuser v0.16.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/Users/ur20980/src/encfs/target/debug/build/fuser-8d41319175e0d8f9/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-check-cfg=cfg(fuser_mount_impl, values("pure-rust", "libfuse2", "libfuse3"))

  --- stderr

  thread 'main' (14993634) panicked at /Users/ur20980/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/fuser-0.16.0/build.rs:9:5:
  not implemented: Building without libfuse is only supported on Linux
  stack backtrace:
     0: __rustc::rust_begin_unwind
               at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/panicking.rs:698:5
     1: core::panicking::panic_fmt
               at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/panicking.rs:80:14
     2: build_script_build::main
     3: 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...
$ ll /usr/local/lib/libfuse*
-rwxr-xr-x  1 root  wheel  595744 Nov 19 17:31 /usr/local/lib/libfuse.2.dylib*
lrwxr-xr-x  1 root  wheel      15 Dec 14 08:57 /usr/local/lib/libfuse.dylib@ -> libfuse.2.dylib
-rwxr-xr-x  1 root  wheel     981 Nov 19 17:31 /usr/local/lib/libfuse.la*
-rwxr-xr-x  1 root  wheel  663312 Nov 19 17:31 /usr/local/lib/libfuse3.4.dylib*
lrwxr-xr-x  1 root  wheel      16 Dec 14 08:57 /usr/local/lib/libfuse3.dylib@ -> libfuse3.4.dylib
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions