bazel build -c opt --strip=ALWAYS --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --fat_apk_cpu=arm64-v8a,armeabi-v7a --legacy_whole_archive=0 --features=-legacy_whole_archive --copt=-fvisibility=hidden --copt=-ffunction-sections --copt=-fdata-sections --copt=-fstack-protector --copt=-Oz --copt=-fomit-frame-pointer --copt=-DABSL_MIN_LOG_LEVEL=2 --linkopt=-Wl,--gc-sections,--strip-all //mediapipe/examples/android/src/java/com/google/mediapipe/apps/aar_example:mediapipe_face_detection.aar Starting local Bazel server and connecting to it... DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/py/python_repo.bzl:87:10:
Hermetic Python configuration: Version: "3.12" Kind: "" Interpreter: "default" (provided by rules_python) Requirements_lock label: "@python_version_repo//:requirements_lock_3_12.txt"
DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'XNNPACK' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'KleidiAI' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'pthreadpool' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'cpuinfo' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'zlib' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'rules_android_ndk' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'pybind11_protobuf' because it already exists. DEBUG: /home/mohit-gupta/.cache/bazel/_bazel_mohit-gupta/72f059dbc65b97d4ef1d42c67e682fb8/external/org_tensorflow/third_party/repo.bzl:132:14: Warning: skipping import of repository 'com_github_glog_glog' because it already exists. ERROR: no such package 'java/com/google/common/base': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
- /home/mohit-gupta/mediapipe_venv/mediapipe/java/com/google/common/base ERROR: /home/mohit-gupta/mediapipe_venv/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/aar_example/BUILD:3:14: no such package 'java/com/google/common/base': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
- /home/mohit-gupta/mediapipe_venv/mediapipe/java/com/google/common/base and referenced by '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/aar_example:mediapipe_face_detection_android_lib' ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/aar_example:mediapipe_face_detection.aar' failed; build aborted: Analysis failed INFO: Elapsed time: 14.670s, Critical Path: 0.04s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully FAILED: Fetching repository @@com_google_protobuf; starting Fetching repository @@maven; starting Fetching repository @@local_config_cc; starting Fetching repository @@remote_java_tools; starting