Bug 2467299 - Review Request: rust-rbpf - Virtual machine and JIT compiler for eBPF programs
Summary: Review Request: rust-rbpf - Virtual machine and JIT compiler for eBPF programs
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/rbpf
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-06 18:17 UTC by Srikrishna Veturi
Modified: 2026-07-17 20:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
decathorpe: fedora-review?


Attachments (Terms of Use)

Description Srikrishna Veturi 2026-05-06 18:17:51 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/sveturi/rbpf/fedora-rawhide-x86_64/10430541-rust-rbpf/rust-rbpf.spec

SRPM URL: https://download.copr.fedorainfracloud.org/results/sveturi/rbpf/srpm-builds/10430541/rust-rbpf-0.4.1-1.src.rpm

Description: Virtual machine and JIT compiler for eBPF programs. This package is needed as a dependency for aya-obj and aya, which are required for onboarding Azure Guest Proxy Agent to Fedora.

Fedora Account System Username: sveturi

Comment 1 Srikrishna Veturi 2026-06-02 22:37:54 UTC
Spec URL: https://raw.githubusercontent.com/srikrishnaveturi/rust-rbpf-fedora/main/rust-rbpf.spec

SRPM URL: https://github.com/srikrishnaveturi/rust-rbpf-fedora/raw/main/rust-rbpf-0.4.1-1.fc42.src.rpm

Description: Virtual machine and JIT compiler for eBPF programs. This package is needed as a dependency for aya-obj and aya, which are required for onboarding Azure Guest Proxy Agent to Fedora.

Fedora Account System Username: sveturi

Comment 2 Fedora Review Service 2026-06-03 08:29:59 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10551683
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2467299-rust-rbpf/fedora-rawhide-x86_64/10551683-rust-rbpf/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Zbigniew Jędrzejewski-Szmek 2026-06-03 15:26:44 UTC
Standard Rust packaging, seems all legit.

Comment 4 Fabio Valentini 2026-06-25 09:01:16 UTC
I see at least one issue that should have blocked approval: The built packages are not all installable.

In particular, the "cranelift" feature pulls in the cranelift compiler infrastructure, which isn't packaged for Fedora.
That feature will need to be hidden (or cranelift needs to get packaged, if it's actually needed for aya).

I would also recommend to persist the configuration for which tests are / can be run in a rust2rpm.toml config file.

Both things can be achieved with a rust2rpm.toml file with these contents:

```
[features]
hide = ["cranelift"]

[tests]
run = [
    "lib",
    "test:assembler",
    "test:disassembler",
    "test:misc",
    "test:ubpf_verifier",
    "test:ubpf_vm",
]
comments = [
    """\
    JIT tests (ubpf_jit_x86_64) and JIT doctests require mprotect(PROT_EXEC|PROT_WRITE)
    which is denied by SELinux deny_execmem policy in mock/Koji.
    Run lib unit tests + all safe integration tests, skip JIT and doctests.""",
]
```

see man(5) rust2rpm.toml for documentation of the config file format.

Comment 5 Srikrishna Veturi 2026-06-29 17:40:04 UTC
I have updated the spec to address review feedback:
- Added rust2rpm.toml to hide the "cranelift" feature (unpackaged deps) and persist test configuration
- Regenerated spec with rust2rpm

Comment 6 Srikrishna Veturi 2026-06-29 17:42:24 UTC
Spec URL: https://raw.githubusercontent.com/srikrishnaveturi/rust-rbpf-fedora/main/rust-rbpf.spec

SRPM URL: https://github.com/srikrishnaveturi/rust-rbpf-fedora/raw/main/rust-rbpf-0.4.1-1.fc42.src.rpm

Description: Virtual machine and JIT compiler for eBPF programs. This package is needed as a dependency for aya-obj and aya, which are required for onboarding Azure Guest Proxy Agent to Fedora.

Fedora Account System Username: sveturi

Comment 7 Fedora Review Service 2026-06-29 17:47:35 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10661410
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2467299-rust-rbpf/fedora-rawhide-x86_64/10661410-rust-rbpf/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 8 Srikrishna Veturi 2026-06-29 17:51:13 UTC
Hi @decathorpe, 

I have updated the files and the new builds have succeeded. Can you please take a look at this request again? Thank you for your help!

Comment 9 Fabio Valentini 2026-07-17 20:41:14 UTC
Looks good to me now, thanks.

zbyszek, do you want to do the fedora-review+ flag, or should I do it?


Note You need to log in before you can comment on or make changes to this bug.