Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

data directory configuration option does not work with relative path #2019

Open
Assignees
Labels
type: imperfectionPerceived defect in any part of project
@aarobc

Description

Describe the problem

When setting the directories.data option in the arduino-cli.yaml with a relative path, The dependency is downloaded correctly, but an error "no such file or directory" is given upon build.

To reproduce

create a new project with a dependency, and an arduino-cli.yaml in the root with the following contents:

 directories: 
 data: ./data 
 downloads: ./staging 

An example repo is available here: https://github.com/aarobc/arduino-cli-error-example
clone down the repo and run:

arduino-cli compile --profile uno

The build fails, and following error will be given:

Error during build: stat data/internal/Encoder_1.4.2_496972fffc26d938/Encoder/data/internal/Encoder_1.4.2_496972fffc26d938/Encoder/Encoder.cpp: no such file or directory

Expected behavior

No error to be given, and build to be successful.

Arduino CLI version

nightly-20221229 Commit: 357d465 Date: 2022年12月29日T01:33:09Z

Operating system

Linux

Operating system version

Arch rolling (6.1.1-arch1-1)

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /