Home Assistant 2022.9.7
Python 3.9 venv
After each restart I have
Setup of default_config is taking longer than 300 seconds. Startup will proceed without waiting any longer
As I understand it because of:
Sep 28 11:04:20 raspberrypi hass[3635]: 2022-09-28 11:04:20.302 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package ha-av==10.0.0b4: error: subprocess-exited-with-error
Sep 28 11:04:20 raspberrypi hass[3635]:
Sep 28 11:04:20 raspberrypi hass[3635]: × Building wheel for ha-av (pyproject.toml) did not run successfully.
Sep 28 11:04:20 raspberrypi hass[3635]: │ exit code: 1
Sep 28 11:04:20 raspberrypi hass[3635]: ╰─> [99 lines of output]
Sep 28 11:04:20 raspberrypi hass[3635]: /tmp/pip-build-env-7fv8qczm/overlay/lib/python3.9/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '10.0.0-beta.4' to '10.0.0b4'
Sep 28 11:04:20 raspberrypi hass[3635]: warnings.warn(tmpl.format(**locals()))
Sep 28 11:04:20 raspberrypi hass[3635]: running bdist_wheel
Sep 28 11:04:20 raspberrypi hass[3635]: running build
Sep 28 11:04:20 raspberrypi hass[3635]: running build_py
Sep 28 11:04:20 raspberrypi hass[3635]: creating build
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/__main__.py -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/about.py -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/deprecation.py -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/__init__.py -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/datasets.py -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/bitstream
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/bitstream/__init__.py -> build/lib.linux-armv7l-cpython-39/av/bitstream
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/__init__.py -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/subtitles
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/subtitles/__init__.py -> build/lib.linux-armv7l-cpython-39/av/subtitles
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/codec
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/codec/__init__.py -> build/lib.linux-armv7l-cpython-39/av/codec
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/sidedata
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/sidedata/__init__.py -> build/lib.linux-armv7l-cpython-39/av/sidedata
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/__init__.py -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/__init__.py -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/__init__.py -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/lib.linux-armv7l-cpython-39/av/data
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/data/__init__.py -> build/lib.linux-armv7l-cpython-39/av/data
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/utils.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/logging.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/option.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/stream.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/dictionary.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/frame.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/plane.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/format.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/packet.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/buffer.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/bytesource.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/enum.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/error.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/descriptor.pxd -> build/lib.linux-armv7l-cpython-39/av
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/bitstream/context.pxd -> build/lib.linux-armv7l-cpython-39/av/bitstream
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/bitstream/filter.pxd -> build/lib.linux-armv7l-cpython-39/av/bitstream
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/pad.pxd -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/context.pxd -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/filter.pxd -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/graph.pxd -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/filter/link.pxd -> build/lib.linux-armv7l-cpython-39/av/filter
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/subtitles/subtitle.pxd -> build/lib.linux-armv7l-cpython-39/av/subtitles
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/subtitles/stream.pxd -> build/lib.linux-armv7l-cpython-39/av/subtitles
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/subtitles/codeccontext.pxd -> build/lib.linux-armv7l-cpython-39/av/subtitles
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/subtitles/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/subtitles
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/codec/context.pxd -> build/lib.linux-armv7l-cpython-39/av/codec
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/codec/codec.pxd -> build/lib.linux-armv7l-cpython-39/av/codec
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/codec/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/codec
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/sidedata/motionvectors.pxd -> build/lib.linux-armv7l-cpython-39/av/sidedata
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/sidedata/sidedata.pxd -> build/lib.linux-armv7l-cpython-39/av/sidedata
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/sidedata/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/sidedata
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/layout.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/stream.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/frame.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/resampler.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/codeccontext.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/plane.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/format.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/audio/fifo.pxd -> build/lib.linux-armv7l-cpython-39/av/audio
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/stream.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/frame.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/codeccontext.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/reformatter.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/plane.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/format.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/video/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/video
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/streams.pxd -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/pyio.pxd -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/output.pxd -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/input.pxd -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/container/core.pxd -> build/lib.linux-armv7l-cpython-39/av/container
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/data/stream.pxd -> build/lib.linux-armv7l-cpython-39/av/data
Sep 28 11:04:20 raspberrypi hass[3635]: copying av/data/__init__.pxd -> build/lib.linux-armv7l-cpython-39/av/data
Sep 28 11:04:20 raspberrypi hass[3635]: running build_ext
Sep 28 11:04:20 raspberrypi hass[3635]: building 'av.option' extension
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/temp.linux-armv7l-cpython-39
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/temp.linux-armv7l-cpython-39/src
Sep 28 11:04:20 raspberrypi hass[3635]: creating build/temp.linux-armv7l-cpython-39/src/av
Sep 28 11:04:20 raspberrypi hass[3635]: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/arm-linux-gnueabihf -I/srv/homeassistant/include -I/usr/local/include/python3.9 -c src/av/option.c -o build/temp.linux-armv7l-cpython-39/src/av/option.o
Sep 28 11:04:20 raspberrypi hass[3635]: src/av/option.c:817:10: fatal error: libavcodec/bsf.h: No such file or directory
Sep 28 11:04:20 raspberrypi hass[3635]: #include "libavcodec/bsf.h"
Sep 28 11:04:20 raspberrypi hass[3635]: ^~~~~~~~~~~~~~~~~~
Sep 28 11:04:20 raspberrypi hass[3635]: compilation terminated.
Sep 28 11:04:20 raspberrypi hass[3635]: error: command '/usr/bin/gcc' failed with exit code 1
Sep 28 11:04:20 raspberrypi hass[3635]: [end of output]
Sep 28 11:04:20 raspberrypi hass[3635]:
Sep 28 11:04:20 raspberrypi hass[3635]: note: This error originates from a subprocess, and is likely not a problem with pip.
Sep 28 11:04:20 raspberrypi hass[3635]: ERROR: Failed building wheel for ha-av
Sep 28 11:04:20 raspberrypi hass[3635]: ERROR: Could not build wheels for ha-av, which is required to install pyproject.toml-based projects
Is there any way to resolve it?