Bug 2467299

Summary: Review Request: rust-rbpf - Virtual machine and JIT compiler for eBPF programs
Product: [Fedora] Fedora Reporter: Srikrishna Veturi <sveturi>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: RELEASE_PENDING --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, nachoesposito, package-review, zbyszek
Target Milestone: ---Flags: decathorpe: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://crates.io/crates/rbpf
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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?

Comment 10 Srikrishna Veturi 2026-08-04 15:21:11 UTC
Hi @decathorpe @zbyszek.pl 

Please help me approve and merge this request. Some other requests I need to create are also dependent on this request so I would really appreciate your help here!

Comment 11 Zbigniew Jędrzejewski-Szmek 2026-08-04 15:32:50 UTC
I'm on vacation until the end of the week. Fabio, if you could take care of this, that'd be great. Otherwise, I can do it next week.

Comment 12 Fabio Valentini 2026-08-04 19:50:33 UTC
Thanks, I've now set the appropriate flags.

Comment 13 Srikrishna Veturi 2026-08-04 20:11:51 UTC
Thank you, is this package now considered approved and would the next step be to find a sponsor for this package?

Comment 14 Fabio Valentini 2026-08-04 20:30:10 UTC
Correct, though in contrast to other distributions, Fedora sponsors people, not packages - so the future maintainer of this package in Fedora needs to be sponsored, not *this package* per se.

Comment 15 Fabio Valentini 2026-08-18 14:43:42 UTC
*** Bug 2437525 has been marked as a duplicate of this bug. ***

Comment 16 Fedora Admin user for bugzilla script actions 2026-09-24 16:26:55 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-rbpf
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 17 Fedora Admin user for bugzilla script actions 2026-09-24 16:27:01 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-rbpf
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`