Bug 2329412 - Review Request: rust-neli - Type safe netlink library written in Rust
Summary: Review Request: rust-neli - Type safe netlink library written in Rust
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/neli
Whiteboard:
Depends On: 2329411
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-28 21:39 UTC by Stefano Brivio
Modified: 2025-03-19 11:32 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-19 11:32:55 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 8594585 to 8675789 (502 bytes, patch)
2025-02-20 15:46 UTC, Fedora Review Service
no flags Details | Diff

Description Stefano Brivio 2024-11-28 21:39:36 UTC
Spec URL: https://passt.top/static/rust-neli.spec
SRPM URL: https://passt.top/static/rust-neli-0.6.4-1.fc41.src.rpm
Description: Type safe netlink library written in Rust
Fedora Account System Username: sbrivio

Comment 1 Fedora Review Service 2024-11-28 21:41:40 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8324350
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2329412-rust-neli/fedora-rawhide-x86_64/08324350-rust-neli/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 2 Stefano Brivio 2025-01-17 21:10:13 UTC
Blocked by https://github.com/jbaublitz/neli/pull/260, then I'll upload a new version.

Comment 3 Stefano Brivio 2025-02-01 12:16:24 UTC
(In reply to Stefano Brivio from comment #2)
> Blocked by https://github.com/jbaublitz/neli/pull/260, then I'll upload a
> new version.

Well, I can't wait forever. Added a downstream patch for it, for the moment.


Spec URL: https://passt.top/static/rust-neli.spec
SRPM URL: https://passt.top/static/rust-neli-0.7.0~rc3-1.fc42.src.rpm
Description: Type safe netlink library written in Rust
Fedora Account System Username: sbrivio

Comment 4 Fedora Review Service 2025-02-01 12:27:31 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8594585
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2329412-rust-neli/fedora-rawhide-x86_64/08594585-rust-neli/fedora-review/review.txt

Please take a look if any issues were found.


---
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 5 Fabio Valentini 2025-02-18 21:43:19 UTC
Looks mostly good to me!

Can you use "rust2rpm -p" for patching Cargo.toml instead of making the patch manually?
Using "rust2rpm -p" is the only supported way to patch Cargo.toml, since its contents need to be known *prior* to generating the spec file.

Comment 6 Stefano Brivio 2025-02-19 15:23:22 UTC
(In reply to Fabio Valentini from comment #5)
> Looks mostly good to me!
> 
> Can you use "rust2rpm -p" for patching Cargo.toml instead of making the
> patch manually?

Hah, magic, I didn't know about that.

> Using "rust2rpm -p" is the only supported way to patch Cargo.toml, since its
> contents need to be known *prior* to generating the spec file.

Sure, makes sense.

Spec URL: https://passt.top/static/rust-neli.spec
SRPM URL: https://passt.top/static/rust-neli-0.7.0~rc3-1.fc42.src.rpm

Comment 7 Stefano Brivio 2025-02-19 19:01:15 UTC
Let's try again...

[fedora-review-service-build]

Spec URL: https://passt.top/static/rust-neli.spec
SRPM URL: https://passt.top/static/rust-neli-0.7.0~rc3-1.fc42.src.rpm
Description: Type safe netlink library written in Rust
Fedora Account System Username: sbrivio

Comment 8 Fedora Review Service 2025-02-20 15:46:38 UTC
Created attachment 2077235 [details]
The .spec file difference from Copr build 8594585 to 8675789

Comment 9 Fedora Review Service 2025-02-20 15:46:41 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8675789
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2329412-rust-neli/fedora-rawhide-x86_64/08675789-rust-neli/fedora-review/review.txt

Please take a look if any issues were found.


---
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 10 Fabio Valentini 2025-03-16 00:07:43 UTC
Sorry for the delay, the package looks good to me now!

===

Package was generated with rust2rpm, simplifying the review.

✅❌❓🫤

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
✅ latest version of the crate is packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ license file is included with %license in %files
✅ package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter (*NOT* pre-release filter): alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- set bugzilla assignee overrides to @rust-sig (optional)

Comment 11 Fedora Admin user for bugzilla script actions 2025-03-18 18:22:02 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-neli

Comment 12 Stefano Brivio 2025-03-18 18:56:36 UTC
Ouch, tests fail on s390x (https://kojipkgs.fedoraproject.org//work/tasks/7795/130447795/build.log):

test test::test_nl_be_u64 ... ok
memory allocation of 34359738372 bytes failed

That's 0x800000004 bytes, we probably have some unintended swap somewhere.

Comment 13 Stefano Brivio 2025-03-18 19:09:02 UTC
That's actually fine, though. The failing one is:

test rtnl::test::test_rta_deserialize ... FAILED

...still debugging.

Comment 14 Fedora Update System 2025-03-19 11:27:52 UTC
FEDORA-2025-716ae39cd4 (rust-neli-0.7.0~rc3-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-716ae39cd4

Comment 15 Fedora Update System 2025-03-19 11:32:55 UTC
FEDORA-2025-716ae39cd4 (rust-neli-0.7.0~rc3-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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