I just updated my bare metal HAOS system to 2024.12.4 and ESPhome 2024.12.0. When I went to update my ESPHome devices, my two Athom smart plugs updated fine. However, my Atom Echo update failed with the following. It’s a simple config with just the
m5stack.atom-echo-wake-word-voice-assistant: github://esphome/wake-word-voice-assistants/m5stack-atom-echo/m5stack-atom-echo.yaml@main
package. I’m still fairly new to ESP32 devices and ESPHome, so I’m likely missing something obvious. I checked the ESPHome release notes and didn’t see any mention of ‘jsmn’.
Any assistance appreciated!
INFO ESPHome 2024.12.0
INFO Reading configuration /config/esphome/m5stack-atom-echo-a07b18.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing m5stack-atom-echo-a07b18 (board: m5stack-atom; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-espidf @ 3.50105.0 (5.1.5)
- tool-cmake @ 3.21.3
- tool-esptoolpy @ 4.8.1
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 12.1.0+20221002
- tool-xtensa-esp-elf-gdb @ 12.1.0+20221002
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-xtensa-esp32 @ 12.2.0+20230208
Reading CMake configuration...
-- 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).'
-- Building ESP-IDF components for target esp32
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/data/build/m5stack-atom-echo-a07b18/.pioenvs/m5stack-atom-echo-a07b18/CMakeFiles/CMakeOutput.log".
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 /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
/data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
/data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
CMakeLists.txt:3 (project)
========================== [FAILED] Took 3.33 seconds ==========================
rujelus22
(Robert)
December 18, 2024, 6:09pm
2
I am getting the same thing after updating to 2024.12
INFO ESPHome 2024.12.0
INFO Reading configuration /config/esphome/master-bedroom-jarvis.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing bedroom-echo-30ebf4 (board: m5stack-atom; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-espidf @ 3.50105.0 (5.1.5)
- tool-cmake @ 3.21.3
- tool-esptoolpy @ 4.8.1
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 12.1.0+20221002
- tool-xtensa-esp-elf-gdb @ 12.1.0+20221002
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-xtensa-esp32 @ 12.2.0+20230208
Reading CMake configuration...
-- 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).'
-- Building ESP-IDF components for target esp32
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/data/build/bedroom-echo-30ebf4/.pioenvs/bedroom-echo-30ebf4/CMakeFiles/CMakeOutput.log".
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 /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
/data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
/data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
CMakeLists.txt:3 (project)
========================= [FAILED] Took 11.54 seconds =========================
Same error here after esphome 2024.12…
INFO ESPHome 2024.12.0
INFO Reading configuration /config/esphome/m5stack-atom-echo-31192c.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing m5stack-atom-echo-31192c (board: m5stack-atom; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-espidf @ 3.50105.0 (5.1.5)
- tool-cmake @ 3.21.3
- tool-esptoolpy @ 4.8.1
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 12.1.0+20221002
- tool-xtensa-esp-elf-gdb @ 12.1.0+20221002
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-xtensa-esp32 @ 12.2.0+20230208
Reading CMake configuration...
-- 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).'
-- Building ESP-IDF components for target esp32
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/data/build/m5stack-atom-echo-31192c/.pioenvs/m5stack-atom-echo-31192c/CMakeFiles/CMakeOutput.log".
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 /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
/data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
/data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
CMakeLists.txt:3 (project)
========================== [FAILED] Took 3.84 seconds ==========================
ohjay93
(Ohjay93)
December 18, 2024, 7:03pm
5
I have the exact same problem
I found this issue on Github.
opened 10:29PM - 15 Dec 24 UTC
### The problem
None of my Assist projects build with the ESPHome 2024.12 bet… as. They all fail with a build error in ESP-IDF related to the JSMN component.
### Which version of ESPHome has the issue?
2024.12.0b0/b1/b2
### What type of installation are you using?
Docker
### Which version of Home Assistant has the issue?
2024.12.0b3
### What platform are you using?
ESP32-IDF
### Board
ESP32-S3-Box-3
### Component causing the issue
jsnm
### YAML Config
```yaml
Top-level config:
substitutions:
name: fr-esp32-s3
friendly_name: Family Room ESP32-S3
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
packages:
esp32-s3-box-3: !include wake-word-voice-assistants/esp32-s3-box-3/esp32-s3-box-3.yaml
# Enable logging
logger:
# Enable Home Assistant API
api:
audio:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
captive_portal:
button:
- platform: restart
name: "Restart"
Using the stock MWW ESP32-S3-Box-3 config: https://github.com/esphome/wake-word-voice-assistants/blob/main/esp32-s3-box-3/esp32-s3-box-3.yaml
```
### Anything in the logs that might be useful for us?
```txt
(venv) rcoleman@rcoleman-linux ~/esphome % esphome run --no-logs ./fr-esp32-s3-box-3.yaml
INFO ESPHome 2024.12.0b2
INFO Reading configuration ./fr-esp32-s3-box-3.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/jesserockz/esp32-s3-box-3-board.git@main
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing fr-esp32-s3 (board: esp32s3box; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
------------------------------------------------------------------------------------------------------------------------------
Library Manager: Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0
INFO Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
- framework-espidf @ 3.50105.0 (5.1.5)
- tool-cmake @ 3.21.3
- tool-esptoolpy @ 4.8.1
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 12.1.0+20221002
- tool-xtensa-esp-elf-gdb @ 12.1.0+20221002
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 12.2.0+20230208
- toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.39.5")
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/rcoleman/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/rcoleman/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/rcoleman/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Dependencies lock doesn't exist, solving dependencies.
.....NOTICE: Updating lock file at /home/rcoleman/esphome/.esphome/build/fr-esp32-s3/dependencies.lock
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/home/rcoleman/esphome/.esphome/build/fr-esp32-s3/.pioenvs/fr-esp32-s3/CMakeFiles/CMakeOutput.log".
fatal: not a git repository (or any of the parent directories): .git
CMake Error at /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
/home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
/home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
CMakeLists.txt:3 (project)
================================================= [FAILED] Took 4.56 seconds =================================================
If I delete platformio, it ends up checking out something in detached head:
(venv) rcoleman@rcoleman-linux ~/esphome % esphome run --no-logs ./fr-esp32-s3-box-3.yaml
INFO ESPHome 2024.12.0b1
INFO Reading configuration ./fr-esp32-s3-box-3.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/jesserockz/esp32-s3-box-3-board.git@main
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
******************************************************************************************************************************
If you like PlatformIO, please:
- star it on GitHub > https://github.com/platformio/platformio-core
- follow us on LinkedIn to stay up-to-date on the latest project news > https://www.linkedin.com/company/platformio/
- try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
******************************************************************************************************************************
Processing fr-esp32-s3 (board: esp32s3box; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
INFO Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
git version 2.39.5
Cloning into '/home/rcoleman/.platformio/.cache/tmp/pkg-installing-pu7ger9v'...
remote: Enumerating objects: 914, done.
remote: Counting objects: 100% (914/914), done.
remote: Compressing objects: 100% (714/714), done.
remote: Total 914 (delta 315), reused 707 (delta 166), pack-reused 0 (from 0)
Receiving objects: 100% (914/914), 1.11 MiB | 4.56 MiB/s, done.
Resolving deltas: 100% (315/315), done.
Note: switching to 'ec17486ffa451374e108b72be07e9c8fa83338e8'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Platform Manager: [email protected] +sha.ec17486 has been installed!
INFO [email protected] +sha.ec17486 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
INFO Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32s3 @ 12.2.0+20230208
INFO Installing espressif/toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] +20230208 has been installed!
INFO [email protected] +20230208 has been installed!
Tool Manager: Installing espressif/toolchain-riscv32-esp @ 12.2.0+20230208
INFO Installing espressif/toolchain-riscv32-esp @ 12.2.0+20230208
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] +20230208 has been installed!
INFO [email protected] +20230208 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 espressif/tool-xtensa-esp-elf-gdb @ ~12.1.0
INFO Installing espressif/tool-xtensa-esp-elf-gdb @ ~12.1.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] +20221002 has been installed!
INFO [email protected] +20221002 has been installed!
Tool Manager: Installing espressif/tool-riscv32-esp-elf-gdb @ ~12.1.0
INFO Installing espressif/tool-riscv32-esp-elf-gdb @ ~12.1.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] +20221002 has been installed!
INFO [email protected] +20221002 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esptool/releases/download/v4.8.1.1/esptool.zip
INFO Installing https://github.com/pioarduino/esptool/releases/download/v4.8.1.1/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.21.0
INFO Installing platformio/tool-cmake @ ~3.21.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.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!
/home/rcoleman/esphome/.esphome/build/fr-esp32-s3/esp_adf_patches/idf_v4.4_freertos.patch
patch -p1 -d /home/rcoleman/.platformio/packages/framework-espidf -i /home/rcoleman/esphome/.esphome/build/fr-esp32-s3/esp_adf_patches/idf_v4.4_freertos.patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 37f768cfbf6ec8857917afc2435dc33aa22448e4 Mon Sep 17 00:00:00 2001
|From: xutao <[email protected] >
|Date: Mon, 7 Mar 2022 18:12:56 +0800
|Subject: [PATCH] add task create API for allocated stack in
|
|---
| components/freertos/include/freertos/task.h | 11 +++++
| components/freertos/tasks.c | 48 +++++++++++++++++++++
| 2 files changed, 59 insertions(+)
|
|diff --git a/components/freertos/include/freertos/task.h b/components/freertos/include/freertos/task.h
|index 73fa040526..6a5a7ad0e7 100644
|--- a/components/freertos/include/freertos/task.h
|+++ b/components/freertos/include/freertos/task.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/components/freertos/tasks.c b/components/freertos/tasks.c
|index 8035025480..26d6b441b0 100644
|--- a/components/freertos/tasks.c
|+++ b/components/freertos/tasks.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
*** Error 1
<lambda>([], [])
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
- framework-espidf @ 3.50105.0 (5.1.5)
- tool-cmake @ 3.21.3
- tool-esptoolpy @ 4.8.1
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 12.1.0+20221002
- tool-xtensa-esp-elf-gdb @ 12.1.0+20221002
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 12.2.0+20230208
- toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Collecting wheel>=0.35.1
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Collecting urllib3<2
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Collecting cryptography~=41.0.1
Using cached cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)
Collecting future>=0.18.3
Using cached future-1.0.0-py3-none-any.whl (491 kB)
Collecting pyparsing<4,>=3.1.0
Using cached pyparsing-3.2.0-py3-none-any.whl (106 kB)
Collecting kconfiglib~=14.1.0
Using cached kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
Collecting idf-component-manager~=2.0.1
Using cached idf_component_manager-2.0.4-py3-none-any.whl (151 kB)
Collecting esp-idf-kconfig<2.0.0,>=1.4.2
Using cached esp_idf_kconfig-1.5.0-py3-none-any.whl (44 kB)
Collecting cffi>=1.12
Using cached cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
Collecting click
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting colorama
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting pyyaml
Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Collecting requests
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Collecting requests-file
Using cached requests_file-2.1.0-py2.py3-none-any.whl (4.2 kB)
Collecting requests-toolbelt
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Collecting tqdm
Using cached tqdm-4.67.1-py3-none-any.whl (78 kB)
Collecting jsonref
Using cached jsonref-1.1.0-py3-none-any.whl (9.4 kB)
Collecting pydantic
Using cached pydantic-2.10.3-py3-none-any.whl (456 kB)
Collecting pydantic-core
Using cached pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Collecting pydantic-settings
Using cached pydantic_settings-2.7.0-py3-none-any.whl (29 kB)
Collecting typing-extensions
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting pycparser
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Collecting annotated-types>=0.6.0
Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Collecting python-dotenv>=0.21.0
Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Collecting charset-normalizer<4,>=2
Using cached charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Collecting idna<4,>=2.5
Using cached idna-3.10-py3-none-any.whl (70 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2024.12.14-py3-none-any.whl (164 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, 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-2024.12.14 cffi-1.17.1 charset-normalizer-3.4.0 click-8.1.7 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.10.3 pydantic-core-2.27.1 pydantic-settings-2.7.0 pyparsing-3.2.0 python-dotenv-1.0.1 pyyaml-6.0.2 requests-2.32.3 requests-file-2.1.0 requests-toolbelt-1.0.0 tqdm-4.67.1 typing-extensions-4.12.2 urllib3-1.26.20 wheel-0.45.1
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Building ESP-IDF components for target esp32s3
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/home/rcoleman/esphome/.esphome/build/fr-esp32-s3/.pioenvs/fr-esp32-s3/CMakeFiles/CMakeOutput.log".
fatal: not a git repository (or any of the parent directories): .git
CMake Error at /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
/home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
/home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
CMakeLists.txt:3 (project)
================================================ [FAILED] Took 86.56 seconds ===============================================
```
### Additional information
If I install ESPHome 2024.11.3, the same projects build and install just fine. I get the same failure if I just try to build exactly the released config from https://github.com/esphome/wake-word-voice-assistants/blob/main/esp32-s3-box-3/esp32-s3-box-3.yaml as is.
It seems like if you add this to your yaml configuration for the Atom Echo, it will work.
esp32:
board: m5stack-atom
framework:
type: esp-idf
version: 4.4.8
platform_version: 5.4.0
I got some shadow declaration warnings during the compile but it seems to have installed and is working fine!
2 Likes
rujelus22
(Robert)
December 18, 2024, 8:05pm
7
That did the trick thanks
its all a bit mysterious, as with that additional esp32 key (btw, how should anyone clicking ‘update’ get to know about this…)
we still get a warning of wrong versions:
WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
btw, removing those manual versions keys return the fatal error once again, so that advice is not very useful
the update now succeeds alright:
but it’s a nasty user experience.
got to check the Github issues, check the Discord support channel (both very active btw, thanks for that support)
I am aware ESPHome is all about tinkering. And yet, getting a repair and click update in Home Assistant dashboard suggests it should be way more streamlined than this.