Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWW version won't install after 2024.12 #101

Open
3 tasks done
PhilippeP62 opened this issue Dec 18, 2024 · 2 comments
Open
3 tasks done

MWW version won't install after 2024.12 #101

PhilippeP62 opened this issue Dec 18, 2024 · 2 comments
Labels

Comments

@PhilippeP62
Copy link

Flavor

MicroWakeWord

Checklist

  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..
  • I am able to consult debug logging for my ESPHome instance.

Describe the issue

Install fail after updating Esphome to 2024.12

Reproduction steps

...

Debug logs

INFO ESPHome 2024.12.0 INFO Reading configuration /config/esphome/onju-voice-04.yaml... INFO Generating C++ source... INFO Updating https://github.com/espressif/[email protected] INFO Updating submodules (components/esp-adf-libs, components/esp-sr) for 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 onju-voice-04 (board: esp32-s3-devkitc-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07) -------------------------------------------------------------------------------- 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! Library Manager: Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0 INFO Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0 Downloading [####################################] 100% Unpacking [####################################] 100% Library Manager: [email protected] has been installed! INFO [email protected] has been installed! /data/cache/platformio/packages/framework-espidf Already Patched: yes HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB 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 parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).' -- 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: /data/cache/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: /data/cache/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: /data/cache/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 NOTICE: Following dependencies have new versions available: Dependency "espressif/esp-nn": "1.0.2" -> "1.1.0" Consider running "idf.py update-dependencies" to update your lock file. Processing 1 dependencies: [1/1] idf (5.1.5) -- Configuring incomplete, errors occurred! See also "/data/build/onju-voice-04/.pioenvs/onju-voice-04/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 'esp_adc_cal'. Call Stack (most recent call first): /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:302 (__build_resolve_and_add_req) /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:309 (__build_expand_requirements) /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 12.70 seconds =========================
@dreimer1986
Copy link

dreimer1986 commented Dec 18, 2024

Your solution lies here https://github.com/dreimer1986/onju-voice-satellite/blob/main/esphome/onju-voice-microwakeword.yaml check lines 68 and 69. When I ever find out how to cherry pick changes for pull requests, I will even make one here, but for now I can only tell you what to hand edit... sorry. Already waay too much tinkering in my code base to just say, "Hi, here's is my lil pull request with 387462 modifications. Have fun."

The problem is the new version does some version bump that does not support ADF-Pipeline and we have to manually hop back a bit.
gnumpi/esphome_audio#74

I wonder if that was what @tetele meant when he told me that the whole thing needs a bit of an overhaul as it depends on outdated libraries. I did not understand back then, now I think I got it. ^^

@PhilippeP62
Copy link
Author

Thanks !

@thinkjk thinkjk mentioned this issue Dec 22, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants