-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDF chain+ and deep+ in atmelavr platform include spurious Robot Control library #1930
Comments
It looks like a similar or related bug was reported and fixed back in 2016: https://community.platformio.org/t/v3-framework-arduinoteensy-minimal-project-fails-to-build/548 |
Thanks for the report! Please re-test with the latest development version via
|
After updating with
If you'd like additional testing/investigation, let me know. Thanks! |
Please run |
Running into a different error with the same minimal case now. Here's a gist of the output, with the error case (deep+) as the second file and the succeeding case (deep) as the first.. Same build inputs as in the original report, i.e. just Here it's compiling something that it should ( Thanks again for the continuing support! |
Wow! It's a very interesting bug in @SCons. We have fixed in platformio/scons@04bf778 Please re-run |
Fix confirmed. |
* develop: (31 commits) Document "erase" target Docs: Grammar fixes Bump version to 3.6.2b5 Improved IntelliSense for PlatformIO IDE for VSCode via passing extra compiler information for C/C++ Code Parser Bump version to 3.6.2b4 LDF: Stop handling "define" and "undef" when condition fails; handle CPP files in "chain+" and "deep+" modes // Resolve #1930 Bump version to 3.6.2b3 Handle CWD when searching for a file // Resolve #1930 Document in `library.json` how to pass flags to a global build environment Bump version to 3.6.2b2 Fix an issue when Library Dependency Finder (LDF) finds spurious dependencies in ``chain+`` and ``deep+`` modes // Resolve #1930 Fix an issue when Library Dependency Finder (LDF) does not handle project `src_filter ` // Resolve #1905 Bump version to 3.6.2b1 Prepend CPPATH of library dependencies instead of appending // Resolve #1914 Bump version to 3.6.2a3 Go over 8010-8100 TCP ports when shutting down PIO Home server Docs: Add support for OLIMEX ESP32-PRO Rename "System" to "Hardware" for board spec Add info about "EN" pin for ESP32 and debug probes Fix pinouts for oddWires IOT-Bus JTAG ... # Conflicts: # platformio/__init__.py # platformio/managers/core.py
What kind of issue is this?
Question.
This issue tracker is not the place for questions. If you want to ask how to do something,
or to understand why something isn't working the way you expect it to,
use Community Forums or Premium Support
PlatformIO IDE.
All issues related to PlatformIO IDE should be reported to appropriate repository:
PlatformIO IDE for Atom or
PlatformIO IDE for VSCode
Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware
https://github.com/topics/platformio-platform
Feature Request.
Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system:
Windows 10
PlatformIO Version (
platformio --version
):3.6.2a2, through VSCode plugin
Description of problem
A minimal test case is linked below.
Steps to Reproduce
lib_ldf_mode = chain+
orlib_ldf_mode = deep+
toplatformio.ini
.#include <SD.h>
to main.cppActual Results
LDF erroneously determines that
SD
library depends onRobot Control
library. Build fails becauseRobot Control
cannot be built.Full output, with modified project files
Relevant portion of output:
and
leading to build failure.
Expected Results
Build succeeds; LDF determines that library
SD
depends on librarySPI
, not onRobot Control
.Changing to
chain
ordeep
LDF mode results in successful build, so this seems related to the CPP functionality implied by+
.If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
The text was updated successfully, but these errors were encountered: