[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627368#comment-17627368 ]
A. Coady commented on PYLUCENE-66: ---------------------------------- (/) Verified build on python:3.11 docker image. > JCC doesn't build with Python 3.11. > ----------------------------------- > > Key: PYLUCENE-66 > URL: https://issues.apache.org/jira/browse/PYLUCENE-66 > Project: PyLucene > Issue Type: Bug > Environment: Python 3.11, PyLucene 9.4.1-rc > Reporter: A. Coady > Priority: Major > > {{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}} > {{#10 10.86 from _jcc3/java/lang/Object.h:18,}} > {{#10 10.86 from jcc3/sources/functions.cpp:23:}} > {{#10 10.86 jcc3/sources/functions.cpp: In function ‘void > installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}} > {{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue > required as left operand of assignment}} > {{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}} > {{#10 10.86 | ~~~~~{~}{{~}}^{{~}}{~}~~~~~~~~~~~~~~~~~}} > {{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro > ‘Py_TYPE’}} > {{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}} > {{#10 10.86 | ^~~~~~~}} > {{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}} -- This message was sent by Atlassian Jira (v8.20.10#820010)