Open-CMSIS-Pack / cpackget

Open-CMSIS-Pack Package Installer
Apache License 2.0
23 stars 14 forks source link

Error when trying to install NXP::EVK-MIMXRT1064_BSP@14.0.0 with cpackget 2.1.1 #282

Closed mguzmanm closed 6 months ago

mguzmanm commented 6 months ago

Describe the bug

Installation of pack NXP::EVK-MIMXRT1064_BSP@14.0.0 was locally tested in Windows and Linux with CMSIS-Toolbox 2.3.0 which includes cpackget Package Installer 2.1.1 and with CMSIS-Toolbox 2.2.1 wich includes cpackget Package Installer 2.0.0

./cpackget.exe add NXP::EVK-MIMXRT1064_BSP@14.0.0

Results showed that the pack can be installed with cpackget 2.0.0. However, the same pack can not be installed with cpackget 2.1.1

To Reproduce Steps to reproduce the behavior:

  1. Remove or rename the packs "EVK-MIMXRT1064_BSP" and "MIMXRT1064_DFP" from packs folder e.g.: C:\Users\youruser\AppData\Local\Arm\Packs\NXP
  2. Run cpackget 2.1.1 with the following args: ./cpackget.exe add NXP::EVK-MIMXRT1064_BSP@14.0.0
  3. See error:

I: Extracting files to C:\Users\youuser\AppData\Local\Arm\Packs\NXP\EVK-MIMXRT1064_BSP\14.0.0... I: Package requirements not satisfied - installing NXP::MIMXRT1064_DFP@>=14.0.0 W: Could not resolve version modifier I: Downloading NXP.MIMXRT1064_DFP.18.0.0.pack...

I: Adding pack NXP.MIMXRT1064_DFP. E: The latest release (18.0.0) in pack's pdsc (NXP.MIMXRT1064_DFP.pdsc) does not match pack version "" E: pack version is not the latest in the pdsc file

Expected behavior Pack NXP::EVK-MIMXRT1064_BSP@14.0.0 should be succesfully installed as it does with cpackget 2.0.0

Environment (please complete the following information):

edriouk commented 6 months ago

duplicate of https://github.com/Open-CMSIS-Pack/cpackget/issues/283