[Pkg-bazaar-maint] Bug#1057860: breezy ftbfs with Python 3.12:

Matthias Klose doko at debian.org
Sat Dec 9 19:49:54 GMT 2023


Package: src:breezy
Version: 3.3.4-1.1
Severity: serious
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

breezy ftbfs with Python 3.12:

[...]
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>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ibreezy 
-I/usr/include/python3.12 -c breezy/bzr/_simple_set_pyx.c -o 
build/temp.linux-x86_64-cpython-312/breezy/bzr/_simple_set_pyx.o
breezy/bzr/_simple_set_pyx.c: In function 
‘__pyx_f_6breezy_3bzr_15_simple_set_pyx_9SimpleSet_add’:
breezy/bzr/_simple_set_pyx.c:3614:3: warning: ‘Py_OptimizeFlag’ is 
deprecated [-Wdeprecated-declarations]
  3614 |   if (unlikely(!Py_OptimizeFlag)) {
       |   ^~
In file included from /usr/include/python3.12/Python.h:48,
                  from breezy/bzr/_simple_set_pyx.c:6:
/usr/include/python3.12/cpython/pydebug.h:13:37: note: declared here
    13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag;
       |                                     ^~~~~~~~~~~~~~~
breezy/bzr/_simple_set_pyx.c: In function 
‘__pyx_pf_6breezy_3bzr_15_simple_set_pyx_19_SimpleSet_iterator_8__reduce_cython__’:
breezy/bzr/_simple_set_pyx.c:4959:5: warning: ‘ma_version_tag’ is 
deprecated [-Wdeprecated-declarations]
  4959 |     __Pyx_GetModuleGlobalName(__pyx_t_3, 
__pyx_n_s_pyx_unpickle__SimpleSet_iterat); if (unlikely(!__pyx_t_3)) 
__PYX_ERR(1, 13, __pyx_L1_error)
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.12/dictobject.h:90,
                  from /usr/include/python3.12/Python.h:61:
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
    22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
       |                                  ^~~~~~~~~~~~~~
breezy/bzr/_simple_set_pyx.c:5005:5: warning: ‘ma_version_tag’ is 
deprecated [-Wdeprecated-declarations]
  5005 |     __Pyx_GetModuleGlobalName(__pyx_t_2, 
__pyx_n_s_pyx_unpickle__SimpleSet_iterat); if (unlikely(!__pyx_t_2)) 
__PYX_ERR(1, 15, __pyx_L1_error)
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
    22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
       |                                  ^~~~~~~~~~~~~~
breezy/bzr/_simple_set_pyx.c: In function ‘__Pyx_Raise’:
breezy/bzr/_simple_set_pyx.c:8096:34: error: ‘PyThreadState’ {aka 
‘struct _ts’} has no member named ‘curexc_traceback’
  8096 |         PyObject* tmp_tb = tstate->curexc_traceback;
       |                                  ^~
breezy/bzr/_simple_set_pyx.c:8099:19: error: ‘PyThreadState’ {aka 
‘struct _ts’} has no member named ‘curexc_traceback’



More information about the Pkg-bazaar-maint mailing list