Skip to content

Json dev-dependencies version issue for Fedora #129

@Qwor01

Description

@Qwor01

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

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