Skip to content

Instantly share code, notes, and snippets.

@jfroy
Created July 2, 2025 19:47
Show Gist options
  • Select an option

  • Save jfroy/d946488ae3e229ade03fef5498f3bef3 to your computer and use it in GitHub Desktop.

Select an option

Save jfroy/d946488ae3e229ade03fef5498f3bef3 to your computer and use it in GitHub Desktop.
esphome install error
INFO ESPHome 2025.6.2
INFO Reading configuration /config/hvac-ofe.yaml...
INFO Detected timezone 'America/Los_Angeles'
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing hvac-ofe (board: esp32-s3-devkitc-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip)
--------------------------------------------------------------------------------
Platform Manager: Installing https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
INFO Installing https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
Downloading [####################################] 100%
Unpacking [####################################] 100%
Platform Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.3.2/esp-idf-v5.3.2.zip
INFO Installing https://github.com/pioarduino/esp-idf/releases/download/v5.3.2/esp-idf-v5.3.2.zip
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/toolchain-xtensa-esp-elf @ 13.2.0+20240530
INFO Installing platformio/toolchain-xtensa-esp-elf @ 13.2.0+20240530
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected]+20240530 has been installed!
INFO [email protected]+20240530 has been installed!
Tool Manager: Installing platformio/toolchain-riscv32-esp @ 13.2.0+20240530
INFO Installing platformio/toolchain-riscv32-esp @ 13.2.0+20240530
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected]+20240530 has been installed!
INFO [email protected]+20240530 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/tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
INFO Installing platformio/tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected]+20240403 has been installed!
INFO [email protected]+20240403 has been installed!
Tool Manager: Installing platformio/tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
INFO Installing platformio/tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected]+20240403 has been installed!
INFO [email protected]+20240403 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esptool/releases/download/v4.8.6/esptool.zip
INFO Installing https://github.com/pioarduino/esptool/releases/download/v4.8.6/esptool.zip
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing tasmota/tool-mklittlefs @ ^3.2.0
INFO Installing tasmota/tool-mklittlefs @ ^3.2.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.30.2
INFO Installing platformio/tool-cmake @ ~3.30.2
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.40801.0
INFO Installing platformio/tool-scons @ ~4.40801.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing improv/Improv @ 1.2.4
INFO Installing improv/Improv @ 1.2.4
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/noise-c @ 0.1.6
INFO Installing esphome/noise-c @ 0.1.6
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.4
INFO Installing esphome/libsodium @ 1.10018.4
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- framework-espidf @ 3.50302.0 (5.3.2)
- tool-cmake @ 3.30.2
- tool-esptoolpy @ 4.8.6
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
- tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 13.2.0+20240530
- toolchain-xtensa-esp-elf @ 13.2.0+20240530
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Collecting wheel>=0.35.1
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting urllib3<2
Downloading urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting cryptography~=41.0.1
Downloading cryptography-41.0.7-cp37-abi3-musllinux_1_1_x86_64.whl.metadata (5.2 kB)
Collecting future>=0.18.3
Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pyparsing<4,>=3.1.0
Downloading pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB)
Collecting kconfiglib~=14.1.0
Downloading kconfiglib-14.1.0-py2.py3-none-any.whl.metadata (39 kB)
Collecting idf-component-manager~=2.0.1
Downloading idf_component_manager-2.0.4-py3-none-any.whl.metadata (11 kB)
Collecting esp-idf-kconfig<2.0.0,>=1.4.2
Downloading esp_idf_kconfig-1.5.0-py3-none-any.whl.metadata (15 kB)
Collecting cffi>=1.12 (from cryptography~=41.0.1)
Downloading cffi-1.17.1-cp313-cp313-musllinux_1_1_x86_64.whl.metadata (1.5 kB)
Collecting click (from idf-component-manager~=2.0.1)
Downloading click-8.2.1-py3-none-any.whl.metadata (2.5 kB)
Collecting colorama (from idf-component-manager~=2.0.1)
Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting pyyaml (from idf-component-manager~=2.0.1)
Downloading PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl.metadata (2.1 kB)
Collecting requests (from idf-component-manager~=2.0.1)
Downloading requests-2.32.4-py3-none-any.whl.metadata (4.9 kB)
Collecting requests-file (from idf-component-manager~=2.0.1)
Downloading requests_file-2.1.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting requests-toolbelt (from idf-component-manager~=2.0.1)
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting tqdm (from idf-component-manager~=2.0.1)
Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
Collecting jsonref (from idf-component-manager~=2.0.1)
Downloading jsonref-1.1.0-py3-none-any.whl.metadata (2.7 kB)
Collecting pydantic (from idf-component-manager~=2.0.1)
Downloading pydantic-2.11.7-py3-none-any.whl.metadata (67 kB)
Collecting pydantic-core (from idf-component-manager~=2.0.1)
Downloading pydantic_core-2.35.2-cp313-cp313-musllinux_1_1_x86_64.whl.metadata (6.8 kB)
Collecting pydantic-settings (from idf-component-manager~=2.0.1)
Downloading pydantic_settings-2.10.1-py3-none-any.whl.metadata (3.4 kB)
Collecting pycparser (from cffi>=1.12->cryptography~=41.0.1)
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting annotated-types>=0.6.0 (from pydantic->idf-component-manager~=2.0.1)
Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core (from idf-component-manager~=2.0.1)
Downloading pydantic_core-2.33.2-cp313-cp313-musllinux_1_1_x86_64.whl.metadata (6.8 kB)
Collecting typing-extensions>=4.12.2 (from pydantic->idf-component-manager~=2.0.1)
Downloading typing_extensions-4.14.0-py3-none-any.whl.metadata (3.0 kB)
Collecting typing-inspection>=0.4.0 (from pydantic->idf-component-manager~=2.0.1)
Downloading typing_inspection-0.4.1-py3-none-any.whl.metadata (2.6 kB)
Collecting python-dotenv>=0.21.0 (from pydantic-settings->idf-component-manager~=2.0.1)
Downloading python_dotenv-1.1.1-py3-none-any.whl.metadata (24 kB)
Collecting charset_normalizer<4,>=2 (from requests->idf-component-manager~=2.0.1)
Downloading charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_x86_64.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests->idf-component-manager~=2.0.1)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests->idf-component-manager~=2.0.1)
Downloading certifi-2025.6.15-py3-none-any.whl.metadata (2.4 kB)
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Downloading cryptography-41.0.7-cp37-abi3-musllinux_1_1_x86_64.whl (4.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 50.6 MB/s eta 0:00:00
Downloading pyparsing-3.2.3-py3-none-any.whl (111 kB)
Downloading kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
Downloading idf_component_manager-2.0.4-py3-none-any.whl (151 kB)
Downloading esp_idf_kconfig-1.5.0-py3-none-any.whl (44 kB)
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Downloading future-1.0.0-py3-none-any.whl (491 kB)
Downloading cffi-1.17.1-cp313-cp313-musllinux_1_1_x86_64.whl (488 kB)
Downloading click-8.2.1-py3-none-any.whl (102 kB)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Downloading jsonref-1.1.0-py3-none-any.whl (9.4 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
Downloading pydantic-2.11.7-py3-none-any.whl (444 kB)
Downloading pydantic_core-2.33.2-cp313-cp313-musllinux_1_1_x86_64.whl (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 113.7 MB/s eta 0:00:00
Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Downloading typing_extensions-4.14.0-py3-none-any.whl (43 kB)
Downloading typing_inspection-0.4.1-py3-none-any.whl (14 kB)
Downloading pydantic_settings-2.10.1-py3-none-any.whl (45 kB)
Downloading python_dotenv-1.1.1-py3-none-any.whl (20 kB)
Downloading PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl (751 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 751.6/751.6 kB 157.6 MB/s eta 0:00:00
Downloading requests-2.32.4-py3-none-any.whl (64 kB)
Downloading charset_normalizer-3.4.2-cp313-cp313-musllinux_1_2_x86_64.whl (149 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading certifi-2025.6.15-py3-none-any.whl (157 kB)
Downloading requests_file-2.1.0-py2.py3-none-any.whl (4.2 kB)
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Downloading tqdm-4.67.1-py3-none-any.whl (78 kB)
Installing collected packages: wheel, urllib3, typing-extensions, tqdm, pyyaml, python-dotenv, pyparsing, pycparser, kconfiglib, jsonref, idna, future, colorama, click, charset_normalizer, certifi, annotated-types, typing-inspection, requests, pydantic-core, esp-idf-kconfig, cffi, requests-toolbelt, requests-file, pydantic, cryptography, pydantic-settings, idf-component-manager
Successfully installed annotated-types-0.7.0 certifi-2025.6.15 cffi-1.17.1 charset_normalizer-3.4.2 click-8.2.1 colorama-0.4.6 cryptography-41.0.7 esp-idf-kconfig-1.5.0 future-1.0.0 idf-component-manager-2.0.4 idna-3.10 jsonref-1.1.0 kconfiglib-14.1.0 pycparser-2.22 pydantic-2.11.7 pydantic-core-2.33.2 pydantic-settings-2.10.1 pyparsing-3.2.3 python-dotenv-1.1.1 pyyaml-6.0.2 requests-2.32.4 requests-file-2.1.0 requests-toolbelt-1.0.0 tqdm-4.67.1 typing-extensions-4.14.0 typing-inspection-0.4.1 urllib3-1.26.20 wheel-0.45.1
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.49.0")
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: /cache/pio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /cache/pio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Check for working C compiler: /cache/pio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc - broken
-- Configuring incomplete, errors occurred!
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /cache/pio/packages/tool-cmake/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"/cache/pio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/cache/build/hvac-ofe/.pioenvs/hvac-ofe/CMakeFiles/CMakeScratch/TryCompile-NpnLHL'
Run Build Command(s): /cache/pio/packages/tool-ninja/ninja -v cmTC_7f226
[1/2] /cache/pio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -o CMakeFiles/cmTC_7f226.dir/testCCompiler.c.obj -c /cache/build/hvac-ofe/.pioenvs/hvac-ofe/CMakeFiles/CMakeScratch/TryCompile-NpnLHL/testCCompiler.c
FAILED: CMakeFiles/cmTC_7f226.dir/testCCompiler.c.obj
/cache/pio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -o CMakeFiles/cmTC_7f226.dir/testCCompiler.c.obj -c /cache/build/hvac-ofe/.pioenvs/hvac-ofe/CMakeFiles/CMakeScratch/TryCompile-NpnLHL/testCCompiler.c
thread 'main' panicked at 'capacity overflow', library/alloc/src/raw_vec.rs:525:5
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
/cache/pio/packages/framework-espidf/tools/cmake/project.cmake:564 (__project)
CMakeLists.txt:3 (project)
========================= [FAILED] Took 100.20 seconds =========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment