Bug 2329745
Summary: | F41FailsToInstall: rust-sev+crypto_nossl-devel | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | rust-sev | Assignee: | Tyler Fanelli <tfanelli> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 41 | CC: | berrange, crobinso, decathorpe, rust-sig, slopezpa, tfanelli, virt-maint |
Target Milestone: | --- | Flags: | tfanelli:
needinfo-
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rust-sev-4.0.0-8.fc41 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-12-24 01:46:34 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: | |||
Bug Blocks: | 2260877 |
Description
Fedora Fails To Install
2024-12-01 15:39:59 UTC
FEDORA-2024-b54685734d (rust-sev-4.0.0-6.fc41, rust-sevctl-0.6.0-2.fc41, and 1 more) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b54685734d Hey, it seems like there's a misunderstanding of how optional dependencies are treated here ... https://src.fedoraproject.org/rpms/rust-sev/c/d442d79939812a99c7a3031e74b4e3c8dc6eb1f6?branch=rawhide Looking at your commit upstream too: https://github.com/virtee/sev/commit/f8927227b409d955796f5952fb7ff15161a6a389 Optional dependencies *are* features. You can verify this by inspecting the output of "cargo metadata". The only way to "hide" them from the public API is by using them with the "dep:" syntax, as done in the commit. But without that, optional dependencies *are* features, they aren't "mistaken" for them. rust2rpm does the correct thing here. As such, the commit you pushed to the rust-sev package is wrong, and introduces a broken dependency: """ $ repoquery --whatrequires rust-sev+rdrand-devel rust-sev+openssl-devel-0:4.0.0-4.fc42.noarch """ Fabio thanks for the info yet again. Pulling the `dep:` change from upstream and letting rust2rpm handle it lets me install the whole package output. FEDORA-2024-158690ab96 (rust-sev-4.0.0-8.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-158690ab96 FEDORA-2024-158690ab96 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-158690ab96` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-158690ab96 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-158690ab96 (rust-sev-4.0.0-8.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |