rbpf icon indicating copy to clipboard operation
rbpf copied to clipboard

Json dev-dependencies version issue for Fedora

Open Qwor01 opened this issue 3 weeks ago • 2 comments

Hi, i was trying to build a the rbpf package for fedora and found the following errors: Problem 1: nothing provides requested (crate(json/default) >= 0.11.0 with crate(json/default) < 0.12.0~) Problem 2: nothing provides requested (crate(time/default) >= 0.2.0 with crate(time/default) < 0.3.0~)

As per my own investigation i found out that cargo.toml defines dependencies as [dev-dependencies] libc = { version = "0.2" } elf = "0.0.10" json = "0.11" hex = "0.4.3"

I found that the default fedora upstream package for json is on version 0.12.4: (https://packages.fedoraproject.org/pkgs/rust-json/rust-json+default-devel/?utm_source=chatgpt.com)

Thus the cargo.toml would need to be modified in order for the package to be build in rpm

Qwor01 avatar Dec 01 '25 11:12 Qwor01

Hi! I don't know how relevant it is to ship rbpf as a rpm, but I've got no objection to the dependency update as long as nothing breaks. Could you please open a Pull Request?

qmonnet avatar Dec 01 '25 11:12 qmonnet

Sure, no problem, i'll open one for you guys to review

Qwor01 avatar Dec 01 '25 11:12 Qwor01