Description of problem: Package rust-ripgrep fails to build from source in EPEL 9 NEXT. Version-Release number of selected component (if applicable): 14.1.0-3.el9 Steps to Reproduce: koji build --scratch epel9-next rust-ripgrep-14.1.0-3.el9.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/rust-ripgrep
I found that since Rust 1.79 (https://github.com/rust-lang/rust/pull/123936), there's an EMPTY constant in rust-pcre2 that's now a dangling pointer, even though it was trying to avoid that: https://github.com/BurntSushi/rust-pcre2/issues/42 But even still, the underlying pcre2 shouldn't be reading that pointer at all when the length is 0. The same `rg` test binary does work when copied to Fedora, which has newer pcre2, so I'm guessing there was also some fix there since RHEL 9's pcre2 10.40.
Worked around by the updated pcre2 bindings.