When installing ESPhome on a ESP8266 board i get the following error:
xtensa-lx106-elf-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
Running Home Assistant OS.
When installing ESPhome on a ESP8266 board i get the following error:
xtensa-lx106-elf-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
Running Home Assistant OS.
Versions? Don’t say “latest”.
I am seeing this as well with all the latest releases.
I can’t create any new ESP8266 devices and I can’t
update any ESP8266 devices that I created in the past.
In addition all ESP32 devices work fine with no problems.
Versions? Don’t say “latest”.
Ok my releases and Versions are the latest … everything is up to date,
and I see the same problem.
Not sure which update broke things.
I told you, latest is not a version.
Version: 2022.2.1
OK so you are not currently on the latest, see ESPHome 2022.2.0 - 16th February 2022 — ESPHome
Try updating. I am getting no such error here.
ESPHome
Current version: 2022.2.3
still happening
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
Dependency Graph
|-- 1.2.3
|-- 2.1.0
| |-- 1.2.3
| |-- 1.0
| |-- 1.0
|-- 1.1.1
|-- 1.0
|-- 1.2
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_connection.cpp.o
xtensa-lx106-elf-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_frame_helper.cpp.o
xtensa-lx106-elf-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_pb2.cpp.o
xtensa-lx106-elf-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_connection.cpp.o] Error 1
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_pb2_service.cpp.o
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_pb2.cpp.o] Error 1
xtensa-lx106-elf-g++: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_pb2_service.cpp.o] Error 1
========================== [FAILED] Took 2.64 seconds ==========================
I rolled back to 2022.1.3 and it works on that version.
This is very strange but could be the end of the thread.
Glad I did show earlier how it was failing.
I restored 2022.1.3 and it works.
I restored 2022.2.0 and it works.
I restored 2022.2.1 and it works.
I updated to 2022.2.3 and it works.
So something must have happened during an earlier upgrade because everything is working as expected now. Don’t know why or how, but it looks like there is a path for anyone else having the problem to resolve it.
Hi all
I’m running 2022.3.5 (latest version I believe) and I am getting the same error:
‘fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory’
along with other errors.
Does anyone have any suggestions?
Is there something that I should have re-installed?
ESP Home is Version 2022.3.0
I was having the same problem. I uninstalled and reinstalled the add-on. It finally worked.
This happened to me after switching from an old repository to the new one, but I don’t know if this was the cause.
I did not loose any configurations devices or entities. They were all there when I reinstalled the add-on with no extra steps. I did have to go through the update/install process with a couple of devices, but I don’t know if that was related.
i also facing the same issue it never working for esp32 ( nspanel)
Bluetooth proxy worked without any issue
You haven’t told us your version of esphome. Or shown logs.
This.
It worked immediately. I recommend to backup the esphome addon first in case something goes wrong.