chore: fix RPM builds on darwin #880

Open
opened 2026-03-28 04:29:30 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2540
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2540
Original created: 2026-01-27T12:14:21Z


 ✔ bazel build //packaging/agent:agent_rpm
(06:12:03) INFO: Invocation ID: 25f83da1-d811-4b6d-ad4e-5fc153770ab6
(06:12:03) INFO: Streaming build results to: https://app.buildbuddy.io/invocation/25f83da1-d811-4b6d-ad4e-5fc153770ab6
(06:12:03) INFO: Reading 'startup' options from /Users/mfreeman/src/serviceradar/.bazelrc: --max_idle_secs=60
(06:12:03) INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=193
(06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc:
  Inherited 'common' options: --announce_rc --experimental_convenience_symlinks=clean --color=yes --curses=yes --repository_cache=third_party/bazel-repo-cache --disk_cache=third_party/bazel-disk-cache --distdir=third_party/distdir
(06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc:
  'build' options: --keep_going --jobs=auto --show_timestamps --action_env=SRQL_TEST_DATABASE_URL --action_env=SRQL_TEST_ADMIN_URL --action_env=NATS_URL --action_env=NATS_SERVER_NAME --action_env=NATS_CA_FILE --action_env=NATS_CERT_FILE --action_env=NATS_KEY_FILE --action_env=NATS_CA_B64 --action_env=NATS_CERT_B64 --action_env=NATS_KEY_B64 --action_env=NEXT_PRIVATE_SKIP_TURBOPACK=1 --action_env=TURBOPACK= --action_env=NEXT_SKIP_TURBO=1 --action_env=OPENSSL_DIR=/usr --action_env=OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu --action_env=OPENSSL_INCLUDE_DIR=/usr/include --action_env=OPENSSL_NO_VENDOR= --action_env=OPENSSL_NO_PKG_CONFIG= --repo_env=OPENSSL_DIR=/usr --repo_env=OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu --repo_env=OPENSSL_INCLUDE_DIR=/usr/include --repo_env=OPENSSL_NO_VENDOR= --repo_env=OPENSSL_NO_PKG_CONFIG= --repo_env=RULES_ERLANG_SKIP_SYSTEM=1 --repo_env=RULES_ELIXIR_SKIP_SYSTEM=1 --repo_env=GOPROXY=https://proxy.golang.org --repo_env=NEXT_SKIP_TURBO=1 --repo_env=NEXT_PRIVATE_SKIP_TURBOPACK=1 --repo_env=TURBOPACK= --java_runtime_version=local_jdk --tool_java_runtime_version=local_jdk --@io_bazel_rules_go//go/config:pure
(06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc.local:
  'build' options: --bes_results_url=https://app.buildbuddy.io/invocation/ --bes_backend=grpcs://remote.buildbuddy.io --remote_cache=grpcs://remote.buildbuddy.io --noremote_upload_local_results --remote_timeout=10m --remote_header=x-buildbuddy-api-key=IC7TTdgbEXs0x3V7pjJz
(06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc:
  'build' options: --workspace_status_command=$(pwd)/scripts/workspace_status.sh --build_metadata=REPO_URL=git@github.com:carverauto/serviceradar.git
(06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/.bazelrc:
  'build' options: --remote_header=x-buildbuddy-api-key=IC7TTdgbEXs0x3V7pjJz
(06:12:03) INFO: Current date is 2026-01-27
(06:12:03) INFO: Analyzed target //packaging/agent:agent_rpm (6 packages loaded, 7 targets configured).
(06:12:03) WARNING: errors encountered while analyzing target '//packaging/agent:agent_rpm', it will not be built.
Target //packaging/agent:agent_rpm is incompatible and cannot be built, but was explicitly requested.
Dependency chain:
    //packaging/agent:agent_rpm (3233c2)   <-- target platform (@@platforms//host:host) didn't satisfy constraint @@platforms//os:linux
(06:12:03) INFO: Found 1 target...
Target //packaging/agent:agent_rpm failed to build
Use --verbose_failures to see the command lines of failed build steps.
(06:12:03) ERROR: command succeeded, but not all targets were analyzed
(06:12:03) INFO: Elapsed time: 0.836s, Critical Path: 0.11s
(06:12:03) INFO: 1 process: 1 internal.
(06:12:03) ERROR: Build did NOT complete successfully
(06:12:04) INFO: Streaming build results to: https://app.buildbuddy.io/invocation/25f83da1-d811-4b6d-ad4e-5fc153770ab6
➜ serviceradar (2533-feat-agent-missing-edge-onboarding-support) ✔ uname -a
Darwin Mac.localdomain 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:03:25 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T8122 arm64
➜ serviceradar (2533-feat-agent-missing-edge-onboarding-support) ✔
Imported from GitHub. Original GitHub issue: #2540 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2540 Original created: 2026-01-27T12:14:21Z --- ``` ✔ bazel build //packaging/agent:agent_rpm (06:12:03) INFO: Invocation ID: 25f83da1-d811-4b6d-ad4e-5fc153770ab6 (06:12:03) INFO: Streaming build results to: https://app.buildbuddy.io/invocation/25f83da1-d811-4b6d-ad4e-5fc153770ab6 (06:12:03) INFO: Reading 'startup' options from /Users/mfreeman/src/serviceradar/.bazelrc: --max_idle_secs=60 (06:12:03) INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=193 (06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc: Inherited 'common' options: --announce_rc --experimental_convenience_symlinks=clean --color=yes --curses=yes --repository_cache=third_party/bazel-repo-cache --disk_cache=third_party/bazel-disk-cache --distdir=third_party/distdir (06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc: 'build' options: --keep_going --jobs=auto --show_timestamps --action_env=SRQL_TEST_DATABASE_URL --action_env=SRQL_TEST_ADMIN_URL --action_env=NATS_URL --action_env=NATS_SERVER_NAME --action_env=NATS_CA_FILE --action_env=NATS_CERT_FILE --action_env=NATS_KEY_FILE --action_env=NATS_CA_B64 --action_env=NATS_CERT_B64 --action_env=NATS_KEY_B64 --action_env=NEXT_PRIVATE_SKIP_TURBOPACK=1 --action_env=TURBOPACK= --action_env=NEXT_SKIP_TURBO=1 --action_env=OPENSSL_DIR=/usr --action_env=OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu --action_env=OPENSSL_INCLUDE_DIR=/usr/include --action_env=OPENSSL_NO_VENDOR= --action_env=OPENSSL_NO_PKG_CONFIG= --repo_env=OPENSSL_DIR=/usr --repo_env=OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu --repo_env=OPENSSL_INCLUDE_DIR=/usr/include --repo_env=OPENSSL_NO_VENDOR= --repo_env=OPENSSL_NO_PKG_CONFIG= --repo_env=RULES_ERLANG_SKIP_SYSTEM=1 --repo_env=RULES_ELIXIR_SKIP_SYSTEM=1 --repo_env=GOPROXY=https://proxy.golang.org --repo_env=NEXT_SKIP_TURBO=1 --repo_env=NEXT_PRIVATE_SKIP_TURBOPACK=1 --repo_env=TURBOPACK= --java_runtime_version=local_jdk --tool_java_runtime_version=local_jdk --@io_bazel_rules_go//go/config:pure (06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc.local: 'build' options: --bes_results_url=https://app.buildbuddy.io/invocation/ --bes_backend=grpcs://remote.buildbuddy.io --remote_cache=grpcs://remote.buildbuddy.io --noremote_upload_local_results --remote_timeout=10m --remote_header=x-buildbuddy-api-key=IC7TTdgbEXs0x3V7pjJz (06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/src/serviceradar/.bazelrc: 'build' options: --workspace_status_command=$(pwd)/scripts/workspace_status.sh --build_metadata=REPO_URL=git@github.com:carverauto/serviceradar.git (06:12:03) INFO: Reading rc options for 'build' from /Users/mfreeman/.bazelrc: 'build' options: --remote_header=x-buildbuddy-api-key=IC7TTdgbEXs0x3V7pjJz (06:12:03) INFO: Current date is 2026-01-27 (06:12:03) INFO: Analyzed target //packaging/agent:agent_rpm (6 packages loaded, 7 targets configured). (06:12:03) WARNING: errors encountered while analyzing target '//packaging/agent:agent_rpm', it will not be built. Target //packaging/agent:agent_rpm is incompatible and cannot be built, but was explicitly requested. Dependency chain: //packaging/agent:agent_rpm (3233c2) <-- target platform (@@platforms//host:host) didn't satisfy constraint @@platforms//os:linux (06:12:03) INFO: Found 1 target... Target //packaging/agent:agent_rpm failed to build Use --verbose_failures to see the command lines of failed build steps. (06:12:03) ERROR: command succeeded, but not all targets were analyzed (06:12:03) INFO: Elapsed time: 0.836s, Critical Path: 0.11s (06:12:03) INFO: 1 process: 1 internal. (06:12:03) ERROR: Build did NOT complete successfully (06:12:04) INFO: Streaming build results to: https://app.buildbuddy.io/invocation/25f83da1-d811-4b6d-ad4e-5fc153770ab6 ➜ serviceradar (2533-feat-agent-missing-edge-onboarding-support) ✔ uname -a Darwin Mac.localdomain 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:03:25 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T8122 arm64 ➜ serviceradar (2533-feat-agent-missing-edge-onboarding-support) ✔ ```
mfreeman451 added this to the 1.1.2 milestone 2026-03-28 04:29:30 +00:00
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#880
No description provided.