Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). Your package (nss) Fails To Install in Fedora 34: can't install nspr-devel: - nothing provides nspr = 4.29.0-2 needed by nspr-devel-4.29.0-2.fc34.x86_64 If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks. P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/ Thanks!
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. ***