- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.6k
 
Open
Labels
os:linux-non-armIssues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.stat:awaiting responseWaiting for user responseWaiting for user responsetype:build/installFor Build and Installation issuesFor Build and Installation issues
Description
OS Platform and Distribution
Ubuntu 24.04
MediaPipe version
Latest master branch.
Bazel version
bazel 7.4.1
Problem Description
target '//mediapipe/calculators/tensorflow:pack_media_sequence_calculator_cc_proto' does not exist
Complete Error
$ /usr/bin/bazel build --tool_tag=ijwb:CLion --keep_going --norun_validations --color=yes --progress_in_terminal_title=no --skip_incompatible_explicit_targets --aspects=//.clwb/aspects:intellij_info_bundled.bzl%intellij_info_aspect --output_groups=intellij-resolve-cpp,intellij-info-cpp,intellij-info-generic --build_event_binary_file=/tmp/intellij-bep-9b7707c3-b2cc-44d2-a175-52703773d630 --nobuild_event_binary_file_path_conversion --build_event_publish_all_actions --curses=yes -- //mediapipe/examples/desktop/media_sequence/...
ERROR: /home/user/code/mediapipe-current/mediapipe/calculators/tensorflow/BUILD:377:11: in deps attribute of cc_library rule //mediapipe/calculators/tensorflow:pack_media_sequence_calculator: target '//mediapipe/calculators/tensorflow:pack_media_sequence_calculator_cc_proto' does not exist. Since this rule was created by the macro 'cc_library', the error might have been caused by the macro implementationIndeed the referenced target, seems not to be defined in any BUILD file. This is on the master branch forked a few hours ago.
Additional Other Error for Different Target
When adding the python target, we also get these errors, in case this together is indicative of some general wrong way of using bazel over mediapipe:
in deps attribute of py_library rule //mediapipe/python/solutions:drawing_styles: rule '//mediapipe/python/solutions:face_mesh' does not exist. Since this rule was created by the macro 'py_library', the error might have been caused by the macro implementation
no such package 'file/localfile': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
 - /home/user/code/mediapipe-current/file/localfile
no such package 'file/google_src': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
 - /home/user/user/mediapipe-current/file/google_src
Many other build targets (from //mediapipe/examples/desktop/) build fine.
Metadata
Metadata
Assignees
Labels
os:linux-non-armIssues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.stat:awaiting responseWaiting for user responseWaiting for user responsetype:build/installFor Build and Installation issuesFor Build and Installation issues