eclipse-zenoh / zenoh-pico

Eclipse zenoh for pico devices
Other
107 stars 67 forks source link

[Bug] Failed to build when installing Zenoh-Pico from PlatformIO registry #152

Open cguimaraes opened 1 year ago

cguimaraes commented 1 year ago

Describe the bug

When installing Zenoh-Pico from PlatformIO registry, it fails to build because it cannot find Zenoh-Pico package. It happens (at least) in both Ubuntu and MacOS.

Library Manager: Installing cguimaraes/zenoh-pico @ ^0.7.0-rc
Error: Could not find the package with 'cguimaraes/zenoh-pico @ ^0.7.0-rc' requirements for your system 'linux_x86_64'
Library Manager: Installing cguimaraes/zenoh-pico @ ^0.7.0-rc
Error: Could not find the package with 'cguimaraes/zenoh-pico @ ^0.7.0-rc' requirements for your system 'darwin_arm64'

To reproduce

  1. pio init -b
  2. pio lib install cguimaraes/zenoh-pico
  3. pio run

System info

cguimaraes commented 1 year ago

It seems that if no version is defined in platformio.ini, it works.

Working:

[env:esp32thing_plus]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
lib_deps = cguimaraes/zenoh-pico

Non-working:

[env:esp32thing_plus]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
lib_deps = cguimaraes/zenoh-pico@^0.7.0-rc
cguimaraes commented 1 year ago

Since this seems to be related to PlatformIO build system, an issue was created in its repositories. Follow its status here: https://github.com/platformio/platformio-core/issues/4536