Bug 2246276
| Summary: | coccinelle fails to build with Python 3.13: Py.find_library: unable to find the Python library [/lib64/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | coccinelle | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ctwo0002, ksurma, loganjerry, mhroncok, rjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | coccinelle-1.1.1-24.20230624git0afff7f.fc40, ocaml-pyml-20231101-1.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 14:07:23 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: | 2244836 | ||
|
Description
Karolina Surma
2023-10-26 07:10:32 UTC
I reported this on the upstream mailing list. The use of _PyObject_NextNotImplemented actually comes from ocaml-pyml. There is a new version of ocaml-pyml out that drops all support for python 2.7, including this symbol. I will build it and rebuild coccinelle. That should fix this bug. I will do mock builds first to ensure that is the case. The ocaml-pyml update and coccinelle rebuild are now done in Rawhide. I was not able to build ocaml-pyml for python 3.13 because it BuildRequires python3-ipython, which does not seem to be available yet. However, I did grep over the new ocaml-pyml and coccinelle binary RPM contents for _PyObject_NextNotImplemented, and did not find it, so I think this bug is probably fixed now. The latest automatic coccinelle rebuild in Copr happened with ocaml-pyml-devel 20220905-5.fc40, which isn't the latest I can see. I will trigger a new build. Built fine. |