Skip to content

*** ERROR M313 #14

@Mula-Gabriel

Description

@Mula-Gabriel

Hello, i always get this error when i try to generate.
`*** ERROR M313: /home/gabriel/Repository/cmsis-packs/levelx/build/Microsoft.AzureRTOS-LevelX.pdsc (Line 22)
Associated File/Path is outside PACK root: '../README.md'

i am on ubuntu 22.04
uname --all Linux Gabriel-ubutun 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
To reproduce, juste follow the readme ...

git clone --recursive https://github.com/azure-rtos/cmsis-packs.git Clonage dans 'cmsis-packs'... (...)

gabriel@Gabriel-ubutun:~/Repository$ sudo apt-get update (...) Lecture des listes de paquets... Fait

gabriel@Gabriel-ubutun:~/Repository$ sudo apt-get install p7zip-full curl libxml2-utils unzip (...)
gabriel@Gabriel-ubutun:~/Repository$ mkdir -p $HOME/Arm/Packs/ARM/CMSIS/5.9.0
gabriel@Gabriel-ubutun:~/Repository$ wget https://github.com/ARM-software/CMSIS_5/releases/download/5.9.0/ARM.CMSIS.5.9.0.pack (...)
gabriel@Gabriel-ubutun:~/Repository$ unzip -q ARM.CMSIS.5.9.0.pack -d $HOME/Arm/Packs/ARM/CMSIS/5.9.0
gabriel@Gabriel-ubutun:~/Repository$ rm ARM.CMSIS.5.9.0.pack
gabriel@Gabriel-ubutun:~/Repository$ export CMSIS_PACK_ROOT=$HOME/Arm/Packs
gabriel@Gabriel-ubutun:~/Repository$ export PATH=$PATH:$HOME/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Utilities/Linux64
gabriel@Gabriel-ubutun:~/Repository$ cd cmsis-packs/

gabriel@Gabriel-ubutun:~/Repository/cmsis-packs$ python3 ./scripts/generate.py


Generate cmsis-packs for Azure RTOS system components: threadx, netxduo, usbx, filex, guix, levelx


current working directory: /home/gabriel/Repository/cmsis-packs
root folder: /home/gabriel/Repository/cmsis-packs
data folder: /home/gabriel/Repository/cmsis-packs/data
scripts folder: /home/gabriel/Repository/cmsis-packs/scripts


process_azrtos_system_component: threadx
Copy data/threadx to /home/gabriel/Repository/cmsis-packs/threadx
Call ./gen_pack.sh to generate cmsis_pack
Loading gen-pack library 0.6.0 ...
Starting CMSIS-Pack Generation: sam. 03 févr. 2024 11:55:45 CET
in /home/gabriel/Repository/cmsis-packs/threadx

CMSIS-Pack root is /home/gabriel/Arm/Packs
Zip is /usr/bin/7z
PackChk is /home/gabriel/.mcuxpressotools/cmsis-toolbox-linux-amd64/bin/packchk
XML-Lint is /usr/bin/xmllint
sha1sum is /usr/bin/sha1sum
Curl is /usr/bin/curl

PDSC is /home/gabriel/Repository/cmsis-packs/threadx/Microsoft.AzureRTOS-ThreadX.pdsc

Generating Pack for Microsoft.AzureRTOS-ThreadX
via /home/gabriel/Repository/cmsis-packs/threadx/build
to /home/gabriel/Repository/cmsis-packs/threadx/cmsis_pack/output

Adding directories to pack:
./common ./ports ./utility ./examples

PACK_BASE_FILES is empty, no additional files to be copied.
PACK_DELETE_FILES is empty, no files to be removed.
PACK_PATCH_FILES is empty, no patches to be applied.
Running schema check for /home/gabriel/Repository/cmsis-packs/threadx/build/Microsoft.AzureRTOS-ThreadX.pdsc
Fetching schema file...
/home/gabriel/Repository/cmsis-packs/threadx/build/Microsoft.AzureRTOS-ThreadX.pdsc validates

CMSIS Pack Checker 1.4.1 (C) 2012-2023 Arm Ltd. and Contributors

Xerxes schema check: Found 0 Error(s).

Xerxes schema check: Found 0 Error(s).

Phase1: Read PDSC files

Phase2: Static Data & Dependencies check

*** ERROR M313: /home/gabriel/Repository/cmsis-packs/threadx/build/Microsoft.AzureRTOS-ThreadX.pdsc (Line 363)
Associated File/Path is outside PACK root: '../README.md'

*** WARNING M324: /home/gabriel/Repository/cmsis-packs/threadx/build/Microsoft.AzureRTOS-ThreadX.pdsc (Line 1552)
Board referenced in Example 'AzureRTOS ThreadX Example' not found: '[iar] EWARM Simulator'

*** WARNING M324: /home/gabriel/Repository/cmsis-packs/threadx/build/Microsoft.AzureRTOS-ThreadX.pdsc (Line 1563)
Board referenced in Example 'AzureRTOS ThreadX Trustzone Example' not found: '[Keil] uVision Simulator'

Phase3: RTE Model based Data & Dependencies check

Found 1 Error(s) and 2 Warning(s).
build aborted: pack check failed


process_azrtos_system_component: netxduo
Copy data/netxduo to /home/gabriel/Repository/cmsis-packs/netxduo
Call ./gen_pack.sh to generate cmsis_pack
Loading gen-pack library 0.6.0 ...
Starting CMSIS-Pack Generation: sam. 03 févr. 2024 11:55:48 CET
in /home/gabriel/Repository/cmsis-packs/netxduo

CMSIS-Pack root is /home/gabriel/Arm/Packs
Zip is /usr/bin/7z
PackChk is /home/gabriel/.mcuxpressotools/cmsis-toolbox-linux-amd64/bin/packchk
XML-Lint is /usr/bin/xmllint
sha1sum is /usr/bin/sha1sum
Curl is /usr/bin/curl

PDSC is /home/gabriel/Repository/cmsis-packs/netxduo/Microsoft.AzureRTOS-NetXDuo.pdsc

Generating Pack for Microsoft.AzureRTOS-NetXDuo
via /home/gabriel/Repository/cmsis-packs/netxduo/build
to /home/gabriel/Repository/cmsis-packs/netxduo/cmsis_pack/output

Adding directories to pack:
./common ./addons ./nx_secure ./crypto_libraries ./ports ./utility

PACK_BASE_FILES is empty, no additional files to be copied.
PACK_DELETE_FILES is empty, no files to be removed.
PACK_PATCH_FILES is empty, no patches to be applied.
Running schema check for /home/gabriel/Repository/cmsis-packs/netxduo/build/Microsoft.AzureRTOS-NetXDuo.pdsc
Fetching schema file...
/home/gabriel/Repository/cmsis-packs/netxduo/build/Microsoft.AzureRTOS-NetXDuo.pdsc validates

CMSIS Pack Checker 1.4.1 (C) 2012-2023 Arm Ltd. and Contributors

Xerxes schema check: Found 0 Error(s).

Xerxes schema check: Found 0 Error(s).

Phase1: Read PDSC files

Phase2: Static Data & Dependencies check

*** ERROR M313: /home/gabriel/Repository/cmsis-packs/netxduo/build/Microsoft.AzureRTOS-NetXDuo.pdsc (Line 375)
Associated File/Path is outside PACK root: '../README.md'

Phase3: RTE Model based Data & Dependencies check

Found 1 Error(s) and 0 Warning(s).
build aborted: pack check failed


process_azrtos_system_component: usbx
Copy data/usbx to /home/gabriel/Repository/cmsis-packs/usbx
Call ./gen_pack.sh to generate cmsis_pack
Loading gen-pack library 0.6.0 ...
Starting CMSIS-Pack Generation: sam. 03 févr. 2024 11:55:48 CET
in /home/gabriel/Repository/cmsis-packs/usbx

CMSIS-Pack root is /home/gabriel/Arm/Packs
Zip is /usr/bin/7z
PackChk is /home/gabriel/.mcuxpressotools/cmsis-toolbox-linux-amd64/bin/packchk
XML-Lint is /usr/bin/xmllint
sha1sum is /usr/bin/sha1sum
Curl is /usr/bin/curl

PDSC is /home/gabriel/Repository/cmsis-packs/usbx/Microsoft.AzureRTOS-USBX.pdsc

Generating Pack for Microsoft.AzureRTOS-USBX
via /home/gabriel/Repository/cmsis-packs/usbx/build
to /home/gabriel/Repository/cmsis-packs/usbx/cmsis_pack/output

Adding directories to pack:
./common ./ports

PACK_BASE_FILES is empty, no additional files to be copied.
PACK_DELETE_FILES is empty, no files to be removed.
PACK_PATCH_FILES is empty, no patches to be applied.
Running schema check for /home/gabriel/Repository/cmsis-packs/usbx/build/Microsoft.AzureRTOS-USBX.pdsc
Fetching schema file...
/home/gabriel/Repository/cmsis-packs/usbx/build/Microsoft.AzureRTOS-USBX.pdsc validates

CMSIS Pack Checker 1.4.1 (C) 2012-2023 Arm Ltd. and Contributors

Xerxes schema check: Found 0 Error(s).

Xerxes schema check: Found 0 Error(s).

Phase1: Read PDSC files

Phase2: Static Data & Dependencies check

*** ERROR M313: /home/gabriel/Repository/cmsis-packs/usbx/build/Microsoft.AzureRTOS-USBX.pdsc (Line 132)
Associated File/Path is outside PACK root: '../README.md'

Phase3: RTE Model based Data & Dependencies check

Found 1 Error(s) and 0 Warning(s).
build aborted: pack check failed


process_azrtos_system_component: filex
Copy data/filex to /home/gabriel/Repository/cmsis-packs/filex
Call ./gen_pack.sh to generate cmsis_pack
Loading gen-pack library 0.6.0 ...
Starting CMSIS-Pack Generation: sam. 03 févr. 2024 11:55:49 CET
in /home/gabriel/Repository/cmsis-packs/filex

CMSIS-Pack root is /home/gabriel/Arm/Packs
Zip is /usr/bin/7z
PackChk is /home/gabriel/.mcuxpressotools/cmsis-toolbox-linux-amd64/bin/packchk
XML-Lint is /usr/bin/xmllint
sha1sum is /usr/bin/sha1sum
Curl is /usr/bin/curl

PDSC is /home/gabriel/Repository/cmsis-packs/filex/Microsoft.AzureRTOS-FileX.pdsc

Generating Pack for Microsoft.AzureRTOS-FileX
via /home/gabriel/Repository/cmsis-packs/filex/build
to /home/gabriel/Repository/cmsis-packs/filex/cmsis_pack/output

Adding directories to pack:
./common ./ports

PACK_BASE_FILES is empty, no additional files to be copied.
PACK_DELETE_FILES is empty, no files to be removed.
PACK_PATCH_FILES is empty, no patches to be applied.
Running schema check for /home/gabriel/Repository/cmsis-packs/filex/build/Microsoft.AzureRTOS-FileX.pdsc
Fetching schema file...
/home/gabriel/Repository/cmsis-packs/filex/build/Microsoft.AzureRTOS-FileX.pdsc validates

CMSIS Pack Checker 1.4.1 (C) 2012-2023 Arm Ltd. and Contributors

Xerxes schema check: Found 0 Error(s).

Xerxes schema check: Found 0 Error(s).

Phase1: Read PDSC files

Phase2: Static Data & Dependencies check

*** ERROR M313: /home/gabriel/Repository/cmsis-packs/filex/build/Microsoft.AzureRTOS-FileX.pdsc (Line 45)
Associated File/Path is outside PACK root: '../README.md'

Phase3: RTE Model based Data & Dependencies check

Found 1 Error(s) and 0 Warning(s).
build aborted: pack check failed


process_azrtos_system_component: guix
Copy data/guix to /home/gabriel/Repository/cmsis-packs/guix
Call ./gen_pack.sh to generate cmsis_pack
Loading gen-pack library 0.6.0 ...
Starting CMSIS-Pack Generation: sam. 03 févr. 2024 11:55:49 CET
in /home/gabriel/Repository/cmsis-packs/guix

CMSIS-Pack root is /home/gabriel/Arm/Packs
Zip is /usr/bin/7z
PackChk is /home/gabriel/.mcuxpressotools/cmsis-toolbox-linux-amd64/bin/packchk
XML-Lint is /usr/bin/xmllint
sha1sum is /usr/bin/sha1sum
Curl is /usr/bin/curl

PDSC is /home/gabriel/Repository/cmsis-packs/guix/Microsoft.AzureRTOS-GUIX.pdsc

Generating Pack for Microsoft.AzureRTOS-GUIX
via /home/gabriel/Repository/cmsis-packs/guix/build
to /home/gabriel/Repository/cmsis-packs/guix/cmsis_pack/output

Adding directories to pack:
./common ./ports

PACK_BASE_FILES is empty, no additional files to be copied.
PACK_DELETE_FILES is empty, no files to be removed.
PACK_PATCH_FILES is empty, no patches to be applied.
Running schema check for /home/gabriel/Repository/cmsis-packs/guix/build/Microsoft.AzureRTOS-GUIX.pdsc
Fetching schema file...
/home/gabriel/Repository/cmsis-packs/guix/build/Microsoft.AzureRTOS-GUIX.pdsc validates

CMSIS Pack Checker 1.4.1 (C) 2012-2023 Arm Ltd. and Contributors

Xerxes schema check: Found 0 Error(s).

Xerxes schema check: Found 0 Error(s).

Phase1: Read PDSC files

Phase2: Static Data & Dependencies check

*** ERROR M313: /home/gabriel/Repository/cmsis-packs/guix/build/Microsoft.AzureRTOS-GUIX.pdsc (Line 197)
Associated File/Path is outside PACK root: '../README.md'

Phase3: RTE Model based Data & Dependencies check

Found 1 Error(s) and 0 Warning(s).
build aborted: pack check failed


process_azrtos_system_component: levelx
Copy data/levelx to /home/gabriel/Repository/cmsis-packs/levelx
Call ./gen_pack.sh to generate cmsis_pack
Loading gen-pack library 0.6.0 ...
Starting CMSIS-Pack Generation: sam. 03 févr. 2024 11:55:50 CET
in /home/gabriel/Repository/cmsis-packs/levelx

CMSIS-Pack root is /home/gabriel/Arm/Packs
Zip is /usr/bin/7z
PackChk is /home/gabriel/.mcuxpressotools/cmsis-toolbox-linux-amd64/bin/packchk
XML-Lint is /usr/bin/xmllint
sha1sum is /usr/bin/sha1sum
Curl is /usr/bin/curl

PDSC is /home/gabriel/Repository/cmsis-packs/levelx/Microsoft.AzureRTOS-LevelX.pdsc

Generating Pack for Microsoft.AzureRTOS-LevelX
via /home/gabriel/Repository/cmsis-packs/levelx/build
to /home/gabriel/Repository/cmsis-packs/levelx/cmsis_pack/output

Adding directories to pack:
./common

PACK_BASE_FILES is empty, no additional files to be copied.
PACK_DELETE_FILES is empty, no files to be removed.
PACK_PATCH_FILES is empty, no patches to be applied.
Running schema check for /home/gabriel/Repository/cmsis-packs/levelx/build/Microsoft.AzureRTOS-LevelX.pdsc
Fetching schema file...
/home/gabriel/Repository/cmsis-packs/levelx/build/Microsoft.AzureRTOS-LevelX.pdsc validates

CMSIS Pack Checker 1.4.1 (C) 2012-2023 Arm Ltd. and Contributors

Xerxes schema check: Found 0 Error(s).

Xerxes schema check: Found 0 Error(s).

Phase1: Read PDSC files

Phase2: Static Data & Dependencies check

*** ERROR M313: /home/gabriel/Repository/cmsis-packs/levelx/build/Microsoft.AzureRTOS-LevelX.pdsc (Line 22)
Associated File/Path is outside PACK root: '../README.md'

Phase3: RTE Model based Data & Dependencies check

Found 1 Error(s) and 0 Warning(s).
build aborted: pack check failed`

Metadata

Metadata

Assignees

No one assigned

    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