esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
288 stars 34 forks source link

xtensa-lx106-elf-g++: not found #1386

Closed gitolicious closed 1 year ago

gitolicious commented 3 years ago

Operating environment/Installation (Hass.io/Docker/pip/etc.):

Hass.io on Odroid N2

Hass.io Add-on: ESPHome (beta) Beta version of ESPHome Hass.io add-on.

Add-on version: 1.15.0b3 You are running the latest version of this add-on. System: Debian GNU/Linux 9 (stretch) (armv7 / odroid-xu) Home Assistant Core: 0.113.2 Home Assistant Supervisor: 229

ESP (ESP32/ESP8266, Board/Sonoff):

ESP8266, but irrelevant

ESPHome version (latest production, beta, dev branch)

1.15.0b3 - fails for ESP32 and ESP8266 latest dev - fails for ESP32 and ESP8266 1.14.5 - fails for ESP32, works fine for ESP8266

Affected component:

n/a

Description of problem: Compilation is giving me xtensa-lx106-elf-g++: not found

Problem-relevant YAML-configuration entries:

esphome:
  name: test
  platform: ESP8266
  board: esp01_1m

Logs (if applicable):

INFO Reading configuration /config/esphome/test.yaml...
INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Deleting /data/test/.pioenvs
INFO Deleting /data/test/.piolibdeps
INFO Compiling app...
INFO Running:  platformio run -d /config/esphome/test
Processing test (board: esp01_1m; framework: arduino; platform: espressif8266@2.6.0)
--------------------------------------------------------------------------------
PackageManager: Installing toolchain-xtensa @ ~2.40802.191122
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
toolchain-xtensa @ 2.40802.200502 has been successfully installed!
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
PACKAGES: 
 - framework-arduinoespressif8266 3.20702.0 (2.7.2) 
 - tool-esptool 1.413.0 (4.13) 
 - tool-esptoolpy 1.20800.0 (2.8.0) 
 - toolchain-xtensa 2.40802.200502 (4.8.2)
Dependency Graph
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
|   |-- <ESP8266WiFi> 1.0
Compiling /data/test/.pioenvs/test/src/esphome/core/application.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/core/component.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/core/controller.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/core/esphal.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/core/helpers.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/test/.pioenvs/test/src/esphome/core/application.cpp.o] Error 127
Compiling /data/test/.pioenvs/test/src/esphome/core/log.cpp.o
*** [/data/test/.pioenvs/test/src/esphome/core/component.cpp.o] Error 127
*** [/data/test/.pioenvs/test/src/esphome/core/controller.cpp.o] Error 127
*** [/data/test/.pioenvs/test/src/esphome/core/esphal.cpp.o] Error 127
*** [/data/test/.pioenvs/test/src/esphome/core/helpers.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/test/.pioenvs/test/src/esphome/core/log.cpp.o] Error 127
========================= [FAILED] Took 24.86 seconds =========================

Additional information and things you've tried:

jpcornil-git commented 2 years ago

No issues with that one either, see logs_test_compile.txt

thoompje commented 2 years ago

Hmm what can be the issue then :( Is it possible to install the xtensa-lx106-elf somewhere? I still got the error.

System: RPi 4 CPU Architecture: aarch64 Core: 2022.3.4 Supervisor: 2022.03.3 HA: 2022.3.4 OS: raspbian 11 (bullseye) Docker version: 20.10.12 ESPHome: 2022.2.6

What is the difference with yours. I changed the architecture from 32 to 64 because of performance issues, but that's a half year ago. Removed esphome completely also the folder esphome and reinstalled, but no luck. Thanks for all the effort!!!

INFO Reading configuration /config/esphome/shutters.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o] Error 127
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
========================== [FAILED] Took 2.49 seconds ==========================
jpcornil-git commented 2 years ago

Within ESPHome docker, compiler is located here in my case:

# docker ps
CONTAINER ID   IMAGE                                                           COMMAND                  CREATED          STATUS          PORTS                                   NAMES
935a15faf1a8   esphome/esphome-hassio-aarch64:2022.2.6                         "/init"                  53 minutes ago   Up 53 minutes                                           addon_a0d7b954_esphome
387c97c3248b   homeassistant/aarch64-addon-ssh:9.3.0                           "/init"                  53 minutes ago   Up 53 minutes   0.0.0.0:22->22/tcp, :::22->22/tcp       addon_core_ssh
fcd4a82088f2   ghcr.io/home-assistant/aarch64-hassio-multicast:2022.02.0       "/init"                  53 minutes ago   Up 53 minutes                                           hassio_multicast
7b408361c35d   ghcr.io/home-assistant/aarch64-hassio-audio:2021.07.0           "/init"                  53 minutes ago   Up 53 minutes                                           hassio_audio
33bd8399ed1e   ghcr.io/home-assistant/aarch64-hassio-dns:2021.06.0             "/init"                  53 minutes ago   Up 53 minutes                                           hassio_dns
a518cdd419f7   ghcr.io/home-assistant/aarch64-hassio-cli:2021.12.0             "/init /bin/bash -c …"   53 minutes ago   Up 53 minutes                                           hassio_cli
0eeceaf39f53   homeassistant/aarch64-hassio-supervisor:latest                  "/init"                  16 hours ago     Up 53 minutes                                           hassio_supervisor
27b1c220a9e0   ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.2.9   "/init"                  11 days ago      Up 53 minutes                                           homeassistant
c87217239505   ghcr.io/home-assistant/aarch64-hassio-observer:2021.10.0        "/init"                  11 days ago      Up 54 minutes   0.0.0.0:4357->80/tcp, :::4357->80/tcp   hassio_observer
# docker exec -it addon_a0d7b954_esphome /bin/bash
root@a0d7b954-esphome:/# /data/cache/platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -v
Using built-in specs.
COLLECT_GCC=/data/cache/platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++
COLLECT_LTO_WRAPPER=/data/cache/platformio/packages/toolchain-xtensa/bin/../libexec/gcc/xtensa-lx106-elf/10.3.0/lto-wrapper
Target: xtensa-lx106-elf
Configured with: /workdir/repo/gcc-gnu/configure --prefix=/workdir/xtensa-lx106-elf.arm64 --build=x86_64-linux-gnu --host=aarch64-linux-gnu --target=xtensa-lx106-elf --disable-shared --with-newlib --enable-threads=no --disable-__cxa_atexit --disable-libgomp --disable-libmudflap --disable-nls --disable-multilib --disable-bootstrap --enable-languages=c,c++ --enable-lto --enable-static=yes --disable-libstdcxx-verbose
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.3.0 (GCC) 

You can remove everything on that directory to force a toolchain reinstall

root@a0d7b954-esphome:/# rm -r /data/*
thoompje commented 2 years ago

It was looking a bit better because it was downloading all the tools... but still this:

INFO Reading configuration /config/esphome/shutters.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
--------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif8266 @ 3.2.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: espressif8266 @ 3.2.0 has been installed!
The platform 'platformio/espressif8266 @ 3.2.0' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Tool Manager: Installing platformio/toolchain-xtensa @ ~2.100300.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: toolchain-xtensa @ 2.100300.210717 has been installed!
Tool Manager: Installing platformio/framework-arduinoespressif8266 @ ~3.30002.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: framework-arduinoespressif8266 @ 3.30002.0 has been installed!
Tool Manager: Installing platformio/tool-esptool @ <2
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-esptool @ 1.413.0 has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.30000.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-esptoolpy @ 1.30000.201119 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-scons @ 4.40300.1 has been installed!
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling /data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/shutters/.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
========================= [FAILED] Took 53.98 seconds =========================

Can i install the xtensa-lx106-elf-g++ in the docker container itself?

thoompje commented 2 years ago

Maybe something to do with this: https://github.com/platformio/platformio-core/issues/1263

But i can't get the "Binary is downloadable here : https://dl.bintray.com/pfeerick/aarch64/esptool" anymore... hopefully this will help us?

jpcornil-git commented 2 years ago

I don't think so, it just doesn't find the executable either because it is not there or the path is incorrect => could you list content of /root/.platformio/packages within the esphome container ? (you should see a toolchain-xtensa directory (and within it, a bin dir with all executable) ?

From https://docs.platformio.org/en/latest/projectconf/section_platformio.html#packages-dir, default option for core_dir is ~/.platformio and for packages_dir core_dir/packages -> /root/.platformio/packages

thoompje commented 2 years ago

I got only this in the /root/,platformio folder

root@a0d7b954-esphome:~/.platformio# cd /root/.platformio/
root@a0d7b954-esphome:~/.platformio# ls -lah
total 28K
drwxr-xr-x 1 root root 4.0K Mar  2 11:08 .
drwx------ 1 root root 4.0K Mar 10 09:26 ..
drwxr-xr-x 1 root root 4.0K Mar 14 09:29 .cache
-rw-r--r-- 1 root root  320 Feb 17 22:42 appstate.json
jpcornil-git commented 2 years ago

... and if you go to your /config/esphome and type "esphome compile shutter.yaml" you get the same issue I guess ?

thoompje commented 2 years ago

Same error indeed.

root@a0d7b954-esphome:/# cd config/esphome/
root@a0d7b954-esphome:/config/esphome# esphome compile shutters.yaml
INFO Reading configuration shutters.yaml...
INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Compiling app...
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/                                                                                                                                                             espressif8266 @ 3.2.0)
--------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif8266 @ 3.2.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: espressif8266 @ 3.2.0 has been installed!
The platform 'platformio/espressif8266 @ 3.2.0' has been successfully installed!
The rest of the packages will be installed later depending on your build environ                                                                                                                                                             ment.
Tool Manager: Installing platformio/toolchain-xtensa @ ~2.100300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: toolchain-xtensa @ 2.100300.210717 has been installed!
Tool Manager: Installing platformio/framework-arduinoespressif8266 @ ~3.30002.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: framework-arduinoespressif8266 @ 3.30002.0 has been installed!
Tool Manager: Installing platformio/tool-esptool @ <2
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-esptool @ 1.413.0 has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.30000.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-esptoolpy @ 1.30000.201119 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-scons @ 4.40300.1 has been installed!
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Compiling .pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
sh: 1: xtensa-lx106-elf-g++: not found
sh: 1: xtensa-lx106-elf-g++: not found
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o] Error 127
*** [.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o] Error 127
*** [.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
*** [.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
======================================================================================================== [FAILED] Took 55.72 seconds ========================================================================================================
jpcornil-git commented 2 years ago

Could you do a 'find / -name .platformio (find where platformio packages are installed) ? I'll go thru the python code later today to see how path is defined when toolchain binaries are invoked

thoompje commented 2 years ago

Here you go:

root@a0d7b954-esphome:/config/esphome# find / -name .platformio
/root/.platformio

Looks like thats the only location

jpcornil-git commented 2 years ago

Could you add a print(self) at the end of the PackageItem constructor as illustrated below (in /usr/local/lib/python3.9/dist-packages/platformio/package/meta.py) and attach result/log file.

class PackageItem(object):

    METAFILE_NAME = ".piopm"

    def __init__(self, path, metadata=None):
        self.path = path
        self.metadata = metadata
        if not self.metadata and self.exists():
            self.metadata = self.load_meta()
        print(self)

you may have to install an editor as well (vim herebelow)

root@a0d7b954-esphome:~# apt-get update
...
root@a0d7b954-esphome:~# apt-get install vim
...
root@a0d7b954-esphome:~# vi /usr/local/lib/python3.9/dist-packages/platformio/package/meta.py 
root@a0d7b954-esphome:~# cd /config/esphome/
root@a0d7b954-esphome:/config/esphome# rm -r /data/*
root@a0d7b954-esphome:/config/esphome# esphome compile shutter.yaml 
thoompje commented 2 years ago

Here you go:

root@a0d7b954-esphome:/config/esphome# esphome compile shutters.yaml
INFO Reading configuration shutters.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PackageItem <path=/root/.platformio/platforms/espressif8266 metadata=PackageMetaData <type=platform name=espressif8266 version=3.2.0 spec={'owner': 'platformio', 'id': 8008, 'name': 'espressif8266', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266 metadata=PackageMetaData <type=tool name=framework-arduinoespressif8266 version=3.30002.0 spec={'owner': 'platformio', 'id': 8071, 'name': 'framework-arduinoespressif8266', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-esptool metadata=PackageMetaData <type=tool name=tool-esptool version=1.413.0 spec={'owner': 'platformio', 'id': 8160, 'name': 'tool-esptool', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-esptoolpy metadata=PackageMetaData <type=tool name=tool-esptoolpy version=1.30000.201119 spec={'owner': 'platformio', 'id': 8161, 'name': 'tool-esptoolpy', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-scons metadata=PackageMetaData <type=tool name=tool-scons version=4.40300.1 spec={'owner': 'platformio', 'id': 8192, 'name': 'tool-scons', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/toolchain-xtensa metadata=PackageMetaData <type=tool name=toolchain-xtensa version=2.100300.210717 spec={'owner': 'platformio', 'id': 8221, 'name': 'toolchain-xtensa', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266 metadata=PackageMetaData <type=tool name=framework-arduinoespressif8266 version=3.30002.0 spec={'owner': 'platformio', 'id': 8071, 'name': 'framework-arduinoespressif8266', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-esptool metadata=PackageMetaData <type=tool name=tool-esptool version=1.413.0 spec={'owner': 'platformio', 'id': 8160, 'name': 'tool-esptool', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-esptoolpy metadata=PackageMetaData <type=tool name=tool-esptoolpy version=1.30000.201119 spec={'owner': 'platformio', 'id': 8161, 'name': 'tool-esptoolpy', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-scons metadata=PackageMetaData <type=tool name=tool-scons version=4.40300.1 spec={'owner': 'platformio', 'id': 8192, 'name': 'tool-scons', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/toolchain-xtensa metadata=PackageMetaData <type=tool name=toolchain-xtensa version=2.100300.210717 spec={'owner': 'platformio', 'id': 8221, 'name': 'toolchain-xtensa', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266 metadata=PackageMetaData <type=tool name=framework-arduinoespressif8266 version=3.30002.0 spec={'owner': 'platformio', 'id': 8071, 'name': 'framework-arduinoespressif8266', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-esptool metadata=PackageMetaData <type=tool name=tool-esptool version=1.413.0 spec={'owner': 'platformio', 'id': 8160, 'name': 'tool-esptool', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-esptoolpy metadata=PackageMetaData <type=tool name=tool-esptoolpy version=1.30000.201119 spec={'owner': 'platformio', 'id': 8161, 'name': 'tool-esptoolpy', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/tool-scons metadata=PackageMetaData <type=tool name=tool-scons version=4.40300.1 spec={'owner': 'platformio', 'id': 8192, 'name': 'tool-scons', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/toolchain-xtensa metadata=PackageMetaData <type=tool name=toolchain-xtensa version=2.100300.210717 spec={'owner': 'platformio', 'id': 8221, 'name': 'toolchain-xtensa', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/platforms/espressif8266 metadata=PackageMetaData <type=platform name=espressif8266 version=3.2.0 spec={'owner': 'platformio', 'id': 8008, 'name': 'espressif8266', 'requirements': None, 'url': None}
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ArduinoOTA metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/EEPROM metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266AVRISP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPClient metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPUpdateServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266LLMNR metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266NetBIOS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SSDP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SdFat metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WebServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFiMesh metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266httpUpdate metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Ethernet metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/GDBStub metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Hash metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/I2S metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/LittleFS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Netdump metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SD metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SDFS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SPI metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SPISlave metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Servo metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SoftwareSerial metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/TFT_Touch_Shield_V2 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Ticker metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Wire metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/esp8266 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_PPP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_enc28j60 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5100 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5500 metadata=None
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ArduinoOTA metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/EEPROM metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266AVRISP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPClient metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPUpdateServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266LLMNR metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266NetBIOS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SSDP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SdFat metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WebServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFiMesh metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266httpUpdate metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Ethernet metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/GDBStub metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Hash metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/I2S metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/LittleFS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Netdump metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SD metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SDFS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SPI metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SPISlave metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Servo metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SoftwareSerial metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/TFT_Touch_Shield_V2 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Ticker metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Wire metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/esp8266 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_PPP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_enc28j60 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5100 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5500 metadata=None
PackageItem <path=/piolibs/ArduinoJson metadata=PackageMetaData <type=library name=ArduinoJson version=6.19.3 spec={'owner': 'bblanchon', 'id': 64, 'name': 'ArduinoJson', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncMqttClient-esphome metadata=PackageMetaData <type=library name=AsyncMqttClient-esphome version=0.8.6 spec={'owner': 'ottowinter', 'id': 6759, 'name': 'AsyncMqttClient-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/AsyncTCP-esphome metadata=PackageMetaData <type=library name=AsyncTCP-esphome version=1.2.2 spec={'owner': 'esphome', 'id': 12172, 'name': 'AsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Crypto metadata=PackageMetaData <type=library name=Crypto version=0.2.0 spec={'owner': 'rweather', 'id': 1168, 'name': 'Crypto', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Dsmr metadata=PackageMetaData <type=library name=Dsmr version=0.5.0 spec={'owner': 'glmnet', 'id': 12591, 'name': 'Dsmr', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/FastLED metadata=PackageMetaData <type=library name=FastLED version=3.5.0 spec={'owner': 'fastled', 'id': 126, 'name': 'FastLED', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/Improv metadata=PackageMetaData <type=library name=Improv version=1.2.1 spec={'owner': 'esphome', 'id': 13148, 'name': 'Improv', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/MideaUART metadata=PackageMetaData <type=library name=MideaUART version=1.1.8 spec={'owner': 'dudanov', 'id': 12715, 'name': 'MideaUART', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/NeoPixelBus metadata=PackageMetaData <type=library name=NeoPixelBus version=2.6.9 spec={'owner': 'makuna', 'id': 547, 'name': 'NeoPixelBus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TM1651 metadata=PackageMetaData <type=library name=TM1651 version=1.0.1 spec={'owner': 'freekode', 'id': 6865, 'name': 'TM1651', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/TinyGPSPlus metadata=PackageMetaData <type=library name=TinyGPSPlus version=1.0.3 spec={'owner': 'mikalhart', 'id': 1655, 'name': 'TinyGPSPlus', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/arduino-MLX90393 metadata=PackageMetaData <type=library name=arduino-MLX90393 version=1.0.0 spec={'owner': 'functionpointer', 'id': 13048, 'name': 'arduino-MLX90393', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/esp32-camera metadata=PackageMetaData <type=library name=esp32-camera version=2.0.0 spec={'owner': 'espressif', 'id': 10785, 'name': 'esp32-camera', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/libsodium metadata=PackageMetaData <type=library name=libsodium version=1.10018.1 spec={'owner': 'esphome', 'id': 12917, 'name': 'libsodium', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/noise-c metadata=PackageMetaData <type=library name=noise-c version=0.1.4 spec={'owner': 'esphome', 'id': 12671, 'name': 'noise-c', 'requirements': None, 'url': None}
PackageItem <path=/piolibs/qr-code-generator-library metadata=PackageMetaData <type=library name=qr-code-generator-library version=1.7.0 spec={'owner': 'wjtje', 'id': 13445, 'name': 'qr-code-generator-library', 'requirements': None, 'url': None}
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ArduinoOTA metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/EEPROM metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266AVRISP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPClient metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266HTTPUpdateServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266LLMNR metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266NetBIOS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SSDP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266SdFat metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WebServer metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFiMesh metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266httpUpdate metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Ethernet metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/GDBStub metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Hash metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/I2S metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/LittleFS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Netdump metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SD metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SDFS metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SPI metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SPISlave metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Servo metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/SoftwareSerial metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/TFT_Touch_Shield_V2 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Ticker metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Wire metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/esp8266 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_PPP metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_enc28j60 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5100 metadata=None
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/lwIP_w5500 metadata=None
Dependency Graph
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
|-- <ESPAsyncTCP-esphome> 1.2.3
PackageItem <path=/piolibs/ESPAsyncWebServer-esphome metadata=PackageMetaData <type=library name=ESPAsyncWebServer-esphome version=2.1.0 spec={'owner': 'esphome', 'id': 12620, 'name': 'ESPAsyncWebServer-esphome', 'requirements': None, 'url': None}
|-- <ESPAsyncWebServer-esphome> 2.1.0
PackageItem <path=/piolibs/ESPAsyncTCP-esphome metadata=PackageMetaData <type=library name=ESPAsyncTCP-esphome version=1.2.3 spec={'owner': 'ottowinter', 'id': 6757, 'name': 'ESPAsyncTCP-esphome', 'requirements': None, 'url': None}
|   |-- <ESPAsyncTCP-esphome> 1.2.3
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/Hash metadata=None
|   |-- <Hash> 1.0
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi metadata=None
|   |-- <ESP8266WiFi> 1.0
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/DNSServer metadata=None
|-- <DNSServer> 1.1.1
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi metadata=None
|-- <ESP8266WiFi> 1.0
PackageItem <path=/root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS metadata=None
|-- <ESP8266mDNS> 1.2
Compiling .pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling .pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling .pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling .pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o
*** [.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
======================================================================================================== [FAILED] Took 2.39 seconds ========================================================================================================
jpcornil-git commented 2 years ago

As you can see, it is definitively expecting packages to be located in /root/.platformio/packages/ (but they are not there from your previous feedback) ...

Could you redo but after following steps (would like to see the path during the tool installation step)

root@a0d7b954-esphome:~# rm -r /config/esphome/.esphome
root@a0d7b954-esphome:~# rm -r /root/.platformio

Better attach as a file as well (avoid long comment/scroll)

It looks like the installation is not happening somehow ... next step

thoompje commented 2 years ago

logs.txt

I attached the logs!

jpcornil-git commented 2 years ago

Thanks -> installation says /root/.platformio/packages/toolchain-xtensa as well (but nothing there from what you said/for some reasons, e.g. access rights/...)

Tool Manager: Installing platformio/toolchain-xtensa @ ~2.100300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
PackageItem <path=/root/.platformio/.cache/tmp/pkg-installing-f5f765ow metadata=                                                                                                                                                             PackageMetaData <type=tool name=toolchain-xtensa version=2.100300.210717 spec={'                                                                                                                                                             owner': 'platformio', 'id': 8221, 'name': 'toolchain-xtensa', 'requirements': No                                                                                                                                                             ne, 'url': None}
PackageItem <path=/root/.platformio/packages/toolchain-xtensa metadata=None
PackageItem <path=/root/.platformio/packages/toolchain-xtensa metadata=PackageMe                                                                                                                                                             taData <type=tool name=toolchain-xtensa version=2.100300.210717 spec={'owner': '                                                                                                                                                             platformio', 'id': 8221, 'name': 'toolchain-xtensa', 'requirements': None, 'url'                                                                                                                                                             : None}
Tool Manager: toolchain-xtensa @ 2.100300.210717 has been installed!
PackageItem <path=/root/.platformio/packages/toolchain-xtensa metadata=PackageMe   

I'll have a look at what the "Tool Manager" does/real commands issued/exceptions that may not be reported/...

jpcornil-git commented 2 years ago

If you interrupt the tool installation process (when you see Downloading/Unpacking/...) with a CTRL-C , do you see something in /root/.platformio/.cache/tmp (where package are expanded before being moved to /root/.platformio/packages upon success) ?

Do a rm -r /config/esphome/.esphome and rm -r /root/.platformio to start from scratch

thoompje commented 2 years ago

Hi, i did what you asked, but nothing comes in to the /root/.platformio/.cache/tmp folder

jpcornil-git commented 2 years ago

OK, a tmp folder is created but you see nothing in it (may be worth to try a few times to make sure you didn't sampled the directory content just after package removal/before the next one). I would like to find out if the package unpacking is failing or its copy to the final location.

thoompje commented 2 years ago

No luck with a few times trying :( And thanks for all the help man!!

jpcornil-git commented 2 years ago

OK ... package download/unpacking would be next suspect then (or access rights again but tmp can be created and I suppose that you already removed/reinstalled ESPHome completely)

jpcornil-git commented 2 years ago

Just to make sure that there is reall nothing in /root/.platformio/.cache/.tmp could you add the last line here below to /usr/local/lib/python3.9/dist-packages/platformio/package/manager/_install.py (you can remove above "print(self)" in meta.py) ? This should list the content of each downloaded package just after unpacking

    def install_from_url(self, url, spec, checksum=None, silent=False):
        spec = self.ensure_spec(spec)
        tmp_dir = tempfile.mkdtemp(prefix="pkg-installing-", dir=self.get_tmp_dir())
        vcs = None
        try:
            if url.startswith("file://"):
                _url = url[7:]
                if os.path.isfile(_url):
                    self.unpack(_url, tmp_dir)
                else:
                    fs.rmtree(tmp_dir)
                    shutil.copytree(_url, tmp_dir, symlinks=True)
            elif url.startswith(("http://", "https://")):
                dl_path = self.download(url, checksum, silent=silent)
                assert os.path.isfile(dl_path)
                self.unpack(dl_path, tmp_dir)
            else:
                vcs = VCSClientFactory.new(tmp_dir, url)
                assert vcs.export()

            print(f"[DEBUG] {tmp_dir} content:{os.listdir(tmp_dir)}")
thoompje commented 2 years ago

I don't get this fixed after adding the code:

    print(f"[DEBUG] {tmp_dir} content:{os.listdir(tmp_dir)}")
                                                                                           ^
SyntaxError: unexpected EOF while parsing
jpcornil-git commented 2 years ago

Is the beginning of the print statement aligned with the else statement above (using whitespace) ? You just added that line kept everything the same before/after I suppose ?

thoompje commented 2 years ago

image image

Looks al good right? Still the error, thanks for all again!!

jpcornil-git commented 2 years ago

Parser is expecting more, I guess you removed something/everything after that line. See my modified _install.txt (rename it _install.py) and expected output

root@a0d7b954-esphome:/config/esphome# esphome compile shutter.yaml 
INFO Reading configuration shutter.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif8266 @ 3.2.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-twhpm_ct content:['monitor', 'platform.py', 'README.md', 'examples', '.gitignore', 'LICENSE', 'boards', '.github', 'builder', 'platform.json']
Platform Manager: espressif8266 @ 3.2.0 has been installed!
The platform 'platformio/espressif8266 @ 3.2.0' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Tool Manager: Installing platformio/toolchain-xtensa @ ~2.100300.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-06tizn71 content:['include', 'xtensa-lx106-elf', 'package.json', 'lib', 'libexec', 'share', 'bin']
Tool Manager: toolchain-xtensa @ 2.100300.210717 has been installed!
thoompje commented 2 years ago

Thanks a lot, here is the output!

root@a0d7b954-esphome:/config/esphome# esphome compile shutters.yaml
INFO Reading configuration shutters.yaml...
INFO Generating C++ source...
INFO Compiling app...
*********************************************************************************************************************************************************************************************************************************************
If you like PlatformIO, please:
- follow us on Twitter to stay up-to-date on the latest project news > https://twitter.com/PlatformIO_Org
- star it on GitHub > https://github.com/platformio/platformio
- try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
*********************************************************************************************************************************************************************************************************************************************

Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif8266 @ 3.2.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-q9ffah7b content:['platform.json', '.gitignore', 'LICENSE', 'README.md', 'boards', '.github', 'platform.py', 'builder', 'monitor', 'examples']
Platform Manager: espressif8266 @ 3.2.0 has been installed!
The platform 'platformio/espressif8266 @ 3.2.0' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Tool Manager: Installing platformio/toolchain-xtensa @ ~2.100300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-4g7zbs88 content:['xtensa-lx106-elf', 'libexec', 'include', 'share', 'package.json', 'bin', 'lib']
Tool Manager: toolchain-xtensa @ 2.100300.210717 has been installed!
Tool Manager: Installing platformio/framework-arduinoespressif8266 @ ~3.30002.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-5nfut2x1 content:['cores', 'ISSUE_TEMPLATE.md', 'tests', 'LICENSE', 'platform.txt', 'boards.txt', 'README.md', 'package.json', 'programmers.txt', '.github', 'tools', 'keywords.txt', 'bootloaders', 'POLICY.md', 'variants', 'libraries']
Tool Manager: framework-arduinoespressif8266 @ 3.30002.0 has been installed!
Tool Manager: Installing platformio/tool-esptool @ <2
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-sr41d5eq content:['esptool', 'package.json']
Tool Manager: tool-esptool @ 1.413.0 has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.30000.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-vtcxateo content:['test', 'MANIFEST.in', 'espressif', 'espsecure.py', '.gitignore', 'LICENSE', 'README.md', 'package.json', 'esptool.py', '.github', 'esp_rfc2217_server.py', '.travis.yml', '.gitlab-ci.yml', 'setup.py', 'espefuse.py', 'flasher_stub', 'setup.cfg', 'CONTRIBUTING.md']
Tool Manager: tool-esptoolpy @ 1.30000.201119 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
[DEBUG] /root/.platformio/.cache/tmp/pkg-installing-kem35240 content:['scons-time.py', 'scons-local-4.3.0', 'package.json', 'scons.bat', 'scons-LICENSE', 'scons-4.3.0.bat', 'scons-README', 'sconsign.py', 'scons-configure-cache.py', 'scons.py']
Tool Manager: tool-scons @ 4.40300.1 has been installed!
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Compiling .pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling .pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling .pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pioenvs/shutters/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling .pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o
*** [.pioenvs/shutters/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [.pioenvs/shutters/src/esphome/components/api/api_pb2.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pioenvs/shutters/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
======================================================================================================== [FAILED] Took 55.94 seconds ========================================================================================================
jpcornil-git commented 2 years ago

OK -> package are well dowloaded/expanded in .cache directory Could ou now try this one (list source/destination directory content before/after copy): _install.txt

thoompje commented 2 years ago

Here is the output: log.txt

jpcornil-git commented 2 years ago

As you can see package are well available in /root/.platformio/packages (and compiler shoudl be located in /root/.platformio/packages/toolchain-xtensa/bin) at that step => do you confirm that /root/.platformio/packages is empty or non existent ?

thoompje commented 2 years ago

There are files/folders located now:

root@a0d7b954-esphome:/config/esphome# cd /root/.platformio/packages/
root@a0d7b954-esphome:~/.platformio/packages# ls
framework-arduinoespressif8266  tool-esptoolpy  toolchain-xtensa
tool-esptool                    tool-scons
root@a0d7b954-esphome:~/.platformio/packages#
jpcornil-git commented 2 years ago

Everything is there then/thought it was empty, i.e. /root/.platformio/packages/toolchain-xtensa/bin contains the toolchain, e.g. xtensa-lx106-elf-g++ correct ?

thoompje commented 2 years ago

Yes thats correct

root@a0d7b954-esphome:~/.platformio/packages/toolchain-xtensa/bin# ls
xtensa-lx106-elf-addr2line   xtensa-lx106-elf-gcov-tool
xtensa-lx106-elf-ar          xtensa-lx106-elf-gdb
xtensa-lx106-elf-as          xtensa-lx106-elf-gdb-add-index
xtensa-lx106-elf-c++         xtensa-lx106-elf-gprof
xtensa-lx106-elf-c++filt     xtensa-lx106-elf-ld
xtensa-lx106-elf-cc          xtensa-lx106-elf-ld.bfd
xtensa-lx106-elf-cpp         xtensa-lx106-elf-lto-dump
xtensa-lx106-elf-elfedit     xtensa-lx106-elf-nm
xtensa-lx106-elf-g++         xtensa-lx106-elf-objcopy
xtensa-lx106-elf-gcc         xtensa-lx106-elf-objdump
xtensa-lx106-elf-gcc-10.3.0  xtensa-lx106-elf-ranlib
xtensa-lx106-elf-gcc-ar      xtensa-lx106-elf-readelf
xtensa-lx106-elf-gcc-nm      xtensa-lx106-elf-size
xtensa-lx106-elf-gcc-ranlib  xtensa-lx106-elf-strings
xtensa-lx106-elf-gcov        xtensa-lx106-elf-strip
jpcornil-git commented 2 years ago

OK ... I guess you restarted your RPi without restarting a esphome build first when you answered initial questions -> tools weren't installed yet/thery are not in a persistent partition, i.e. back to square 1 :-)

=> Tools are well installed/present, e.g. you can issue a "/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -v" command, but theyr are not found during build, I'll have a look at possible next step later today

thoompje commented 2 years ago

I restarted the pi indeed, so i'll wait for your answer later today! Thanks a lot man!!

jpcornil-git commented 2 years ago

Could ou add the following line to your /config/esphome/.esphome/build/shutters/platformio.ini file (force core_dir to expected default, cfr. https://docs.platformio.org/en/latest/projectconf/section_platformio.html#core-dir)

; Auto generated code by esphome
[platformio]
core_dir = /root/.platformio
...

and compile again

esphome clean shutter.yaml 

or (invoke platformio directly on project created by esphome)

platformio run -d .esphome/build/shutters
thoompje commented 2 years ago

Thanks a lot again, i did what you said (i think) and get the following "same" result: log.txt

And it looks like when i do the rm -r /root/.platformio/ and rm -r /config/esphome/.esphome/ or esphome clean command on for hand the .ini is replaced again. but also without doing rm -r same result

So sorry for all this hard work man, hopefully we will get somewhere to get it fixed!

jpcornil-git commented 2 years ago

Can you try with the platformio command as well (and modified platformio.ini file) ... just want to make sure .ini is not overwritten in your test somehow.

If it fails as well then your issue is most probably related to platformio rather than esphome ... and I will dig into that one.

thoompje commented 2 years ago

Same result as the compile command:

root@a0d7b954-esphome:/config/esphome# platformio run -d .esphome/build/shutters
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (3.2.0) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 3.30002.0 (3.0.2)
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.100300.210717 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ soft
Found 51 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Building in release mode
Compiling .pio/build/shutters/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling .pio/build/shutters/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling .pio/build/shutters/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pio/build/shutters/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling .pio/build/shutters/src/esphome/components/api/api_pb2_service.cpp.o
*** [.pio/build/shutters/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [.pio/build/shutters/src/esphome/components/api/api_pb2.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [.pio/build/shutters/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
======================================================================================================== [FAILED] Took 2.33 seconds ========================================================================================================
jpcornil-git commented 2 years ago

Last one for today, could you redo but with -v

platformio run -v -d .esphome/build/shutters

and report outut of:

platformio system info
jpcornil-git commented 2 years ago

... and report /config/esphome/.esphome/build/shutters/.pio/build/shutters/compile_commands.json after issuing:

platformio run -t compiledb -d /config/esphome/.esphome/build/shutters
thoompje commented 2 years ago

Here are the results:

System info:

root@a0d7b954-esphome:/config/esphome# platformio system info
--------------------------  ----------------------------------------
PlatformIO Core             5.2.5
Python                      3.9.2-final.0
System Type                 linux_aarch64
Platform                    Linux-5.10.92-v8+-aarch64-with-glibc2.31
File System Encoding        utf-8
Locale Encoding             UTF-8
PlatformIO Core Directory   /root/.platformio
PlatformIO Core Executable  /usr/local/bin/platformio
Python Executable           /usr/bin/python3
Global Libraries            18
Development Platforms       1
Tools & Toolchains          5
--------------------------  ----------------------------------------

*********************************************************************************************************************************************************************************************************************************************
We found 108.42MB of unnecessary PlatformIO system data (temporary files, unnecessary packages, etc.).
Use `pio system prune --dry-run` to list them or `pio system prune` to save disk space.

Compiledb:

root@a0d7b954-esphome:/config/esphome# platformio run -t compiledb -d /config/esphome/.esphome/build/shutters
Processing shutters (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (3.2.0) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 3.30002.0 (3.0.2)
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.100300.210717 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ soft
Found 51 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|-- <ESPAsyncWebServer-esphome> 2.1.0
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
Building in release mode
Building compilation database .pio/build/shutters/compile_commands.json
======================================================================================================== [SUCCESS] Took 3.49 seconds ========================================================================================================

End the run -v: log platformio run -v.txt

jpcornil-git commented 2 years ago

Could you also attach /config/esphome/.esphome/build/shutters/.pio/build/shutters/compile_commands.json ?

thoompje commented 2 years ago

compile_commands.json.txt

jpcornil-git commented 2 years ago

Can you execute command below (first command in the json file) and check if it fails or not ?

cd /config/esphome/.esphome/build/shutters
/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -o .pio/build/shutters/FrameworkArduino/Crypto.cpp.o -c -fno-rtti -std=gnu++17 -fno-exceptions -Wno-nonnull-compare -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50205 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU_ESP12E -DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG -DNEW_OOM_ABORT -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DUSE_ARDUINO -DUSE_ESP8266 -DUSE_ESP8266_FRAMEWORK_ARDUINO -DUSE_STORE_LOG_STR_IN_FLASH -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\\\"PLATFORMIO_NODEMCUV2\\\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include -I/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266 -I/root/.platformio/packages/toolchain-xtensa/include -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include -I/root/.platformio/packages/framework-arduinoespressif8266/variants/nodemcu /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Crypto.cpp
thoompje commented 2 years ago

Output of the command

root@a0d7b954-esphome:/config/esphome/.esphome/build/shutters# /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -o .pio/build/shutters/FrameworkArduino/Crypto.cpp.o -c -fno-rtti -std=gnu++17 -fno-exceptions -Wno-nonnull-compare -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50205 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU_ESP12E -DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG -DNEW_OOM_ABORT -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DUSE_ARDUINO -DUSE_ESP8266 -DUSE_ESP8266_FRAMEWORK_ARDUINO -DUSE_STORE_LOG_STR_IN_FLASH -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\\\"PLATFORMIO_NODEMCUV2\\\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include -I/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266 -I/root/.platformio/packages/toolchain-xtensa/include -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include -I/root/.platformio/packages/framework-arduinoespressif8266/variants/nodemcu /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Crypto.cpp/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++cls
bash: /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: No such file or directory
root@a0d7b954-esphome:/config/esphome/.esphome/build/shutters#
jpcornil-git commented 2 years ago

Did you ran esphome compile or alike before ? (binary should be/was there cfr. https://github.com/esphome/issues/issues/1386#issuecomment-1068914140) Command should also end with "...Crypto.cpp" while I see "...Crypto.cpp/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++cls" in your comment above

thoompje commented 2 years ago

I don't get you... Also with " " the command is not working. And yeah i did the compile before.

jpcornil-git commented 2 years ago

I just said that:

/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -o .pio/build/shutters/FrameworkArduino/Crypto.cpp.o -c -fno-rtti -std=gnu++17 -fno-exceptions -Wno-nonnull-compare -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50205 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU_ESP12E -DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG -DNEW_OOM_ABORT -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DUSE_ARDUINO -DUSE_ESP8266 -DUSE_ESP8266_FRAMEWORK_ARDUINO -DUSE_STORE_LOG_STR_IN_FLASH -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\\\"PLATFORMIO_NODEMCUV2\\\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include -I/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266 -I/root/.platformio/packages/toolchain-xtensa/include -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include -I/root/.platformio/packages/framework-arduinoespressif8266/variants/nodemcu /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Crypto.cpp/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++cls

while it should be (first command listed in compile_commands.json.txt):

/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -o .pio/build/shutters/FrameworkArduino/Crypto.cpp.o -c -fno-rtti -std=gnu++17 -fno-exceptions -Wno-nonnull-compare -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50205 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU_ESP12E -DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG -DNEW_OOM_ABORT -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DUSE_ARDUINO -DUSE_ESP8266 -DUSE_ESP8266_FRAMEWORK_ARDUINO -DUSE_STORE_LOG_STR_IN_FLASH -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\\\"PLATFORMIO_NODEMCUV2\\\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include -I/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266 -I/root/.platformio/packages/toolchain-xtensa/include -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include -I/root/.platformio/packages/framework-arduinoespressif8266/variants/nodemcu /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Crypto.cpp
thoompje commented 2 years ago

I just said that:

  • the command issued has an unexpected suffix (/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++cls appended), you did:

/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -o .pio/build/shutters/FrameworkArduino/Crypto.cpp.o -c -fno-rtti -std=gnu++17 -fno-exceptions -Wno-nonnull-compare -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50205 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU_ESP12E -DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG -DNEW_OOM_ABORT -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DUSE_ARDUINO -DUSE_ESP8266 -DUSE_ESP8266_FRAMEWORK_ARDUINO -DUSE_STORE_LOG_STR_IN_FLASH -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\\\"PLATFORMIO_NODEMCUV2\\\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include -I/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266 -I/root/.platformio/packages/toolchain-xtensa/include -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include -I/root/.platformio/packages/framework-arduinoespressif8266/variants/nodemcu /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Crypto.cpp/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++cls

while it should be (first command listed in compile_commands.json.txt):


/root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++ -o .pio/build/shutters/FrameworkArduino/Crypto.cpp.o -c -fno-rtti -std=gnu++17 -fno-exceptions -Wno-nonnull-compare -Wno-sign-compare -Wno-unused-but-set-variable -Wno-unused-variable -fno-exceptions -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -D_GNU_SOURCE -ffunction-sections -fdata-sections -Wall -Werror=return-type -free -fipa-pta -DPLATFORMIO=50205 -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_NODEMCU_ESP12E -DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_DEBUG -DNEW_OOM_ABORT -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DUSE_ARDUINO -DUSE_ESP8266 -DUSE_ESP8266_FRAMEWORK_ARDUINO -DUSE_STORE_LOG_STR_IN_FLASH -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DARDUINO=10805 -DARDUINO_BOARD=\\\"PLATFORMIO_NODEMCUV2\\\" -DFLASHMODE_DOUT -DLWIP_OPEN_SRC -DNONOSDK22x_190703=1 -DTCP_MSS=1460 -DLWIP_FEATURES=0 -DLWIP_IPV6=0 -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/include -I/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266 -I/root/.platformio/packages/toolchain-xtensa/include -I/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip2/include -I/root/.platformio/packages/framework-arduinoespressif8266/variants/nodemcu /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Crypto.cpp

bash: /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: No such file or directory

It looks like esphome and platformio are doing their jobs, issue seems to be related to invocation of commands from platformio or the comand itself -> want to check the latter first

Really strange behavior indeed, hopefully we will get this working. But we are close to the issue is my feeling now!