Bug 1808721
Summary: | vim fails to build with Python 3.9: error: '_Py_DEC_REFTOTAL' undeclared | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | vim | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, gchamoul, karsten, mhroncok, mplch, zdohnal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | vim-8.2.356-1.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-05 09:52:45 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: | 1785415 |
Description
Miro Hrončok
2020-02-29 17:26:42 UTC
Hi Miro, thank you for reporting the issue and pre-compiling Vim with the newest python ASAP! _Py_DEC_REFTOTAL was brought in by python3 (was defined at Include/object.h) - any idea why it is removed and if there is a newer function to use instead? I suppose it is used only for debug purpose in Vim, but I rather ask in case the upstream would want an alternative. _Py_DEC_REFTOTAL starts with an underscore - it can be removed or changed in any update including patch updates, vim should not use it at all. I think it could use Py_DECREF instead, but I'm not sure what was the purpose of the code. Upstream decided to remove the _Py_DEC_REFTOTAL completely without any substitute. It is removed in patchlevel 8.2.0354, the next Vim build is 8.2.356. Seems koji is overloaded now, because fedpkg build connection got timed out before the build got ppc64le machine. The fix is commited though, so it can stay closed. |