Platformio-core: Package manager tries to install built-in library from the registry

Created on 5 Sep 2020  路  8Comments  路  Source: platformio/platformio-core

PIO Core Call Error: "Library Storage: /home/wim/Documents/PlatformIO/Projects/Sep5WeMosD1r1/.pio/libdeps/d1_mini\nLibrary Manager: Installing ottowinter/ESPAsyncWebServer-esphome @ ^1.2.7\nDownloading\nDownloading\nUnpacking\nUnpacking\nLibrary Manager: ESPAsyncWebServer-esphome @ 1.2.7 has been installed!\nLibrary Manager: Installing dependencies...\nLibrary Manager: Installing ESPAsyncTCP-esphome\nDownloading\nDownloading\nUnpacking\nUnpacking\nLibrary Manager: ESPAsyncTCP-esphome @ 1.2.3 has been installed!\nLibrary Manager: Installing AsyncTCP-esphome\nDownloading\nDownloading\nUnpacking\nUnpacking\nLibrary Manager: AsyncTCP-esphome @ 1.1.1 has been installed!\nLibrary Manager: Installing Hash\n\n\nError: Could not find the package with 'Hash' requirements for your system 'linux_x86_64'"

bug package management

All 8 comments

Is this really fixed? Building with gh-workflows still throws the same error with PIO 5.0.2. Just tried again a few days ago.
See: https://github.com/luebbe/homie-node-collection/runs/1353074911?check_suite_focus=true

@luebbe I can't reproduce it with your project

Screen Shot 2020-11-06 at 16 07 00

How to reproduce this issue?

@ivankravets It builds fine locally. I wanted to direct your attention to the output of the git action of this project. Maybe I made a mistake there, but exactly this error still shows up. I thought the link above would place you in the failed build step.

In the "install PIO" step it says:

Collecting platformio
  Downloading platformio-5.0.2.tar.gz (212 kB)

In the "install library" step it says:

Unpacking...
Library Manager: ESP Async WebServer @ 1.2.3 has been installed!
Library Manager: Installing dependencies...
Library Manager: ESPAsyncTCP @ 1.2.0 is already installed
Library Manager: AsyncTCP @ 1.1.1 is already installed
Library Manager: Installing Hash
Error: Could not find the package with 'Hash' requirements for your system 'linux_x86_64'
Error: Process completed with exit code 1.

The same is true for homie itself. The last build on circleci failed with this error too:
https://app.circleci.com/pipelines/github/homieiot/homie-esp8266/33/workflows/8e1c3268-98da-4701-81db-4b86264691d5/jobs/1440

It seems I know where the issue is hidden. Could you try to manually install the dev-platform with the Arduino framework?

pio platform install espressif8266 --with-all-packages

I also had this problem and --with-all-packages seems to solve the problem (see https://travis-ci.org/github/euphi/ESP_Homie_WS2812FX/builds/742575326 - still red, but due to binary size issues.)

Obviously the error only occurs if this is a fresh install. Using a cache (for example in https://travis-ci.org/github/euphi/Homie_BareMinimum) avoids the issue for now.

I guess more problems with built-in libraries will occur with the next update of espressif8266 platform.

It looks like a bug. We will fix it. Sorry.

Thank you @euphi. I received the notification from @ivankravets yesterday, but forgot to check. Sorry.

Thanks for the report! PlatformIO Core 5.0.3 is going to be released today.

Was this page helpful?
0 / 5 - 0 ratings