Package: src:python-jpype
Version: 1.4.1-1
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
python-jpype ftbfs with Python 3.12:
[...]
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -Wall
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -fwrapv -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/python-jpype-1.4.1-1build2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Inative/common/include
-Inative/python/include -Inative/embedded/include
-I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux -I/usr/include/python3.12 -c
native/common/jp_primitivetype.cpp -o
build/temp.linux-x86_64-cpython-312/native/common/jp_primitivetype.o -g0
-std=c++11 -O2
native/common/jp_primitivetype.cpp: In member function ‘PyObject*
JPPrimitiveType::convertLong(PyTypeObject*, PyLongObject*)’:
native/common/jp_primitivetype.cpp:50:25: error: ‘PyLongObject’ {aka
‘struct _longobject’} has no member named ‘ob_digit’
50 | newobj->ob_digit[i] = tmp->ob_digit[i];
| ^~~~~~~~
native/common/jp_primitivetype.cpp:50:44: error: ‘PyLongObject’ {aka
‘struct _longobject’} has no member named ‘ob_digit’
50 | newobj->ob_digit[i] = tmp->ob_digit[i];
| ^~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:395: build: plugin distutils failed with: exit
code=1: /usr/bin/python3.12 setup.py build