bug(build): rperf-client causes build error #554

Closed
opened 2026-03-28 04:25:41 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #1741
Original author: @marvin-hansen
Original URL: https://github.com/carverauto/serviceradar/issues/1741
Original created: 2025-10-10T07:45:20Z


Describe the bug

rperf-client causes Running Cargo build script build_script failed: (Exit 1)
...
Error: Custom { kind: Other, error: "protoc failed: " }

To Reproduce
Steps to reproduce the behavior:

On a Ubuntu 24.04 VM

  1. Clone repo
  2. Install all depds, see below
  3. Build via bazel build //...
  4. See error

ERROR: /home/marvin/serviceradar/cmd/checkers/rperf-client/BUILD.bazel:12:19: Running Cargo build script build_script failed: (Exit 1): runner failed: error executing CargoBuildScriptRun command (from target //cmd/checkers/rperf-client:build_script) bazel-out/k8-opt-exec-ST-6bb482d120da/bin/external/rules_rust+/cargo/cargo_build_script_runner/runner '--script=bazel-out/k8-fastbuild/bin/cmd/checkers/rperf-client/build_script-' '--links=' ... (remaining 8 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Build script process failed with exit code 1
--stdout:
cargo:rerun-if-changed=src/proto/rperf.proto
cargo:rerun-if-changed=src/proto

--stderr:
Error: Custom { kind: Other, error: "protoc failed: " }

Expected behavior
Bazel build is supposed to succeed w/o errors

Desktop (please complete the following information):

  • OS: Ubuntu 24.04 via OrbStack VM on MacOS
  • bazelisk v1.27.0
  • Bazel 8.4.1

Exact steps to replicate the VM env:
https://github.com/marvin-hansen/serviceradar/blob/main/BUILD.md

Additional context
Installed system dependencies

  • git
  • clang-18
  • build-essential
  • openjdk-25-jdk
  • bubblewrap
  • rsync
  • ocaml
  • libgmp-dev
  • liblz4-dev
  • libzstd-dev
  • pkg-config
  • libev-dev
  • libssl-dev

sudo apt install -y git clang-18 build-essential openjdk-25-jdk bubblewrap rsync ocaml libgmp-dev liblz4-dev libzstd-dev pkg-config libev-dev libssl-dev

Imported from GitHub. Original GitHub issue: #1741 Original author: @marvin-hansen Original URL: https://github.com/carverauto/serviceradar/issues/1741 Original created: 2025-10-10T07:45:20Z --- **Describe the bug** rperf-client causes Running Cargo build script build_script failed: (Exit 1) ... Error: Custom { kind: Other, error: "protoc failed: " } **To Reproduce** Steps to reproduce the behavior: On a Ubuntu 24.04 VM 1. Clone repo 2. Install all depds, see below 3. Build via bazel build //... 4. See error ERROR: /home/marvin/serviceradar/cmd/checkers/rperf-client/BUILD.bazel:12:19: Running Cargo build script build_script failed: (Exit 1): runner failed: error executing CargoBuildScriptRun command (from target //cmd/checkers/rperf-client:build_script) bazel-out/k8-opt-exec-ST-6bb482d120da/bin/external/rules_rust+/cargo/cargo_build_script_runner/runner '--script=bazel-out/k8-fastbuild/bin/cmd/checkers/rperf-client/build_script-' '--links=' ... (remaining 8 arguments skipped) Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging Build script process failed with exit code 1 --stdout: cargo:rerun-if-changed=src/proto/rperf.proto cargo:rerun-if-changed=src/proto --stderr: Error: Custom { kind: Other, error: "protoc failed: " } **Expected behavior** Bazel build is supposed to succeed w/o errors **Desktop (please complete the following information):** - OS: Ubuntu 24.04 via OrbStack VM on MacOS - bazelisk v1.27.0 - Bazel 8.4.1 Exact steps to replicate the VM env: https://github.com/marvin-hansen/serviceradar/blob/main/BUILD.md **Additional context** Installed system dependencies * git * clang-18 * build-essential * openjdk-25-jdk * bubblewrap * rsync * ocaml * libgmp-dev * liblz4-dev * libzstd-dev * pkg-config * libev-dev * libssl-dev ` sudo apt install -y git clang-18 build-essential openjdk-25-jdk bubblewrap rsync ocaml libgmp-dev liblz4-dev libzstd-dev pkg-config libev-dev libssl-dev `
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1741#issuecomment-3814008866
Original created: 2026-01-28T21:24:14Z


closing cant repro

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1741#issuecomment-3814008866 Original created: 2026-01-28T21:24:14Z --- closing cant repro
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#554
No description provided.