You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "A. Coady (Jira)" <ji...@apache.org> on 2022/11/01 00:22:00 UTC
[jira] [Updated] (PYLUCENE-66) JCC doesn't build with Python 3.11.
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
A. Coady updated PYLUCENE-66:
-----------------------------
Environment: Python 3.11, PyLucene 9.4.1-rc (was: Python 3.11)
> 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)