Unable to install package python-lirc==1.2.3: ERROR: Command errored out with exit status 1:
command: /srv/homeassistant/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4jk_rpmx/python-lirc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4jk_rpmx/python-lirc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-85kx215i --python-tag cp38
cwd: /tmp/pip-install-4jk_rpmx/python-lirc/
Complete output (87 lines):
running bdist_wheel
running build
running build_ext
building 'lirc' extension
creating build
creating build/temp.linux-armv7l-3.8
creating build/temp.linux-armv7l-3.8/lirc
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/lirc/ -I/srv/homeassistant/include -I/usr/local/include/python3.8 -c lirc/lirc.c -o build/temp.linux-armv7l-3.8/lirc/lirc.o
lirc/lirc.c: In function ‘PyInit_lirc’:
lirc/lirc.c:4249:3: warning: ‘tp_print’ is deprecated [-Wdeprecated-declarations]
__pyx_type_4lirc_LircConfig.tp_print = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746:0,
from /usr/local/include/python3.8/pytime.h:6,
from /usr/local/include/python3.8/Python.h:85,
from lirc/lirc.c:4:
/usr/local/include/python3.8/cpython/object.h:260:30: note: declared here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^~~~~~~~
lirc/lirc.c: In function ‘__Pyx__ExceptionSave’:
lirc/lirc.c:5050:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
lirc/lirc.c:5151:11: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = *tb;
^~
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /srv/homeassistant/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4jk_rpmx/python-lirc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4jk_rpmx/python-lirc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-b53a49qv/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.8/python-lirc Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.