Source: python-pyalsa
Version: 1.1.6-2
Severity: important
Tags: ftbfs
User: debian-pyt...@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

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to