Skip to content

Strong dependency on libclang #558

@oech3

Description

@oech3
   Compiling libmount-sys v0.1.1
error: failed to run custom build command for `smartcols-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/tmp/uu-util-linux/target/debug/build/smartcols-sys-9dbd5502162eb6e9/build-script-build` (exit status: 101)
  --- stdout
  cargo:root=/tmp/uu-util-linux/target/debug/build/smartcols-sys-59215c9ceadeafeb/out
...
  --- stderr

  thread 'main' (5869) panicked at /tmp/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.71.1/lib.rs:604:27:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
$ yay -F libclang.so
extra/clang 22.1.3-1
    usr/lib/libclang.so

This is not an ideal dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions