libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
382 stars 55 forks source link

arm-none-eabi-g++: not found #238

Open hunhejj opened 5 months ago

hunhejj commented 5 months ago

I am getting the error arm-none-eabi-g++: not found when building a libretiny firmware.

ESPHome: v2023.12.15 (Docker) Host: Raspberry Pi 4 (4 GB)

Sample device:

esphome:
  name: libretiny_test

bk72xx:
  board: generic-bk7231n-qfn32-tuya

api:
  encryption:
    key: !secret api_encryption_key

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

Logs: logs_libretiny-test_compile.txt

SaschaMuehl commented 5 months ago

same issue here

hunhejj commented 4 months ago

Any idea @kuba2k2 ?

kuba2k2 commented 4 months ago

You most likely have an incorrect Docker version of ESPHome installed (i.e. 32-bit container on a 64-bit OS).

Also see: https://github.com/libretiny-eu/libretiny/issues/133 https://github.com/libretiny-eu/libretiny/issues/89 https://github.com/libretiny-eu/libretiny/issues/79

hunhejj commented 4 months ago

I just checked: I am using a 64 bit container (arm64) on a 64bit system (64 bit Raspberry OS) @kuba2k2

hunhejj commented 4 months ago

ping @kuba2k2

kuba2k2 commented 4 months ago

Actually, I don't have a solution. I don't know what causes the issue exactly, I don't have the right environment to reproduce it. I can only refer you to the issues listed above, hoping that you find a solution there.

juskalalie commented 4 months ago

I opened #259, I can give you more information if you need. I am running HAOS Blue on an Odroid N2+ with 4GB RAM.