Package: src:python-openstep-plist
Version: 0.3.0-2
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

python-openstep-plist ftbfs with Python 3.12

[...]
building 'openstep_plist.parser' extension
creating build
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/src
creating build/temp.linux-x86_64-cpython-312/src/openstep_plist
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -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-openstep-plist-0.3.0-2build2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_TRACE_NOGIL=1 -I/usr/include/python3.12 -c src/openstep_plist/parser.cpp -o build/temp.linux-x86_64-cpython-312/src/openstep_plist/parser.o -std=c++11 src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_f_14openstep_plist_6parser_parse_quoted_plist_string(__pyx_t_14openstep_plist_6parser_ParseInfo*, Py_UNICODE)’: src/openstep_plist/parser.cpp:4780:15: error: ‘PyUnicode_FromUnicode’ was not declared in this scope; did you mean ‘PyInt_FromUnicode’? 4780 | __pyx_t_6 = PyUnicode_FromUnicode(((Py_UNICODE const *)__pyx_v_string.data()), __pyx_v_string.size()); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 231, __pyx_L1_error)
      |               ^~~~~~~~~~~~~~~~~~~~~
      |               PyInt_FromUnicode
src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_pf_14openstep_plist_6parser_string_to_number(PyObject*, PyObject*, int)’: src/openstep_plist/parser.cpp:4958:20: error: ‘PyUnicode_GET_SIZE’ was not declared in this scope; did you mean ‘PyDict_GET_SIZE’?
 4958 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
      |                    ^~~~~~~~~~~~~~~~~~
      |                    PyDict_GET_SIZE
src/openstep_plist/parser.cpp:4977:19: error: ‘PyUnicode_AS_UNICODE’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
 4977 |     __pyx_v_buf = PyUnicode_AS_UNICODE(__pyx_v_s);
      |                   ^~~~~~~~~~~~~~~~~~~~
      |                   PyUnicode_AsUCS4
src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_f_14openstep_plist_6parser_parse_unquoted_plist_string(__pyx_t_14openstep_plist_6parser_ParseInfo*, __pyx_opt_args_14openstep_plist_6parser_parse_unquoted_plist_string*)’: src/openstep_plist/parser.cpp:5643:17: error: ‘PyUnicode_FromUnicode’ was not declared in this scope; did you mean ‘PyInt_FromUnicode’? 5643 | __pyx_t_3 = PyUnicode_FromUnicode(__pyx_v_mark, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L1_error)
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 PyInt_FromUnicode
src/openstep_plist/parser.cpp: In function ‘PyObject* __pyx_pf_14openstep_plist_6parser_2loads(PyObject*, PyObject*, PyObject*, int)’: src/openstep_plist/parser.cpp:8454:20: error: ‘PyUnicode_GET_SIZE’ was not declared in this scope; did you mean ‘PyDict_GET_SIZE’?
 8454 |   __pyx_v_length = PyUnicode_GET_SIZE(__pyx_v_s);
      |                    ^~~~~~~~~~~~~~~~~~
      |                    PyDict_GET_SIZE
src/openstep_plist/parser.cpp:8463:17: error: ‘PyUnicode_AS_UNICODE’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
 8463 |   __pyx_v_buf = PyUnicode_AS_UNICODE(__pyx_v_s);
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 PyUnicode_AsUCS4
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

Reply via email to