Skip to content

lib_deps naming a framework-bundled library (FS, ArduinoOTA, ESPmDNS) fails: 'not found in registry' #1442

Description

@zackees

Symptom

fbuild 2.5.23 fails when lib_deps names a library that ships inside the Arduino framework:

build error: package error: library 'FS' not found in registry

The project is FastLED's ci/kitchensink, with lib_deps including FS, ArduinoOTA and ESPmDNS on esp32-s3 (pioarduino 51.03.04). PlatformIO accepts this: framework-bundled libraries named in lib_deps resolve to the framework's own libraries/ directory. It broke FastLED's esp_extra_libs CI job when that job moved from PlatformIO to fbuild.

Workaround in use

Drop the built-ins from lib_deps and let the LDF find them from the sketch's #includes. That resolves FS, ArduinoOTA and ESPmDNS correctly.

Expected

Before going to the registry, look up a bare lib_deps name in the framework's bundled libraries, as PlatformIO does. At minimum, the error should say the name is a framework library that should not be listed.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions