[Python-modules-team] Bug#999370: pystemd ftbfs with Python 3.10

Matthias Klose doko at debian.org
Wed Nov 10 15:05:53 GMT 2021


Source: pystemd
Version: 0.7.0-4
Severity: important
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10

psystemd ftbfs with python3-defaults from experimental:

[...]
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 -I/usr/include/python3.10 -c pystemd/dbuslib.c -o
build/temp.linux-x86_64-3.10/pystemd/dbuslib.o
pystemd/dbuslib.c: In function
‘__pyx_f_7pystemd_7dbuslib_11DbusMessage_get_priority’:
pystemd/dbuslib.c:5672:3: warning: ‘sd_bus_message_get_priority’ is deprecated
[-Wdeprecated-declarations]
 5672 |   (void)(sd_bus_message_get_priority(__pyx_v_self->_msg, (&__pyx_v_ret)));
      |   ^
In file included from pystemd/dbuslib.c:616:
/usr/include/systemd/sd-bus.h:277:5: note: declared here
  277 | int sd_bus_message_get_priority(sd_bus_message *m, int64_t *priority)
_sd_deprecated_;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pystemd/dbuslib.c: In function ‘__pyx_tp_dealloc_7pystemd_7dbuslib_DbusMessage’:
pystemd/dbuslib.c:14758:5: error: lvalue required as increment operand
14758 |     ++Py_REFCNT(o);
      |     ^~
pystemd/dbuslib.c:14760:5: error: lvalue required as decrement operand
14760 |     --Py_REFCNT(o);
      |     ^~



More information about the Python-modules-team mailing list