Skip to content

Could not install adafruit:samd, no path to remediation articulated in message? #1626

Closed
@jakimfett

Description

@jakimfett
[shell:~/dev/feather]$ grep https /home/user/.arduino15/arduino-cli.yaml 
      https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

[shell:~/dev/feather]$ arduino-cli core search samd
Updating index: package_index.json downloaded                                                                                                                                                               
Updating index: package_index.json.sig downloaded                                                                                                                                                           
Updating index: package_adafruit_index.json downloaded                                                                                                                                                      
ID               Version Name                                            
Arrow:samd       2.1.0   Arrow Boards                                    
adafruit:samd    1.7.6   Adafruit SAMD Boards                            
arduino:samd     1.8.12  Arduino SAMD Boards (32-bits ARM Cortex-M0+)    
industruino:samd 1.0.1   Industruino SAMD Boards (32-bits ARM Cortex-M0+)


[shell:~/dev/feather]$ arduino-cli core install adafruit:samd
Downloading packages...
adafruit:arm-none-eabi-gcc@9-2019q4 already downloaded
arduino:[email protected] already downloaded
Error during install: tool arduino:[email protected] not available for the current OS

[shell:~/dev/feather]$ 

Bug Report

Current behavior

[shell:~/dev/feather]$ arduino-cli core install adafruit:samd
Downloading packages...
adafruit:arm-none-eabi-gcc@9-2019q4 already downloaded
arduino:[email protected] already downloaded
Error during install: tool arduino:[email protected] not available for the current OS

When attempting to install a new core, the install process fails with an unavailable dependency error.

Expected behavior

When attempting to install a new core, and the install process fails on a dependency, contextual information regarding how to take steps towards remediating the failure (Eg, who to contact regarding the dependency, how to compile said dependency, or even a link to where dependencies (and updates to them) get defined...something actionable).

Are dependencies like bossa(c) an arduino issue, even? Would I be better off taking this up with Adafruit?

Even just printing the program version, OS, and dependency link would be useful...because I have no idea how arduino-cli sees my homelab OS, but if it printed that I could a least search "update bossac for <OS_NAME>" and find something.

Environment

  • CLI version (output of arduino-cli version):

  • arduino-cli alpha Version: 0.18.1

  • OS and platform:

  • NixOS 21.11 (modified)

  • raspberry pi 4B (4gb)

Additional context

I'm more than willing to jump through the necessary hoops to get this working.

There's just not a lot of info to go on, and my attempts to discern the proper way from the docs have...not produced results.

Metadata

Metadata

Labels

topic: codeRelated to content of the project itselftype: enhancementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions