Skip to content

Build Error in SONiC 202211 branch - Marvell ARM64 #16204

@thovikeerthi

Description

@thovikeerthi

I am trying to compile "SONiC branch 202211 source for the Marvell-ARM64 target platform". Then facing the below compilation/build error. Please advise and share your inputs to address this build issue.

Steps followed:
Step 1: git clone -b 202211 https://github.com/sonic-net/sonic-buildimage.git
Step 2: cd sonic-buildimage
Step 3: git checkout 5ac1051
Step 4: make init
Step 5: NOSTRETCH=1 make configure PLATFORM=marvell-arm64 PLATFORM_ARCH=arm64

Build/Compilation error is seen on executing Step5.

Error Snippet:
"
=> ERROR [internal] load metadata for docker.io/library/sonic-slave-buster-march-arm64:1d6f93e8d09 1.1s

[internal] load metadata for docker.io/library/sonic-slave-buster-march-arm64:1d6f93e8d09:


Dockerfile.cleanup:9

7 |
8 | # Clean up the cache data
9 | >>> FROM sonic-slave-buster-march-arm64:1d6f93e8d09 as final
10 | RUN rm /cache.tgz
11 |

ERROR: failed to solve: sonic-slave-buster-march-arm64:1d6f93e8d09: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

  • docker rmi tmp-sonic-slave-buster-march-arm64:1d6f93e8d09
    Error response from daemon: No such image: tmp-sonic-slave-buster-march-arm64:1d6f93e8d09
  • docker container rm sonic-slave-buster-march-arm64-1d6f93e8d09
    Error response from daemon: No such container: sonic-slave-buster-march-arm64-1d6f93e8d09
    make[1]: *** [Makefile.work:543: configure] Error 1
    make[1]: Leaving directory '/home/sonic/sonic-marvell/sonic-buildimage'
    make: *** [Makefile:94: configure] Error 2
    "

FYI: Docker Version Information:
sonic@labuser:~$ docker version
Client: Docker Engine - Community
Version: 23.0.1
API version: 1.42
Go version: go1.19.5
Git commit: a5ee5b1
Built: Thu Feb 9 19:46:56 2023
OS/Arch: linux/amd64
Context: default

Server: Docker Engine - Community
Engine:
Version: 23.0.1
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: bc3805a
Built: Thu Feb 9 19:46:56 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.16
GitCommit: 31aa4358a36870b21a992d3ad2bef29e1d693bec
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
sonic@labuser:~$ containerd -version
containerd containerd.io 1.6.16 31aa4358a36870b21a992d3ad2bef29e1d693bec

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions