Bug 1892248
Summary: | build fails against NSS 3.58 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stanislav Levin <slev> |
Component: | python-nss | Assignee: | Alex Scheel <ascheel> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ascheel, chris, gwync, jdennis, mhroncok, thrnciar, vashirov |
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-12-07 18:29:16 UTC | Type: | Bug |
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: | 1868278, 1890881 |
Description
Stanislav Levin
2020-10-28 09:56:06 UTC
*** Bug 1899142 has been marked as a duplicate of this bug. *** At this point, I would needinfo the package maintainer, but it is not possible here. This blocks the Python 3.10 rebuild of pki-core. Error: Problem: package python3-nss-1.0.1-20.fc33.x86_64 requires python(abi) = 3.9, but none of the providers can be installed - package python3-devel-3.10.0~a2-1.fc34.x86_64 conflicts with python3 < 3.10.0~a2-1.fc34 provided by python3-3.9.0-1.fc34.i686 - cannot install both python3-3.9.0-1.fc34.x86_64 and python3-3.10.0~a2-1.fc34.x86_64 - cannot install the best candidate for the job For all our attempts to build python-nss with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-nss/ For all our attempts to build pki-core with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/pki-core/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side. https://fedoraproject.org/wiki/Changes/Python3.10 I've checked this into dist-git, but did not build it. Miro reported on IRC that this rebuilds fine in the 3.10 COPR; I'll let the 3.10 mass rebuild take care of building. I've not backported this to earlier releases yet, despite them also being affected due to newer NSS. (Note: failure was caused by newer NSS, not Python 3.10). ascheel@, thank you for the patch [0]. This change rename Python classes (actually exposed from Python NSS) RSAPublicKey -> PyRSAPublicKey and DSAPublicKey -> PyDSAPublicKey: 188 - "nss.nss.RSAPublicKey", /* tp_name */ 189 - sizeof(RSAPublicKey), /* tp_basicsize */ 190 + "nss.nss.PyRSAPublicKey", /* tp_name */ 191 + sizeof(PyRSAPublicKey), /* tp_basicsize */ 417 - "nss.nss.DSAPublicKey", /* tp_name */ 418 - sizeof(DSAPublicKey), /* tp_basicsize */ 419 + "nss.nss.PyDSAPublicKey", /* tp_name */ 420 + sizeof(PyDSAPublicKey), /* tp_basicsize */ I think that was the unintentional rename, because breaks old clients. [0]: https://src.fedoraproject.org/rpms/python-nss/blob/master/f/0001-Rename-DSA-RSA-PublicKey-to-Py-DSA-RSA-PublicKey.patch Thanks Stanislav for the review. Dogtag doesn't use RSAPublicKey/DSAPublicKey at all so I missed that. IIRC the sizeof needs to stay; it is just the name that needs to change. I've pushed this as a modification to the original patch and it should now build correctly in Fedora. I've also rebuilt rawhide now, so marking this as fixed. *** Bug 1933360 has been marked as a duplicate of this bug. *** |