esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
292 stars 36 forks source link

ESPHome 2023.12.7 - Error compiling not found *.cpp #5402

Open ss78768 opened 10 months ago

ss78768 commented 10 months ago

The problem

Hi All,

After the last update, the compilation mechanism for ESPHome broke down.

When trying to compile the updated code during the library build phase, an error occurs.

Platform: Orange Pi 3b

Logs: Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_connection.cpp.o sh: 1: xtensa-esp32-elf-g++: not found Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_frame_helper.cpp.o sh: 1: xtensa-esp32-elf-g++: not found Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2.cpp.o sh: 1: xtensa-esp32-elf-g++: not found [.pioenvs/remote-bluetooth/src/esphome/components/api/api_connection.cpp.o] Error 127 Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2_service.cpp.o [.pioenvs/remote-bluetooth/src/esphome/components/api/api_frame_helper.cpp.o] Error 127 [.pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2.cpp.o] Error 127 sh: 1: xtensa-esp32-elf-g++: not found [.pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2_service.cpp.o] Error 127

I rely on your help.

Regards, Sergey

Which version of ESPHome has the issue?

2023.12.7

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.1.3

What platform are you using?

ESP32

Board

ESPHome

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

INFO ESPHome 2023.12.7
INFO Reading configuration /config/esphome/remote-bluetooth.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing remote-bluetooth (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.0.1
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-esp32-elf-g++: not found
Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: xtensa-esp32-elf-g++: not found
Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-esp32-elf-g++: not found
*** [.pioenvs/remote-bluetooth/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling .pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2_service.cpp.o
*** [.pioenvs/remote-bluetooth/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [.pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2.cpp.o] Error 127
sh: 1: xtensa-esp32-elf-g++: not found
*** [.pioenvs/remote-bluetooth/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
========================= [FAILED] Took 10.29 seconds =========================

Additional information

No response

rp3tya commented 10 months ago

Confirming this on a NanoPi R6S.

cmchauvin commented 9 months ago

Same issue for me. Seeing "xtensa-esp32-elf-g++: not found" when I try to update. ESPHome 2023.12.9 add-on running on Home Assistant 2024.1.5 using RPI 4

Unfocused commented 9 months ago

Is this a duplicate of #3092 ?