zephyrproject-rtos/west

Cannot install all dependencies on new project

Closed this issue · 1 comments

Hello,

I performed the following:

  1. west init
  2. Commented out modules I don't need in west.yml
  3. Ran west update

This is the output of the last command:

Click to exapnd (very long)
--- cmsis: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/modules/hal/cmsis/.git/
--- cmsis: fetching, need revision c3bd2094f92d574377f7af2aec147ae181aa5f8e
remote: Enumerating objects: 563, done.
remote: Counting objects: 100% (563/563), done.
remote: Compressing objects: 100% (297/297), done.
remote: Total 563 (delta 288), reused 522 (delta 261), pack-reused 0
Receiving objects: 100% (563/563), 2.21 MiB | 9.48 MiB/s, done.
Resolving deltas: 100% (288/288), done.
From https://github.com/zephyrproject-rtos/cmsis
 * [new branch]      master     -> refs/west/master
HEAD is now at c3bd209 DSP: fix compiler warning on inline attribute
HEAD is now at c3bd209 DSP: fix compiler warning on inline attribute
=== updating edtt (tools/edtt):
--- edtt: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/tools/edtt/.git/
--- edtt: fetching, need revision 7dd56fc100d79cc45c33d43e7401d1803e26f6e7
remote: Enumerating objects: 308, done.
remote: Counting objects: 100% (308/308), done.
remote: Compressing objects: 100% (181/181), done.
remote: Total 308 (delta 202), reused 229 (delta 123), pack-reused 0
Receiving objects: 100% (308/308), 254.61 KiB | 5.42 MiB/s, done.
Resolving deltas: 100% (202/202), done.
From https://github.com/zephyrproject-rtos/edtt
 * [new branch]      le-audio      -> refs/west/le-audio
 * [new branch]      public_master -> refs/west/public_master
HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
=== updating hal_atmel (modules/hal/espressif):
--- hal_atmel: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/modules/hal/espressif/.git/
--- hal_atmel: fetching, need revision c21d252a2188fcb60d52dceb6b018a9f4a371817
remote: Enumerating objects: 2644, done.
remote: Counting objects: 100% (781/781), done.
remote: Compressing objects: 100% (403/403), done.
remote: Total 2644 (delta 564), reused 514 (delta 376), pack-reused 1863
Receiving objects: 100% (2644/2644), 4.21 MiB | 9.43 MiB/s, done.
Resolving deltas: 100% (2025/2025), done.
From https://github.com/zephyrproject-rtos/hal_atmel
 * [new branch]      master       -> refs/west/master
 * [new branch]      v1.14-branch -> refs/west/v1.14-branch
fatal: update_ref failed for ref 'refs/heads/manifest-rev': cannot update ref 'refs/heads/manifest-rev': trying to write ref 'refs/heads/manifest-rev' with nonexistent object c21d252a2188fcb60d52dceb6b018a9f4a371817
=== updating mcuboot (bootloader/mcuboot):
--- mcuboot: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/bootloader/mcuboot/.git/
--- mcuboot: fetching, need revision 7a5196820ba48a6ad7e7d573c9048c021960677c
remote: Enumerating objects: 11221, done.
remote: Counting objects: 100% (347/347), done.
remote: Compressing objects: 100% (190/190), done.
remote: Total 11221 (delta 169), reused 250 (delta 147), pack-reused 10874
Receiving objects: 100% (11221/11221), 4.00 MiB | 11.21 MiB/s, done.
Resolving deltas: 100% (7169/7169), done.
From https://github.com/zephyrproject-rtos/mcuboot
 * [new branch]      add-license              -> refs/west/add-license
 * [new branch]      coverity_scan            -> refs/west/coverity_scan
 * [new branch]      inclusive_lang           -> refs/west/inclusive_lang
 * [new branch]      main                     -> refs/west/main
 * [new branch]      revert-368-s1000_support -> refs/west/revert-368-s1000_support
 * [new branch]      sim                      -> refs/west/sim
 * [new branch]      suit                     -> refs/west/suit
 * [new branch]      v1.3-branch              -> refs/west/v1.3-branch
 * [new branch]      v1.3.1-branch            -> refs/west/v1.3.1-branch
 * [new tag]         1.7.0-rc1                -> 1.7.0-rc1
 * [new tag]         v0.9-rc1                 -> v0.9-rc1
 * [new tag]         v0.9-test1               -> v0.9-test1
 * [new tag]         v0.9.0                   -> v0.9.0
 * [new tag]         v0.9.0-rc2               -> v0.9.0-rc2
 * [new tag]         v1.0.0                   -> v1.0.0
 * [new tag]         v1.0.0-rc1               -> v1.0.0-rc1
 * [new tag]         v1.0.0-rc2               -> v1.0.0-rc2
 * [new tag]         v1.0.0-rc3               -> v1.0.0-rc3
 * [new tag]         v1.1.0                   -> v1.1.0
 * [new tag]         v1.1.0-rc1               -> v1.1.0-rc1
 * [new tag]         v1.1.0-rc2               -> v1.1.0-rc2
 * [new tag]         v1.2.0                   -> v1.2.0
 * [new tag]         v1.2.0-rc1               -> v1.2.0-rc1
 * [new tag]         v1.2.0-rc2               -> v1.2.0-rc2
 * [new tag]         v1.2.0-rc3               -> v1.2.0-rc3
 * [new tag]         v1.2.0-rc4               -> v1.2.0-rc4
 * [new tag]         v1.2.0-rc5               -> v1.2.0-rc5
 * [new tag]         v1.3.0                   -> v1.3.0
 * [new tag]         v1.3.0-rc1               -> v1.3.0-rc1
 * [new tag]         v1.3.0-rc2               -> v1.3.0-rc2
 * [new tag]         v1.3.0-rc3               -> v1.3.0-rc3
 * [new tag]         v1.3.1                   -> v1.3.1
 * [new tag]         v1.3.1-rc1               -> v1.3.1-rc1
 * [new tag]         v1.4.0                   -> v1.4.0
 * [new tag]         v1.5.0                   -> v1.5.0
 * [new tag]         v1.6.0                   -> v1.6.0
 * [new tag]         v1.6.0-rc1               -> v1.6.0-rc1
 * [new tag]         v1.6.0-rc2               -> v1.6.0-rc2
 * [new tag]         v1.7.0                   -> v1.7.0
 * [new tag]         v1.7.0-rc2               -> v1.7.0-rc2
 * [new tag]         v1.7.1                   -> v1.7.1
 * [new tag]         v1.7.2                   -> v1.7.2
 * [new tag]         zephyr-snapshot-1        -> zephyr-snapshot-1
HEAD is now at 7a51968 Merge: synhronize up to https://github.com/mcu-tools/mcuboot/commit/680ed07e42f
HEAD is now at 7a51968 Merge: synhronize up to https://github.com/mcu-tools/mcuboot/commit/680ed07e42f
=== updating mcumgr (modules/lib/mcumgr):
--- mcumgr: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/modules/lib/mcumgr/.git/
--- mcumgr: fetching, need revision 5c5055f5a7565f8152d75fcecf07262928b4d56e
remote: Enumerating objects: 749, done.
remote: Counting objects: 100% (196/196), done.
remote: Compressing objects: 100% (131/131), done.
remote: Total 749 (delta 74), reused 114 (delta 29), pack-reused 553
Receiving objects: 100% (749/749), 227.98 KiB | 5.07 MiB/s, done.
Resolving deltas: 100% (341/341), done.
From https://github.com/zephyrproject-rtos/mcumgr
 * [new branch]      master       -> refs/west/master
 * [new branch]      v1.14-branch -> refs/west/v1.14-branch
HEAD is now at 5c5055f snapshot: Update mcumgr to commit e64f5060bd from upstream
HEAD is now at 5c5055f snapshot: Update mcumgr to commit e64f5060bd from upstream
=== updating mipi-sys-t (modules/debug/mipi-sys-t):
--- mipi-sys-t: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/modules/debug/mipi-sys-t/.git/
--- mipi-sys-t: fetching, need revision 75e671550ac1acb502f315fe4952514dc73f7bfb
remote: Enumerating objects: 170, done.
remote: Counting objects: 100% (170/170), done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 170 (delta 39), reused 162 (delta 33), pack-reused 0
Receiving objects: 100% (170/170), 409.16 KiB | 5.76 MiB/s, done.
Resolving deltas: 100% (39/39), done.
From https://github.com/zephyrproject-rtos/mipi-sys-t
 * [new branch]      zephyr     -> refs/west/zephyr
HEAD is now at 75e6715 zephyr: move platform.h to zephyr tree
HEAD is now at 75e6715 zephyr: move platform.h to zephyr tree
=== updating TraceRecorderSource (modules/debug/TraceRecorder):
--- TraceRecorderSource: initializing
Initialized empty Git repository in /home/perry/myproject/zephyr_test/modules/debug/TraceRecorder/.git/
--- TraceRecorderSource: fetching, need revision 5b5f8d7adbf0e93a09087e8f5708f0eebb8b25bf
remote: Enumerating objects: 572, done.
remote: Counting objects: 100% (572/572), done.
remote: Compressing objects: 100% (277/277), done.
remote: Total 572 (delta 313), reused 489 (delta 239), pack-reused 0
Receiving objects: 100% (572/572), 446.68 KiB | 6.57 MiB/s, done.
Resolving deltas: 100% (313/313), done.
From https://github.com/zephyrproject-rtos/TraceRecorderSource
 * [new branch]      main       -> refs/west/main
 * [new branch]      up2        -> refs/west/up2
 * [new branch]      zephyr     -> refs/west/zephyr
HEAD is now at 5b5f8d7 Merge pull request #5 from nashif/update_003
HEAD is now at 5b5f8d7 Merge pull request #5 from nashif/update_003
ERROR: update failed for project hal_atmel

And if I run it again:

=== updating cmsis (modules/hal/cmsis):
HEAD is now at c3bd209 DSP: fix compiler warning on inline attribute
=== updating edtt (tools/edtt):
HEAD is now at 7dd56fc Add FIXME note to handle incorrect LL/CON/MAS/BV-27-C implementation
=== updating hal_atmel (modules/hal/espressif):
--- hal_atmel: fetching, need revision c21d252a2188fcb60d52dceb6b018a9f4a371817
fatal: update_ref failed for ref 'refs/heads/manifest-rev': cannot update ref 'refs/heads/manifest-rev': trying to write ref 'refs/heads/manifest-rev' with nonexistent object c21d252a2188fcb60d52dceb6b018a9f4a371817
=== updating mcuboot (bootloader/mcuboot):
HEAD is now at 7a51968 Merge: synhronize up to https://github.com/mcu-tools/mcuboot/commit/680ed07e42f
=== updating mcumgr (modules/lib/mcumgr):
HEAD is now at 5c5055f snapshot: Update mcumgr to commit e64f5060bd from upstream
=== updating mipi-sys-t (modules/debug/mipi-sys-t):
HEAD is now at 75e6715 zephyr: move platform.h to zephyr tree
=== updating TraceRecorderSource (modules/debug/TraceRecorder):
HEAD is now at 5b5f8d7 Merge pull request #5 from nashif/update_003
ERROR: update failed for project hal_atmel

I tried west both in a virtual environment and not with the same result. I saw that there have not been any updates to the hal_atmel repo in a while, so I opted to post here since it may not be caused by that repo.

Nevermind, I had a typo in my YAML file.