Package Details: cmsis-svd-git 0.4-1

Git Clone URL: https://aur.archlinux.org/cmsis-svd-git.git (read-only, click to copy)
Package Base: cmsis-svd-git
Description: Aggegration of ARM Cortex-M CMSIS SVDs and related tools
Upstream URL: https://github.com/posborne/cmsis-svd
Licenses: custom
Submitter: kivkiv
Maintainer: kivkiv
Last Packager: kivkiv
Votes: 1
Popularity: 0.000052
First Submitted: 2016-10-29 20:15 (UTC)
Last Updated: 2016-10-29 20:15 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

zkrx commented on 2024-01-23 13:52 (UTC) (edited on 2024-01-23 13:56 (UTC) by zkrx)

Hello, upstream recently removed the data folder from the cmsis-svd git repository and moved it into its own cmsis-svd-data repository. I'm not sure, but it doesn't seem that they're using git submodules for that.

This package is now broken. The data/ folder needs to be manually retrieved from the cmsis-svd-data repository. Probably something like (taken from upstream cmsis-svd/.github/workflows/test.yml file): git clone --depth=1 -b main https://github.com/cmsis-svd/cmsis-svd-data.git

Please see this (merged) upstream pull request: https://github.com/cmsis-svd/cmsis-svd/pull/182

Concretely, I've been using the following handy gist that allows using svd declarations from gdb: https://gist.github.com/devanlai/644910b712361e7317ec2305884aea8d

which now breaks with:

Traceback (most recent call last):                                     
  File "/home/user/svd-dump.py", line 263, in <module>                                                                                         
    SVDSelector()                                                      
  File "/home/user/svd-dump.py", line 67, in __init__                                                                                          
    vendor_names = pkg_resources.resource_listdir("cmsis_svd", "data")                                                                        
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                        
  File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1231, in resource_listdir
    return get_provider(package_or_requirement).resource_listdir(resource_name)                                                               
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                               
  File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1538, in resource_listdir
    return self._listdir(self._fn(self.module_path, resource_name))                                                                           
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                           
  File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1721, in _listdir                                                  
    return os.listdir(path)                                            
           ^^^^^^^^^^^^^^^^                                            
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.11/site-packages/cmsis_svd/data'

swiftgeek commented on 2022-12-23 06:11 (UTC)

Can you add pkgver() like one in ArchWiki's VCS_package_guidelines page since this package tracks master branch?