benzino77 / tasmocompiler

Web GUI for custom Tasmota compilation
MIT License
511 stars 148 forks source link

During compile i constantly get this error xtensa-esp32-elf-g++: not found #376

Closed wesselah closed 10 months ago

wesselah commented 1 year ago

I just upgraded the docker container and when trying to compile i constantly get this error

Processing tasmota32 (framework: arduino; platform: https://github.com/tasmota/platform-espressif32/releases/download/2023.07.00/platform-espressif32.zip; board: esp32)

Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Tool Manager: toolchain-xtensa-esp32@8.4.0+2021r2-patch5 has been installed! Verbose mode can be enabled via -v, --verbose option -DCONFIG_TASMOTA_FLASHMODE_DIO use provided user_config_override.h as planned use provided platformio_override.ini as planned CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32.html PLATFORM: Espressif 32 (2023.7.0) > Espressif Generic ESP32 >= 4M Flash PSRAM, Tasmota 2880k Code/OTA, 320k FS HARDWARE: ESP32 160MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

Environment Status Duration


tasmota32 FAILED 00:01:19.122 ==================== 1 failed, 0 succeeded in 00:01:19.122 ==================== Finished. Exit code: 1.

Any help would be apprciated

benzino77 commented 1 year ago

Hi, Sorry for the lag in answering your question. Have a look here:

270

256

231

303

or issues

It is probably a problem with espressif availability of a toolchain for a specific architecture.

wesselah commented 1 year ago

I removed the running docker instance and installed the latest version of tasmocompiler . It is running on raspberry pi 4 32 bit not on 64 bit and the somewhat older tasmocompiler docker run fine so i thought lets update it to the latest version. I downloaded also the latest source for tasmota and then i followed up to the next steps even the basic esp 32 selection gets the same error. I was looking for the missing files but it seems not to be downloaded correctly i tried over again and still the issue is there. Then i tried gitpod and it works normally. So it seems like a local install issue with the latest docker image. Could this be ? It is only a couple of days old

benzino77 commented 1 year ago

It is a problem with espressif toolchain for ARM (raspberry pi) architecture. Gitpod is running on x86-64 not ARM and that is why on gitpod it is working fine.

Jason2866 commented 1 year ago

To be clear NOT an issue of Tasmota, TasmoCompiler or Platformio. Espressif does not provide toolchains for every Platform. Only Solution do not use RPi for compiling.