Bug 2252719

Summary: Missing Provides librav1e.so.0()(64bit) on Rebuilt
Product: [Fedora] Fedora Reporter: Joseph D. Wagner <joe>
Component: rust-rav1eAssignee: Rust SIG <rust-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: decathorpe, multimedia-sig, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rust-rav1e-0.6.6-4.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-05 22:28:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2250815    
Bug Blocks:    

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.