Source: blist
Version: 1.3.6-7
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

blist ftbfs with python3-defaults from experimental:

https://launchpadlibrarian.net/568185539/buildlog_ubuntu-jammy-amd64.blist_1.3.6-7build2_BUILDING.txt.gz

blist/_blist.c: In function ‘py_blist_dealloc’:
blist/_blist.c:5792:35: warning: passing argument 1 of ‘PyObject_GC_IsTracked’
from incompatible pointer type [-Wincompatible-pointer-types]
 5792 |         if (PyObject_GC_IsTracked(self))
      |                                   ^~~~
      |                                   |
      |                                   PyBList *
In file included from /usr/include/python3.10/Python.h:75,
                 from blist/_blist.c:38:
/usr/include/python3.10/objimpl.h:189:39: note: expected ‘PyObject *’ {aka
‘struct _object *’} but argument is of type ‘PyBList *’
  189 | PyAPI_FUNC(int) PyObject_GC_IsTracked(PyObject *);
      |                                       ^~~~~~~~~~
blist/_blist.c: In function ‘py_blist_sort’:
blist/_blist.c:6598:27: error: lvalue required as left operand of assignment
 6598 |         Py_REFCNT(&saved) = 1;
      |                           ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

Reply via email to