Skip to content

Installation of "adafruit:samd" blocked by dependency on bossa(c) 1.8 (not available for the current OS) #95

@jakimfett

Description

@jakimfett

Found a defect in the package definition while attempting installation of the "adafruit:samd" core:
Error during install: tool arduino:[email protected] not available for the current OS

  • Arduino board: Adafruit Feather M0 (RFM96 LoRa Radio)

  • Arduino IDE version: n/a (using arduino-cli at v0.18.1)

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too):

  1. Start with a clean NixOS v21.11 install atop the Raspberry Pi 4B (4GB version) (or equivalent aarch64 system architecture).
  2. Execute nix-shell -p arduino-cli, then arduino-cli config init
  3. Add the applicable URL to the 'additional_urls' section of the 'board_manager' section in your newly created ~/.arduino15/arduino-cli.yaml file:
    https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
  4. Execute arduino-cli core update-index (possibly unnecessary step)

(At this point, the test environment is ready to reproduce the defect, this next step is what failed on my system.)

  1. Finally, run the command to install the necessary core for the Feather M0:
    arduino-cli core install adafruit:samd
[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

What this message did not tell me is how to resolve the problem myself. It did however inform me of the existence of a 1.7 version of the bossac library, which was correlated by my bug report / query with the Arduino repositories. That conversation led me here.

Huge thanks to @per1234 for confirming some root causes and identifying several paths forward in their exceptionally informational response to my initial attempt at reporting this defect.


As I said on the Arduino side, I'm more than happy to contribute to the solution on this...the observation that there's confusion for other users regarding who to talk to about this sort of issue (and even where to resolve it) are ongoing conversations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions