Description
Summary
On fbuild 2.5.51 a lib_deps GitHub URL with a #ref does not install: fbuild downloads main.zip from a URL that still includes the ref, and fails on the HTML page GitHub answers with. The same happened on 2.5.37.
Reproduce
fbuild 2.5.51+git.9b26affea5ad, Windows 11, 2026-11-14. A blink src/main.cpp and:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps = https://github.com/schreibfaul1/ESP32-audioI2S.git#3.0.12$ fbuild install <project> -e esp32dev
failed library schreibfaul1/ESP32-audioI2S.git#3.0.12 - - 0ms https://github.com/schreibfaul1/ESP32-audioI2S.git#3.0.12 -
error: package error: failed to open zip <project>\.fbuild\build\esp32dev\release\libs\esp32-audioi2s.git#3.0.12\_download\main.zip: invalid Zip archive: Could not find EOCD
Expected
The archive of tag 3.0.12, as PlatformIO resolves the same line.
Also noticed: an unused lib_deps library is still built
[env:uno]
platform = atmelavr
board = uno
framework = arduino
lib_deps = fastled/FastLEDWith a blink that includes only Arduino.h, the build leaves libs/fastled/libfastled.a under the build directory, and on a cold cache it compiled FastLED's sources first (2026-11-12). The image is unaffected (924 bytes), so the cost is build time. Libraries under lib/ are selected by the include walk since 2.5.28; lib_deps libraries are not.
Impact
Design Studio for FastLED pins ESP32-audioI2S by tag, so it vendors the library into lib/ instead of naming it in lib_deps.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTriage
Activity