-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datadog-agent/7.60.1 package update #37684
Conversation
Gen AI suggestions to solve the build error: Based on the build error, here's the analysis and solution: • Detected Error: • Error Category: Dependency • Failure Point: Package build step trying to download and extract libpcap source • Root Cause Analysis: The build environment is missing the • Suggested Fix: Add environment:
contents:
packages:
- curl # Add this line
- bison
- build-base
# ... rest of existing packages • Explanation: The build process needs to download libpcap source code using curl but the command is not available in the build environment. Adding curl as a build dependency will allow the download step to complete successfully. • Additional Notes:
• References:
The provided fix should allow the build to progress past the libpcap download step and complete successfully. |
Gen AI suggestions to solve the build error: Based on the error output, here's my analysis and suggested fix: • Detected Error: • Error Category: Build Configuration/Dependency • Failure Point: During system-probe build step when trying to use clang-bpf • Root Cause Analysis: The build is failing because it can't find the required clang-bpf binary in the expected location, which is needed for eBPF compilation. • Suggested Fix: - runs: |
mkdir -p ${{vars.destd}}/embedded/bin
wget -q https://dd-agent-omnibus.s3.amazonaws.com/llvm/clang-12.0.1.amd64 -O ${{vars.destd}}/embedded/bin/clang-bpf
wget -q https://dd-agent-omnibus.s3.amazonaws.com/llvm/llc-12.0.1.amd64 -O ${{vars.destd}}/embedded/bin/llc-bpf
chmod +x ${{vars.destd}}/embedded/bin/clang-bpf ${{vars.destd}}/embedded/bin/llc-bpf • Explanation: The DataDog agent's system-probe component requires specific versions of clang tools for eBPF compilation. These tools need to be downloaded and placed in the correct location before building. • Additional Notes:
• References: |
Gen AI suggestions to solve the build error: • Detected Error: "Cannot change ownership to uid 1000, gid 1000: Invalid argument" when extracting libpcap source • Error Category: Build Configuration • Failure Point: tar extraction of libpcap source code during build process • Root Cause Analysis: The build system is attempting to preserve ownership during tar extraction, but lacks permissions to set UIDs/GIDs in the container environment due to security restrictions. • Suggested Fix: Add - runs: |
cd /home/build/dev/dist && curl -L https://www.tcpdump.org/release/libpcap-1.10.5.tar.xz | tar xJ --no-same-owner • Explanation: The • Additional Notes:
• References:
|
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Configuration/Permission • Failure Point: Extracting libpcap source code during build process • Root Cause Analysis: The error occurs because tar is trying to preserve ownership during extraction but fails due to container/build environment permissions. This is a common issue in containerized builds where the UID/GID mapping doesn't align. • Suggested Fix: Add - runs: |
cd /home/build/dev/dist && curl -L https://www.tcpdump.org/release/libpcap-1.10.5.tar.xz | tar xJ --no-same-owner • Explanation: The • Additional Notes:
• References:
|
Signed-off-by: wolfi-bot <[email protected]>
- add libpcap - symlink so build avoids downloading libpcap and uses system lib - regen dep bump patch - build with python 3.12 as integration dependencies require it ERROR: Package 'datadog-slurm' requires a different Python: 3.11.11 not in '>=3.12' - compile datadog-agent-nvml with python 3.12 - patch to disable gpu monitor as causing test failures, upstream issue tracked DataDog/datadog-agent#32419 Signed-off-by: James Rawlings <[email protected]>
Signed-off-by: James Rawlings <[email protected]>
3467970
to
b1bcb1c
Compare
datadog-agent and datadog-agent-nvml: various fixes to work with latest
ERROR: Package 'datadog-slurm' requires a different Python: 3.11.11 not in '>=3.12'