Skip to content

[AI Generated] BugFix: install build-essential for lagscope source build on Debian#4486

Merged
LiliDeng merged 1 commit into
mainfrom
bugfix/lagscope-debian-build-essential_150526_xdp
May 15, 2026
Merged

[AI Generated] BugFix: install build-essential for lagscope source build on Debian#4486
LiliDeng merged 1 commit into
mainfrom
bugfix/lagscope-debian-build-essential_150526_xdp

Conversation

@LiliDeng
Copy link
Copy Markdown
Collaborator

Problem

On minimal Debian-family cloud images (e.g., Ubuntu 25.10 arm64 canonical ubuntu-25_10 server-arm64 25.10.202601100), the Lagscope tool fails to install with:

The Debian dep list [libaio1, sysstat, cmake] is missing build-essential. The Git / Make / Gcc tool dependencies pull in individual packages, but on minimal cloud images a full C toolchain (linker, glibc headers, etc.) is not present, leading to silent build failures from do-cmake.sh build.

Fix

Add build-essential to the Debian package_list in Lagscope._install_dep_packages(). Same pattern as PR #4485 (netperf).

Validation

  • Repro confirmed on canonical ubuntu-25_10 server-arm64 25.10.202601100 running XdpPerformance.perf_xdp_lagscope_latency on Standard_D8ps_v5.
  • Linked ADO bug filed separately.

This pull request was authored with the assistance of an AI agent (GitHub Copilot).

On minimal Debian-family cloud images (e.g., Ubuntu 25.10 arm64), the base image lacks a complete C toolchain. The lagscope tool depends on Git/Make/Gcc but the Debian dep list omits 'build-essential', which can lead to silent build failures where 'do-cmake.sh build' returns success but lagscope binary is not produced/installed, causing the post-install detection to fail with: 'install lagscope failed. After installed, it cannot be detected.'

Add 'build-essential' to the Debian package_list, matching the netperf fix in PR #4485.
Copilot AI review requested due to automatic review settings May 15, 2026 07:44
@LiliDeng LiliDeng requested a review from johnsongeorge-w as a code owner May 15, 2026 07:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds missing build toolchain dependencies so lagscope can be built successfully from source on minimal Debian/Ubuntu images.

Changes:

  • Add build-essential to the Debian-family dependency list for lagscope installation.

@LiliDeng LiliDeng merged commit f567664 into main May 15, 2026
59 of 90 checks passed
@LiliDeng LiliDeng deleted the bugfix/lagscope-debian-build-essential_150526_xdp branch May 15, 2026 15:37
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.

3 participants