-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Following the installation commands defined in the Dockerfile, I am trying to build this project with Bazel. On running,
sudo bazel build //...
in project's root, I get the following error,
Starting local Bazel server (8.1.1) and connecting to it...
ERROR: /home/shubhampanchal/ai-edge-apis/local_agents/rag/java/com/google/ai/edge/localagents/rag/BUILD:43:1: name 'vardef' is not defined
ERROR: /home/shubhampanchal/ai-edge-apis/local_agents/rag/java/com/google/ai/edge/localagents/rag/BUILD:43:29: name 'MEDIAPIPE_FULL_VERSION' is not defined
ERROR: package contains errors: local_agents/rag/java/com/google/ai/edge/localagents/rag
ERROR: package contains errors: local_agents/rag/java/com/google/ai/edge/localagents/rag: name 'vardef' is not defined
WARNING: Target pattern parsing failed.
ERROR: Skipping '//...': Error evaluating '//...': error loading package 'local_agents/rag/java/com/google/ai/edge/localagents/rag': Package 'local_agents/rag/java/com/google/ai/edge/localagents/rag' contains errors
ERROR: Error evaluating '//...': error loading package 'local_agents/rag/java/com/google/ai/edge/localagents/rag': Package 'local_agents/rag/java/com/google/ai/edge/localagents/rag' contains errors
INFO: Elapsed time: 12.742s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
Related issues in other Google repos:
- Bazel not finding varref and vardef google/nearby#828
- --host_javabase option expects a label and is non portable bazelbuild/bazel#6012
System Information
- Platform: Ubuntu 22, x64
- JDK: OpenJDK 21
- Android SDK level 30, Android NDK r28
- Bazel version 8.1.1
Happy to provide information. I would also be glad if the repo-owners can include a 'Build Source' section in the README.
Metadata
Metadata
Assignees
Labels
No labels