Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1892874
Summary: | F34FailsToInstall: nspr-devel | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | nss | Assignee: | Daiki Ueno <dueno> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | crypto-team, dueno, elio.maldonado.batiz, kai-engert-fedora, kdudka, michal.jnn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-30 19:14:06 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: | 1868279 |
Description
Miro Hrončok
2020-10-29 19:24:38 UTC
I believe this is caused by: Requires: nspr = %{nspr_version}-%{nspr_release} in nspr-devel package. It requires nspr = 4.29.0-2, which is not satisfied by nspr = 4.29.0-2.fc34, because 2 != 2.fc34. Yes, %{release} in nspr.spec included the %{?dist} suffix while %{nspr_release} in nss.spec does not. Thank you so much for the hint. I've pushed this fix: https://src.fedoraproject.org/rpms/nss/c/466a27e84dae5d2697c5fd35855eb9263a504cdb?branch=master (In reply to Daiki Ueno from comment #3) > Thank you so much for the hint. I've pushed this fix: > https://src.fedoraproject.org/rpms/nss/c/ > 466a27e84dae5d2697c5fd35855eb9263a504cdb?branch=master I just realized that, while this would solve the current problem, it would prevent future updates. As NSPR is less frequently updated in upstream, the release bump of NSS will cause nspr* packages to be built with the same NVR multiple times. I guess we need some trick in NSPR's release numbering, e.g., "%{nspr_release}.nss-%{release}". Especially if you upgrade nss and lower the release, than nspr version-release will go lower. If you really need to do this, you might do it like this (untested): %global baserelease 7 %glbal nss_version 3.58.0 %glbal nss_release %{baserelease}%{?dist} %global nspr_version 4.29.0 %global nspr_release %{nss_version}^%{baserelease}%{?dist} # main package Version: %{nss_version} Release: %{nss_release} %package -n nspr Version: %{nspr_version} Release: %{nspr_release} %package -n nspr-devel Version: %{nspr_version} Release: %{nspr_release} Requires: nspr%{?_isa} = %{nspr_version}-%{nspr_release} Or even: %global nspr_release %{nss_version}^%{nss_release} Thank you. I've added a follow-up fix that asks the maintainers to do that manually: https://src.fedoraproject.org/rpms/nss/c/b09fff4da101841d043014150107559d3f9f5dfa?branch=master Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 34. Thanks for taking care of it! *** Bug 1893469 has been marked as a duplicate of this bug. *** |