Skip to content

[docker-fpm-frr]: Fix tcmalloc package name for Trixie armhf#27704

Merged
qiluo-msft merged 1 commit into
sonic-net:masterfrom
deepak-singhal0408:fix/frr-tcmalloc-armhf-t64
Jun 4, 2026
Merged

[docker-fpm-frr]: Fix tcmalloc package name for Trixie armhf#27704
qiluo-msft merged 1 commit into
sonic-net:masterfrom
deepak-singhal0408:fix/frr-tcmalloc-armhf-t64

Conversation

@deepak-singhal0408

Copy link
Copy Markdown
Contributor

Why I did it

PR #27580 (FRR tcmalloc build) introduced libgoogle-perftools4 as a runtime dependency in the docker-fpm-frr Dockerfile. This breaks the marvell-prestera-armhf build because on Debian Trixie armhf, the time64 transition renames this package to libgoogle-perftools4t64 — the old name has no installation candidate.

The CI did not catch this because docker-fpm-frr was cached for the armhf build during the original PR validation.

How I did it

Changed libgoogle-perftools4libgoogle-perftools4t64 in dockers/docker-fpm-frr/Dockerfile.j2.

Since docker-fpm-frr is always Trixie-based (DOCKER_SWSS_LAYER_TRIXIE), libgoogle-perftools4t64 is the correct package name for all architectures (amd64, arm64, armhf). This matches the pattern used by:

  • sonic-slave-trixie/Dockerfile.j2 (line 227): libgoogle-perftools4t64
  • dockers/docker-platform-monitor/Dockerfile.j2: librrd8t64
  • dockers/docker-sonic-mgmt-framework/Dockerfile.j2: libcurl4t64

How to verify it

  • Verified libgoogle-perftools4t64 exists on Trixie for both armhf and amd64 via Debian package tracker
  • CI pipeline should rebuild docker-fpm-frr for marvell-prestera-armhf (cache miss due to Dockerfile change)

Which release branch to backport

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch

master

Description for the changelog

Fix docker-fpm-frr tcmalloc dependency package name for Trixie armhf (time64 transition)

Link to config_db schema for YANG module changes

N/A

On Trixie armhf, the Debian time64 transition renames
libgoogle-perftools4 to libgoogle-perftools4t64. The old package
name has no installation candidate on armhf, breaking the
marvell-prestera-armhf build.

Use libgoogle-perftools4t64 which is available on all Trixie
architectures (amd64, arm64, armhf).

Fixes: sonic-net#27580 (comment)

Signed-off-by: Deepak Singhal <deepsinghal@microsoft.com>
Copilot AI review requested due to automatic review settings June 3, 2026 18:35
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Debian Trixie time64 transition packaging issue in the docker-fpm-frr image by updating the runtime tcmalloc dependency to the correct package name for Trixie-based builds.

Changes:

  • Update FRR tcmalloc runtime dependency from libgoogle-perftools4 to libgoogle-perftools4t64 in the docker-fpm-frr Dockerfile template.

@deepak-singhal0408

Copy link
Copy Markdown
Contributor Author

Hi @rlhui @yxieca @lguohan could you help merge this PR? also this is needed for 202605 as well, please help approve cherry-pick too. @vaibhavhd fyi,

@qiluo-msft qiluo-msft merged commit 48df105 into sonic-net:master Jun 4, 2026
28 checks passed
@mssonicbld

Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202605: #27758

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