Skip to content

catfs installation trouble: failed to run custom build command for fuse v0.3.1 #69

Description

@mrAceT

I hope you can help, on an up to date Alma Linux system after # cargo install catfs

error: failed to run custom build command for `fuse v0.3.1`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installu2WIRp/release/build/fuse-d71146d524bd1323/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=FUSE_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_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: `"pkg-config" "--libs" "--cflags" "fuse" "fuse >= 2.6.0"` did not exit successfully: exit status: 1
  error: could not find system library 'fuse' required by the 'fuse' crate

  --- stderr
  Package fuse was not found in the pkg-config search path.
  Perhaps you should add the directory containing `fuse.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'fuse', required by 'virtual:world', not found
  Package 'fuse', required by 'virtual:world', not found
  ', /root/.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
warning: build failed, waiting for other jobs to finish...
error: failed to compile `catfs v0.8.0`, intermediate artifacts can be found at `/tmp/cargo-installu2WIRp`

[edit] I saw 'could not find system library 'fuse' required by the 'fuse' crate'

but but..

dnf install fuse

Last metadata expiration check: 3:36:31 ago on Wed 20 Jul 2022 12:19:02 PM CEST.
Package fuse-2.9.7-15.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Also installed:

fuse.x86_64                                                       2.9.7-15.el8                                               @baseos
fuse-common.x86_64                                                3.3.0-15.el8                                               @baseos
fuse-libs.x86_64                                                  2.9.7-15.el8                                               @baseos
fuse3.x86_64                                                      3.3.0-15.el8                                               @baseos
fuse3-libs.x86_64                                                 3.3.0-15.el8                                               @baseos
nbdfuse.x86_64                                                    1.6.0-5.module_el8.6.0+2880+7d9e3703                       @appstream
s3fs-fuse.x86_64                                                  1.91-1.el8                                                 @epel
btrfs-fuse.x86_64                                                 0-5.20211113git8635fbc.el8                                 epel
fuse-afp.x86_64                                                   0.8.1-35.el8                                               epel
fuse-devel.i686                                                   2.9.7-15.el8                                               baseos
fuse-devel.x86_64                                                 2.9.7-15.el8                                               baseos
fuse-dislocker.x86_64                                             0.7.3-2.el8                                                epel
fuse-encfs.x86_64                                                 1.9.5-5.el8                                                epel
fuse-libs.i686                                                    2.9.7-15.el8                                               baseos
fuse-overlayfs.x86_64                                             1.8.2-1.module_el8.6.0+2878+e681bc44                       appstream
fuse-zip.x86_64                                                   0.7.2-1.el8                                                epel
fuse3-devel.i686                                                  3.3.0-15.el8                                               baseos
fuse3-devel.x86_64                                                3.3.0-15.el8                                               baseos
fuse3-libs.i686                                                   3.3.0-15.el8                                               baseos
glusterfs-fuse.x86_64                                             6.0-56.4.el8                                               baseos
gvfs-fuse.x86_64                                                  1.36.2-11.el8                                              appstream

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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