Skip to content

Build Error Fedora 42 #196

@sangelxyz

Description

@sangelxyz

With the latest version of Fedora 42 rust-onig is causing a build error. Fedora 41 was working fine.

i already have C build dependencies installed and oniguruma-devel

error: failed to run custom build command for `onig_sys v69.8.1 (/home/sangel/rs/rust-onig/onig_sys)`

Caused by:
  process didn't exit successfully: `/home/sangel/rs/rust-onig/target/release/build/onig_sys-b4163ac515e0a398/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG
  cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG
  cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG

  --- stderr

  thread 'main' panicked at onig_sys/build.rs:212:39:
  bindgen: NotExist("oniguruma/src/oniguruma.h")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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