[Python-modules-team] Bug#999385: python-pyalsa ftbfs with Python 3.10

Matthias Klose doko at debian.org
Wed Nov 10 15:33:11 GMT 2021


Source: python-pyalsa
Version: 1.1.6-2
Severity: important
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10

python-pyalsa 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 pyalsa/alsahcontrol.c -o
build/temp.linux-x86_64-3.10/pyalsa/alsahcontrol.o
In file included from /usr/include/python3.10/tupleobject.h:39,
                 from /usr/include/python3.10/Python.h:91,
                 from pyalsa/common.h:25,
                 from pyalsa/alsahcontrol.c:22:
pyalsa/alsahcontrol.c: In function ‘element_callback’:
/usr/include/python3.10/cpython/tupleobject.h:26:36: error: void value not
ignored as it ought to be
   26 | #define PyTuple_SET_ITEM(op, i, v) ((void)(_PyTuple_CAST(op)->ob_item[i]
= v))
      |                                    ^
pyalsa/alsahcontrol.c:1546:21: note: in expansion of macro ‘PyTuple_SET_ITEM’
 1546 |                 if (PyTuple_SET_ITEM(t, 0, (PyObject *)pyhelem))
      |                     ^~~~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:354: build: plugin distutils failed with: exit code=1:
/usr/bin/python3.10 setup.py build



More information about the Python-modules-team mailing list