Bug 2366675 - Review Request: rust-icu_locale_core - API for managing Unicode Language and Locale Identifiers
Summary: Review Request: rust-icu_locale_core - API for managing Unicode Language and ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/icu_locale_core
Whiteboard:
Depends On: 2366623
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-15 20:14 UTC by Ben Beasley
Modified: 2026-03-14 16:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-03-14 16:21:44 UTC
Type: Bug
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
Configuration file for rust2rpm (988 bytes, text/plain)
2025-05-15 20:14 UTC, Ben Beasley
no flags Details
Updated configuration file for rust2rpm (1.30 KB, text/plain)
2025-05-15 22:57 UTC, Ben Beasley
no flags Details

Description Ben Beasley 2025-05-15 20:14:35 UTC
Created attachment 2090009 [details]
Configuration file for rust2rpm

Spec URL: https://music.fedorapeople.org/rust-icu_locale_core.spec
SRPM URL: https://music.fedorapeople.org/rust-potential_utf-0.1.2-1.fc42.src.rpm
Description: API for managing Unicode Language and Locale Identifiers.
Fedora Account System Username: music

This will be part of the ICU4X 2.0 stack update; see https://src.fedoraproject.org/rpms/rust-idna_adapter/pull-request/1. Unfortunately, it can’t be built for Rawhide until that update is already happening in a side tag, but I did build this in COPR with fedora-review enabled: https://copr.fedorainfracloud.org/coprs/music/icu4x/build/9052175/

Comment 1 Fedora Review Service 2025-05-15 20:14:44 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are:

- You didn't specify `SRPM URL: ...` in the ticket description
  or any of your comments
- The URL schema isn't HTTP or HTTPS
- The SRPM package linked in your URL doesn't match the package name specified
  in the ticket summary


---
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 Fedora Review Service 2025-05-15 20:14:46 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are:

- You didn't specify `SRPM URL: ...` in the ticket description
  or any of your comments
- The URL schema isn't HTTP or HTTPS
- The SRPM package linked in your URL doesn't match the package name specified
  in the ticket summary


---
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 Ben Beasley 2025-05-15 20:17:48 UTC
Correction:

Spec URL: https://music.fedorapeople.org/rust-icu_locale_core.spec
SRPM URL: https://music.fedorapeople.org/rust-icu_locale_core-2.0.0-1.fc42.src.rpm

Also, there’s a test failure on i686:

---- locale::test_sizes stdout ----

thread 'locale::test_sizes' panicked at src/locale.rs:107:5:
assertion `left == right` failed
  left: 12
 right: 16

It’s obvious that this is just a 64-bit assumption; I’ll patch it and follow up with an updated submission.

Comment 4 Fedora Review Service 2025-05-15 20:20:02 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9052201
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366675-rust-icu_locale_core/fedora-rawhide-x86_64/09052201-rust-icu_locale_core/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 5 Ben Beasley 2025-05-15 22:20:18 UTC
Fixed the test failure via  and re-uploaded to the same URLs:

Spec URL: https://music.fedorapeople.org/rust-icu_locale_core.spec
SRPM URL: https://music.fedorapeople.org/rust-icu_locale_core-2.0.0-1.fc42.src.rpm

New COPR build with fedora-review enabled:

https://copr.fedorainfracloud.org/coprs/music/icu4x/build/9052695/

Comment 6 Fedora Review Service 2025-05-15 22:22:28 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9052701
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366675-rust-icu_locale_core/fedora-rawhide-x86_64/09052701-rust-icu_locale_core/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 7 Ben Beasley 2025-05-15 22:57:24 UTC
Created attachment 2090042 [details]
Updated configuration file for rust2rpm

Comment 8 Fabio Valentini 2025-05-17 21:18:53 UTC
Review based on the spec file and build from the linked COPR.

===

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)

===

Consider dropping the JSON files (only used as test and benchmark input data) from the built packages, but this is not a requirement since they're not unusually large compared to the source code itself.

Comment 9 Ben Beasley 2025-05-18 00:57:35 UTC
Thank you for the review!

https://release-monitoring.org/project/378234/

Comment 10 Fedora Admin user for bugzilla script actions 2025-05-18 01:03:50 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-icu_locale_core

Comment 12 Fabio Valentini 2026-03-14 16:21:44 UTC
This has long been imported and built:
https://src.fedoraproject.org/rpms/rust-icu_locale_core


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