Open gmawdsley1 opened 5 months ago
It's not the same as that. Try re-creating the container.
I have updated core and Supervisor. I tried loading the bare template, and had the same fail as above. I then teried the MHz19 install:
HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash
I have the same issue with an ever so slightly different error message. I'm on HA 2024.5.5 Addon version: 2024.5.4 The error message is: riscv32-esp-elf-g++: error trying to exec 'cc1plus': execvp: No such file or directory
From doing a bit of reading online it seems like the addon is maybe missing a package gcc-c++ / g++? https://stackoverflow.com/questions/8878676/compile-error-g-error-trying-to-exec-cc1plus-execvp-no-such-file-or-dir
I'm not 100% sure, but I would rather not uninstall the addon and reinstall it, since I'm not sure what would happen to my existing devices. If anyone can help clarify what would happen on a reinstall and if my devices would need to be setup again in HA, then that would help me make a decision on where to go next or if to wait for a fix.
Nothing happens if you do a re-install. The yaml files are in the HA common config area. And it has nothing to do with the devices being integrated in HA. You should of course be backing them up anyway.
The problem
Compiling .pioenvs/esphome-web-camera/src/esphome/components/api/api_pb2_service.cpp.o xtensa-esp32-elf-g++: error trying to exec 'as': execvp: No such file or directory *** [.pioenvs/esphome-web-camera/src/esphome/components/api/api_frame_helper.cpp.o] Error 1 xtensa-esp32-elf-g++: error trying to exec 'as': execvp: No such file or directory
Which version of ESPHome has the issue?
2024.4.0
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2024.4.2
What platform are you using?
ESP32
Board
ESP32-cam
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Is "as" in the PATH? This looks like https://community.home-assistant.io/t/esp32-wont-compile-xtensa-esp32-elf-g-internal-compiler-error-killed-program-cc1plus/490814