-
Notifications
You must be signed in to change notification settings - Fork 29
bug(<sight>): agentsight build rpm failed #75
Copy link
Copy link
Open
Labels
Milestone
Description
Component
agentsight
Bug Description
see build error:
❯ ./rpm-build.sh agentsight
[INFO] Setting up rpmbuild tree at /root/DevWork/anolisa/scripts/rpmbuild
[INFO] ==========================================
[INFO] Building RPM: agentsight
[INFO] ==========================================
[INFO] Step 1/3: Building agentsight...
Compiling openssl v0.10.76
Compiling openssl-sys v0.9.112
Compiling native-tls v0.2.18
Compiling libsqlite3-sys v0.30.1
Compiling capstone-sys v0.16.0
Compiling env_logger v0.11.9
Compiling agentsight v0.1.0 (/root/DevWork/anolisa/src/agentsight)
Compiling gimli v0.30.0
Compiling futures v0.3.32
Compiling pagemap v0.1.0
Compiling sha2 v0.10.9
Compiling clru v0.6.3
Compiling ctor v0.2.9
Compiling async-trait v0.1.89
Compiling read-process-memory v0.1.6
Compiling perf-event-open-sys v4.0.0
Compiling num_cpus v1.17.0
error: failed to run custom build command for `agentsight v0.1.0 (/root/DevWork/anolisa/src/agentsight)`
Caused by:
process didn't exit successfully: `/root/DevWork/anolisa/src/agentsight/target/release/build/agentsight-4d646b5a15cdd6dc/build-script-build` (exit status: 101)
--- stderr
thread 'main' (1779716) panicked at build.rs:12:10:
called `Result::unwrap()` on an `Err` value: failed to build `src/bpf/sslsniff.bpf.c`
Caused by:
0: Failed to execute clang
1: No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
❯ uname -a
Linux iZj6cfcnhj4cyqzayzgb29Z 6.6.102-5.2.alnx4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 27 23:11:10 CST 2025 x86_64 x86_64 x86_64 GNU/Linux
❯ rustc --version
rustc 1.94.1 (e408947bf 2026-03-25)
Steps to Reproduce
see Bug Description
Expected Behavior
rpm build success
Environment
Alinux 4
Relevant Log Output
Additional Context
No response
Reactions are currently unavailable