Not planned
Description
Describe the problem
Can't install chipkit url https://github.com/chipKIT32/chipKIT-core/raw/master/package_chipkit_index.json
Got error 13
Failed to install platform: chipKIT:pic32.
Error: 13 INTERNAL: Cannot install tool chipKIT:pic32-tools@1.43-pic32gcc: searching package root dir: no unique root dir in archive, found 'C:\Users........................
To reproduce
Downloading packages
chipKIT:pic32-tools@1.43-pic32gcc
chipKIT:pic32prog@v2.1.46
chipKIT:drivers-windows@v2
chipKIT:pic32@2.1.0
Installing chipKIT:pic32-tools@1.43-pic32gcc
Expected behavior
success
Arduino IDE version
2.0.4
Operating system
Windows
Operating system version
win 11
Additional context
No response
Issue checklist
- I searched for previous reports inI verified the problem still occurs when using the latestMy report contains all necessary details
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
per1234 commentedon Mar 29, 2023
The problem is the platform's
chipKIT:pic32-tools@1.43-pic32gcc
tool dependency archive does not have a root folder:Compare that to the structure of the
arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7
archive:This less permissive behavior of Arduino CLI (and thus Arduino IDE 2.x) compared to Arduino IDE 1.x was previously reported at #325. The developers decided that Arduino CLI's current strict enforcement of the correct archive structure will not be relaxed.
So this is a bug in the "chipKIT" boards platform. You should report it to the maintainers of the platform:
https://github.com/chipKIT32/chipKIT-core/issues
Workaround
As a workaround, you can use Arduino IDE 1.x to install the platform. After that, Arduino IDE 2.x will recognize the existing installation just fine so you don't need to continue to use Arduino IDE 1.x if you don't like.
The download links for Arduino IDE 1.x are listed here:
https://www.arduino.cc/en/software#legacy-ide-18x
Instructions for using the Arduino IDE 1.x Boards Manager are here:
https://docs.arduino.cc/learn/starting-guide/cores#how-to-install-a-third-party-core
If you have any questions, feel free to post on Arduino Forum:
https://forum.arduino.cc/
__MACOSX
folder in tool archive causescore install
to fail: "Cannot install platform: searching package root dir: no unique root dir in archive
#1790[-]chipkit url[/-][+]Installation of `chipKIT:pic32` platform fails: "`no unique root dir in archive`"[/+]hemachayart commentedon Mar 29, 2023
thanks will do