Source: python-jpype
Version: 1.4.0-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=python-jpype&ver=1.4.0-2%2Bb1

...
native/common/jp_exception.cpp: In function ‘PyTracebackObject* 
tb_create(PyTracebackObject*, PyObject*, const char*, const char*, int)’:
native/common/jp_exception.cpp:524:23: error: ‘PyThreadState’ {aka ‘struct 
_ts’} has no member named ‘frame’; did you mean ‘cframe’?
  524 |                 state.frame = last_traceback->tb_frame;
      |                       ^~~~~
      |                       cframe
native/common/jp_exception.cpp:526:23: error: ‘PyThreadState’ {aka ‘struct 
_ts’} has no member named ‘frame’; did you mean ‘cframe’?
  526 |                 state.frame = NULL;
      |                       ^~~~~
      |                       cframe
native/common/jp_exception.cpp:552:36: error: invalid use of incomplete type 
‘PyFrameObject’ {aka ‘struct _frame’}
  552 |         traceback->tb_lasti = frame->f_lasti;
      |                                    ^~
In file included from /usr/include/python3.11/Python.h:42,
                 from native/common/jp_exception.cpp:16:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 
‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.11 setup.py build 

Reply via email to