[Python-modules-team] Bug#999409: jpy ftbfs with Python 3.10

Matthias Klose doko at debian.org
Wed Nov 10 17:31:45 GMT 2021


Source: jpy
Version: 0.9.0-3
Severity: important
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10

jpy ftbfs with python3-defaults from experimental:

https://launchpadlibrarian.net/567963939/buildlog_ubuntu-jammy-amd64.jpy_0.9.0-3build5_BUILDING.txt.gz

src/main/c/jpy_jmethod.c:847:5: note: (near initialization for
‘JOverloadedMethod_Type.tp_vectorcall_offset’)
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv
-O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -Isrc/main/c -I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux -I/usr/include/python3.10 -c
src/main/c/jpy_jobj.c -o build/temp.linux-x86_64-3.10/src/main/c/jpy_jobj.o
src/main/c/jpy_jobj.c: In function ‘JType_InitSlots’:
src/main/c/jpy_jobj.c:683:24: error: lvalue required as left operand of assignment
  683 |     Py_REFCNT(typeObj) = 1;
      |                        ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:354: build: plugin distutils failed with: exit code=1:
/usr/bin/python3.10 setup.py build
I: pybuild base:237: /usr/bin/python3 setup.py build



More information about the Python-modules-team mailing list