Skip to content

[arm64] Fix qemu arm64 compile failing with NO_PUBKEY#17167

Closed
guxianghong wants to merge 1 commit intosonic-net:masterfrom
CentecNetworks:devpr_xgu_20231114_fix_arm64_march_compile_fail
Closed

[arm64] Fix qemu arm64 compile failing with NO_PUBKEY#17167
guxianghong wants to merge 1 commit intosonic-net:masterfrom
CentecNetworks:devpr_xgu_20231114_fix_arm64_march_compile_fail

Conversation

@guxianghong
Copy link
Copy Markdown
Contributor

Why I did it

Fix qemu arm64 compile failing with NO_PUBKEY. The fail log in sonic-slave-bullseye-march-arm64_44ef87e04db.log:

Get:1 http://debian-archive.trafficmanager.net/debian bullseye InRelease [116 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease [49.0 kB]
Get:4 http://debian-archive.trafficmanager.net/debian-security bullseye-security InRelease [48.4 kB]
Err:1 http://debian-archive.trafficmanager.net/debian bullseye InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKE
Y 6ED0E7B82643E131 NO_PUBKEY 605C66F00D6C9793
Err:2 http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKE
Y 6ED0E7B82643E131
Err:3 http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKE
Y 6ED0E7B82643E131
Get:5 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main Sources [207 kB]
Get:6 http://debian-archive.trafficmanager.net/debian-security bullseye-security/non-free Sources [716 B]
Get:7 http://debian-archive.trafficmanager.net/debian-security bullseye-security/main arm64 Packages [326 kB]
Reading package lists...
W: GPG error: http://debian-archive.trafficmanager.net/debian bullseye InRelease: The following signatures
 couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBK
EY 605C66F00D6C9793
E: The repository 'http://debian-archive.trafficmanager.net/debian bullseye InRelease' is not signed.
W: GPG error: http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease: The following signatures co
uldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://debian-archive.trafficmanager.net/debian bullseye-updates InRelease' is not signed.
W: GPG error: http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease: The following signatures 
couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://debian-archive.trafficmanager.net/debian bullseye-backports InRelease' is not signed.

The cause of this problem is a missing bullseye's GPG key in march bullseye docker image.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Install latest bullseye GPG keyring.

How to verify it

Compile Centec ARM64 platform on X86 server with qemu march mode:

  1. make init
  2. make configure PLATFORM=centec-arm64 PLATFORM_ARCH=arm64
  3. make all

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@guxianghong
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@guxianghong
Copy link
Copy Markdown
Contributor Author

/azpw run kvmtest-t1-lag

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run kvmtest-t1-lag

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@guxianghong
Copy link
Copy Markdown
Contributor Author

Fixed in this PR: #17182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants