Bug 2252719 - Missing Provides librav1e.so.0()(64bit) on Rebuilt
Summary: Missing Provides librav1e.so.0()(64bit) on Rebuilt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-rav1e
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2250815
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-04 09:35 UTC by Joseph D. Wagner
Modified: 2023-12-05 22:28 UTC (History)
3 users (show)

Fixed In Version: rust-rav1e-0.6.6-4.fc40
Clone Of:
Environment:
Last Closed: 2023-12-05 22:28:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joseph D. Wagner 2023-12-04 09:35:44 UTC
rav1e-libs cannot be reinstalled when rebuilt from rust-rav1e source using:
# rpmbuild --rebuild "rust-rav1e-0.6.6-3.fc39.src.rpm"

Attempt to reinstall the rebuilt package with:
# rpm --reinstall --test -- rav1e-libs-0.6.6-3.fc39.x86_64.rpm

results in a Failed dependency error for librav1e.so.0()(64bit).

The relevant "Provides" was not found in the build output. Closest match was:
# librav1e.so.0.6()(64bit) rav1e-libs = 0.6.6-3.fc39 rav1e-libs(x86-64) = 0.6.6-3.fc39

I'm not sure "librav1e.so.0()(64bit)" needs to be added, or if there was a deliberate decision to remove "librav1e.so.0()(64bit)" and downstream SPECS need to be updated.



Reproducible: Always

Steps to Reproduce:
1. rpmbuild --rebuild "rust-rav1e-0.6.6-3.fc39.src.rpm"
2. (optional) sign package
3. rpm --reinstall --test -- rav1e-libs-0.6.6-3.fc39.x86_64.rpm
Actual Results:  
error: Failed dependencies:
	librav1e.so.0()(64bit) is needed by (installed) libheif-1.16.2-2.fc39.x86_64
	librav1e.so.0()(64bit) is needed by (installed) libavif-0.11.1-11.fc39.x86_64


Expected Results:  
Successful test.

Comment 1 Fabio Valentini 2023-12-04 12:08:30 UTC
This is definitely unintentional.

Looks like it's caused by this change in the default behaviour of cargo-c:
https://github.com/lu-zero/cargo-c/pull/346

I'll attempt to update cargo-c to the latest version and add the required new setting to rav1e.

Comment 2 Fedora Update System 2023-12-05 20:54:14 UTC
FEDORA-2023-ff1209077d has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ff1209077d

Comment 3 Fedora Update System 2023-12-05 22:28:35 UTC
FEDORA-2023-ff1209077d has been pushed to the Fedora 40 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.