Skip to content

Comments

Add rust to bullseye.#23463

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
dypet:add_rust_to_bullseye
Jul 31, 2025
Merged

Add rust to bullseye.#23463
qiluo-msft merged 1 commit intosonic-net:masterfrom
dypet:add_rust_to_bullseye

Conversation

@dypet
Copy link
Contributor

@dypet dypet commented Jul 24, 2025

Why I did it

Rust was added to bookworm, but is missing in bullseye build. Sonic-swss-common needs rust to build after sonic-net/sonic-swss-common#1044, and bullseye build failures were seen due to missing rust when building Pensando DPU image with:

make init
make configure PLATFORM=pensando PLATFORM_ARCH=arm64
NOJESSIE=1 NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=0 make target/sonic-pensando.tar

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add rust to bullseye dockerfile similarly to bookworm.

How to verify it

Successfully built Pensando image with:
make init
make configure PLATFORM=pensando PLATFORM_ARCH=arm64
NOJESSIE=1 NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=0 make target/sonic-pensando.tar

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

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

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)

@dypet dypet requested a review from lguohan as a code owner July 24, 2025 17:28
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@r12f r12f requested a review from saiarcot895 July 24, 2025 18:04
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202506: Azure/sonic-buildimage-msft#1443

ccroy-arista pushed a commit to ccroy-arista/sonic-buildimage that referenced this pull request Aug 14, 2025
Why I did it
Rust was added to bookworm, but is missing in bullseye build. Sonic-swss-common needs rust to build after sonic-net/sonic-swss-common#1044, and bullseye build failures were seen due to missing rust when building Pensando DPU image with:

make init
make configure PLATFORM=pensando PLATFORM_ARCH=arm64
NOJESSIE=1 NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=0 make target/sonic-pensando.tar

Work item tracking
Microsoft ADO (number only):
How I did it
Add rust to bullseye dockerfile similarly to bookworm.

How to verify it
Successfully built Pensando image with:
make init
make configure PLATFORM=pensando PLATFORM_ARCH=arm64
NOJESSIE=1 NOSTRETCH=1 NOBUSTER=0 NOBULLSEYE=0 make target/sonic-pensando.tar
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-buildimage-msft#1604

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants