Hello, i am using a docker environment with portainer on my raspi 4b. The adoption of the esp wroom 32 is failing with the following errors. If somebody knows how to resolve this issue it would be greatly appreciated! Ty in advance :).
INFO ESPHome 2023.10.6
INFO Reading configuration /config/esp32-bluetooth-proxy-d78d6c.yaml…
INFO Generating C++ source…
INFO Compiling app…
Processing esp32-bluetooth-proxy-d78d6c (board: esp32dev; framework: espidf; platform: platformio/[email protected])
Platform Manager: Installing platformio/espressif32 @ 5.4.0
INFO Installing platformio/espressif32 @ 5.4.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Platform Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
INFO Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected]+2021r2-patch5 has been installed!
INFO [email protected]+2021r2-patch5 has been installed!
Tool Manager: Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
INFO Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/framework-espidf @ ~3.40405.0
INFO Installing platformio/framework-espidf @ ~3.40405.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.40400.0
INFO Installing platformio/tool-esptoolpy @ ~1.40400.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-cmake @ ~3.16.0
INFO Installing platformio/tool-cmake @ ~3.16.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-ninja @ ^1.7.0
INFO Installing platformio/tool-ninja @ ^1.7.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40502.0
INFO Installing platformio/tool-scons @ ~4.40502.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/noise-c @ 0.1.4
INFO Installing esphome/noise-c @ 0.1.4
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Resolving dependencies…
INFO Resolving dependencies…
Library Manager: Installing esphome/libsodium @ 1.10018.1
INFO Installing esphome/libsodium @ 1.10018.1
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/Improv @ 1.2.3
INFO Installing esphome/Improv @ 1.2.3
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
-
framework-espidf @ 3.40405.230623 (4.4.5)
-
tool-cmake @ 3.16.9
-
tool-ninja @ 1.10.2
-
toolchain-esp32ulp @ 2.35.0-20220830
-
toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF’s Python dependencies
Collecting urllib3<2
Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Collecting cryptography<35.0.0,>=2.1.4
Downloading cryptography-3.4.8.tar.gz (546 kB)
Installing build dependencies: started
Installing build dependencies: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-rr1f8okw/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – ‘setuptools>=40.6.0’ wheel ‘cffi>=1.12; platform_python_implementation != ‘"’“‘PyPy’”’"‘’ ‘setuptools-rust>=0.11.4’
cwd: None
Complete output (86 lines):
Collecting setuptools>=40.6.0
Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
Collecting wheel
Downloading wheel-0.41.3-py3-none-any.whl (65 kB)
Collecting cffi>=1.12
Downloading cffi-1.16.0.tar.gz (512 kB)
Installing build dependencies: started
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘done’
Installing backend dependencies: started
Installing backend dependencies: finished with status ‘done’
Preparing wheel metadata: started
Preparing wheel metadata: finished with status ‘done’
Collecting setuptools-rust>=0.11.4
Downloading setuptools_rust-1.8.1-py3-none-any.whl (26 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting semantic-version<3,>=2.8.2
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting tomli>=1.2.1
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (PEP 517): started
Building wheel for cffi (PEP 517): finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /root/.platformio/penv/.espidf-4.4.5/bin/python /tmp/tmpgjcpcnar_in_process.py build_wheel /tmp/tmpjt1tmoxt
cwd: /tmp/pip-install-n4sa9qqp/cffi_dfa63e3e4f2f45a282ed80bd89ab1264
Complete output (53 lines):
/tmp/pip-build-env-jr6xz_87/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config insetup.cfg
!!******************************************************************************** The license_file parameter is deprecated, use license_files instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See LINK REMOVED ********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/cffi_opcode.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/api.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/init.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/verifier.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/ffiplatform.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/setuptools_ext.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_imp_emulation.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/commontypes.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/lock.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/pkgconfig.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/vengine_cpy.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/cparser.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_shimmed_dist_utils.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/model.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/recompiler.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/backend_ctypes.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/error.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/vengine_gen.py → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_cffi_include.h → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/parse_c_type.h → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_embedding.h → build/lib.linux-armv7l-cpython-39/cffi
copying src/cffi/_cffi_errors.h → build/lib.linux-armv7l-cpython-39/cffi
running build_ext
building ‘_cffi_backend’ extension
creating build/temp.linux-armv7l-cpython-39
creating build/temp.linux-armv7l-cpython-39/src
creating build/temp.linux-armv7l-cpython-39/src/c
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/root/.platformio/penv/.espidf-4.4.5/include -I/usr/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/src/c/_cffi_backend.o
src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
- Looking for ffi.h dependency? Check our library registry!
- CLI > platformio lib search “header:ffi.h”
- Web > LINK REMOVED
15 | #include <ffi.h>
| ^~~~~~~
compilation terminated.
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi which use PEP 517 and cannot be installed directly
WARNING: Discarding LINK REMOVED (from LINK REMOVED (requires-python:>=3.6). Command errored out with exit status 1: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-rr1f8okw/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i pypi.org/simple – ‘setuptools>=40.6.0’ wheel ‘cffi>=1.12; platform_python_implementation != ‘"’“‘PyPy’”’"‘’ ‘setuptools-rust>=0.11.4’ Check the logs for full command output.
Downloading cryptography-3.4.7.tar.gz (546 kB)