google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://mediapipe.dev
Apache License 2.0
26.77k stars 5.09k forks source link

Failed to build MediaPipe Python Package on Docker #2320

Closed luizhss closed 3 years ago

luizhss commented 3 years ago

System information:

Describe the current behavior:

I'm trying to build python package just like the docs, but it keeps failing.

Standalone code to reproduce the issue: I'm using the following sequence of commands

git clone https://github.com/google/mediapipe.git
cd mediapipe
docker build --tag=mediapipe .
docker run -it --name mediapipe mediapipe:latest
apt update # in docker
apt install -y vim cmake
vi setup_opencv.sh  # remove sudo
sh ./setup_opencv.sh
apt install -y python3-venv python3-dev
apt install -y protobuf-compiler libprotobuf-dev
python3 -m venv mp_env && source mp_env/bin/activate
pip3 install --upgrade pip
pip3 install -r requirements.txt
python3 setup.py gen_protos
python3 setup.py bdist_wheel

Other info / Complete Logs : This is full log error shown in the last command:

log error

``` /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running bdist_wheel running build running build_binary_graphs generating binarypb: mediapipe/modules/face_detection/face_detection_short_range_cpu Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: SHA256 (https://github.com/bazelbuild/rules_foreign_cc/archive/0.1.0.zip) = c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e" DEBUG: Repository rules_foreign_cc instantiated at: /mediapipe/WORKSPACE:42:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/44c890cd46fd9aad2b3bf4b13c5f36d8cff795c3.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) = 02413e4a077107711ecc21458432e7c9ba63e75e63f3fa84ae4da2d6b2c82700 DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02413e4a077107711ecc21458432e7c9ba63e75e63f3fa84ae4da2d6b2c82700" DEBUG: Repository rules_cc instantiated at: /mediapipe/WORKSPACE:36:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/d37128311b445e758136b8602d1bbd2a755e115d.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found INFO: SHA256 (https://github.com/opencv/opencv/archive/3.4.10.tar.gz) = 1ed6f5b02a7baf14daca04817566e7c98ec668cec381e0edf534fa49f10f58a2 DEBUG: Rule 'opencv' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1ed6f5b02a7baf14daca04817566e7c98ec668cec381e0edf534fa49f10f58a2" DEBUG: Repository opencv instantiated at: /mediapipe/WORKSPACE:188:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_short_range_cpu (118 packages loaded, 18331 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/framework/calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_detections_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/tool/calculator_graph_template.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/image_to_tensor_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/calculator_profile.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/non_max_suppression_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/tool/calculator_graph_template.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/internal/callback_packet_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/inference_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/internal/callback_packet_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/image_to_tensor_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/non_max_suppression_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/inference_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_detections_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/calculator_profile.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From Compiling mediapipe/framework/calculator.pb.cc [for host]: bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual google::protobuf::uint8* mediapipe::ProfilerConfig::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1714:41: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations] if (this->enable_input_output_latency() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:2734:13: note: declared here inline bool ProfilerConfig::enable_input_output_latency() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1781:39: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations] if (this->trace_log_duration_events() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3001:13: note: declared here inline bool ProfilerConfig::trace_log_duration_events() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual size_t mediapipe::ProfilerConfig::ByteSizeLong() const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1863:41: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations] if (this->enable_input_output_latency() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:2734:13: note: declared here inline bool ProfilerConfig::enable_input_output_latency() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1918:39: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations] if (this->trace_log_duration_events() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3001:13: note: declared here inline bool ProfilerConfig::trace_log_duration_events() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'void mediapipe::ProfilerConfig::MergeFrom(const mediapipe::ProfilerConfig&)': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1979:40: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations] if (from.enable_input_output_latency() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:2734:13: note: declared here inline bool ProfilerConfig::enable_input_output_latency() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2006:38: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations] if (from.trace_log_duration_events() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3001:13: note: declared here inline bool ProfilerConfig::trace_log_duration_events() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual google::protobuf::uint8* mediapipe::CalculatorGraphConfig_Node::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2575:33: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations] if (this->has_profiler_config()) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3855:13: note: declared here inline bool CalculatorGraphConfig_Node::has_profiler_config() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual size_t mediapipe::CalculatorGraphConfig_Node::ByteSizeLong() const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2711:33: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations] if (this->has_profiler_config()) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3855:13: note: declared here inline bool CalculatorGraphConfig_Node::has_profiler_config() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'void mediapipe::CalculatorGraphConfig_Node::MergeFrom(const mediapipe::CalculatorGraphConfig_Node&)': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2797:32: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations] if (from.has_profiler_config()) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3855:13: note: declared here inline bool CalculatorGraphConfig_Node::has_profiler_config() const { [1,211 / 2,802] 128 actions, 8 running CcCmakeMakeRule third_party/opencv_cmake/include; 302s processwrapper-sandbox Compiling org_tensorflow/tensorflow/lite/kernels/concatenation.cc; 7s processwrapper-sandbox [1,339 / 2,802] CcCmakeMakeRule third_party/opencv_cmake/include; 306s processwrapper-sandbox interrupted (mp_env) root@b5edd09a19fd:/mediapipe# python3 setup.py bdist_wheel /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running bdist_wheel running build running build_binary_graphs generating binarypb: mediapipe/modules/face_detection/face_detection_short_range_cpu DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e" DEBUG: Repository rules_foreign_cc instantiated at: /mediapipe/WORKSPACE:42:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/44c890cd46fd9aad2b3bf4b13c5f36d8cff795c3.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02413e4a077107711ecc21458432e7c9ba63e75e63f3fa84ae4da2d6b2c82700" DEBUG: Repository rules_cc instantiated at: /mediapipe/WORKSPACE:36:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in DEBUG: Rule 'opencv' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1ed6f5b02a7baf14daca04817566e7c98ec668cec381e0edf534fa49f10f58a2" DEBUG: Repository opencv instantiated at: /mediapipe/WORKSPACE:188:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/d37128311b445e758136b8602d1bbd2a755e115d.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_short_range_cpu (1 packages loaded, 262 targets configured). INFO: Found 1 target... ERROR: /mediapipe/third_party/BUILD:97:15: CcCmakeMakeRule third_party/opencv_cmake/include failed (Exit 2): CMake_wrapper_script.sh failed: error executing command bazel-out/k8-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh Use --sandbox_debug to see verbose messages from the sandbox CMake_wrapper_script.sh failed: error executing command bazel-out/k8-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh Use --sandbox_debug to see verbose messages from the sandbox rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs: _____ BEGIN BUILD LOGS _____ Bazel external C/C++ Rules. Building library opencv_cmake Environment:______________ EXT_BUILD_ROOT=/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe INSTALLDIR=/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake PWD=/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe BUILD_TMPDIR=/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir TMPDIR=/tmp EXT_BUILD_DEPS=/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.ext_build_deps SHLVL=2 BUILD_LOG=bazel-out/k8-opt/bin/third_party/opencv_cmake_logs/CMake.log BUILD_SCRIPT=bazel-out/k8-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh PATH=/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe:/mediapipe/mp_env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PYTHON_BIN_PATH=/mediapipe/mp_env/bin/python3 _=/usr/bin/env __________________________ -- The CXX compiler identification is GNU 8.4.0 -- The C compiler identification is GNU 8.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/gcc - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: x86_64 -- Performing Test HAVE_CXX11 (check file: cmake/checks/cxx11.cpp) -- Performing Test HAVE_CXX11 - Success -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7") -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "2.7.17") Traceback (most recent call last): File "", line 1, in ImportError: No module named numpy.distutils -- Found PythonInterp: /mediapipe/mp_env/bin/python3 (found suitable version "3.6.9", minimum required is "3.2") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable exact version "3.6.9") -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR -- Performing Test HAVE_C_FSIGNED_CHAR - Success -- Performing Test HAVE_CXX_W -- Performing Test HAVE_CXX_W - Success -- Performing Test HAVE_C_W -- Performing Test HAVE_C_W - Success -- Performing Test HAVE_CXX_WALL -- Performing Test HAVE_CXX_WALL - Success -- Performing Test HAVE_C_WALL -- Performing Test HAVE_C_WALL - Success -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WERROR_ADDRESS -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success -- Performing Test HAVE_C_WERROR_ADDRESS -- Performing Test HAVE_C_WERROR_ADDRESS - Success -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_CXX_WFORMAT -- Performing Test HAVE_CXX_WFORMAT - Success -- Performing Test HAVE_C_WFORMAT -- Performing Test HAVE_C_WFORMAT - Success -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WUNDEF -- Performing Test HAVE_CXX_WUNDEF - Success -- Performing Test HAVE_C_WUNDEF -- Performing Test HAVE_C_WUNDEF - Success -- Performing Test HAVE_CXX_WINIT_SELF -- Performing Test HAVE_CXX_WINIT_SELF - Success -- Performing Test HAVE_C_WINIT_SELF -- Performing Test HAVE_C_WINIT_SELF - Success -- Performing Test HAVE_CXX_WPOINTER_ARITH -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success -- Performing Test HAVE_C_WPOINTER_ARITH -- Performing Test HAVE_C_WPOINTER_ARITH - Success -- Performing Test HAVE_CXX_WSHADOW -- Performing Test HAVE_CXX_WSHADOW - Success -- Performing Test HAVE_C_WSHADOW -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Failed -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success -- Performing Test HAVE_C_WSUGGEST_OVERRIDE -- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 -- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success -- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 -- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success -- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW -- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_WNO_LONG_LONG -- Performing Test HAVE_CXX_WNO_LONG_LONG - Success -- Performing Test HAVE_C_WNO_LONG_LONG -- Performing Test HAVE_C_WNO_LONG_LONG - Success -- Performing Test HAVE_CXX_PTHREAD -- Performing Test HAVE_CXX_PTHREAD - Success -- Performing Test HAVE_C_PTHREAD -- Performing Test HAVE_C_PTHREAD - Success -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_C_FOMIT_FRAME_POINTER -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_C_FFUNCTION_SECTIONS -- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_CXX_FDATA_SECTIONS -- Performing Test HAVE_CXX_FDATA_SECTIONS - Success -- Performing Test HAVE_C_FDATA_SECTIONS -- Performing Test HAVE_C_FDATA_SECTIONS - Success -- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp) -- Performing Test HAVE_CXX_MSSE - Success -- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp) -- Performing Test HAVE_CXX_MSSE2 - Success -- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CXX_MSSE3 - Success -- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CXX_MSSSE3 - Success -- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CXX_MSSE4_1 - Success -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CXX_MPOPCNT - Success -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CXX_MSSE4_2 - Success -- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_MF16C - Success -- Performing Test HAVE_CXX_MFMA -- Performing Test HAVE_CXX_MFMA - Success -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CXX_MAVX - Success -- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_MAVX2 - Success -- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CXX_MAVX512F - Success -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success -- Performing Test HAVE_LINK_AS_NEEDED -- Performing Test HAVE_LINK_AS_NEEDED - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.3") -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80") -- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34") -- Looking for /usr/include/libpng/png.h -- Looking for /usr/include/libpng/png.h - found -- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so -- Checking for module 'gtk+-3.0' -- No package 'gtk+-3.0' found -- Checking for module 'gtk+-2.0' -- Found gtk+-2.0, version 2.24.32 -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.56.4 -- Checking for modules 'gstreamer-base-1.0;gstreamer-video-1.0;gstreamer-app-1.0;gstreamer-riff-1.0;gstreamer-pbutils-1.0' -- No package 'gstreamer-base-1.0' found -- No package 'gstreamer-video-1.0' found -- No package 'gstreamer-app-1.0' found -- No package 'gstreamer-riff-1.0' found -- No package 'gstreamer-pbutils-1.0' found -- Checking for modules 'gstreamer-base-0.10;gstreamer-video-0.10;gstreamer-app-0.10;gstreamer-riff-0.10;gstreamer-pbutils-0.10' -- No package 'gstreamer-base-0.10' found -- No package 'gstreamer-video-0.10' found -- No package 'gstreamer-app-0.10' found -- No package 'gstreamer-riff-0.10' found -- No package 'gstreamer-pbutils-0.10' found -- Checking for module 'libdc1394-2' -- Found libdc1394-2, version 2.2.5 -- Looking for linux/videodev.h -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h -- Looking for linux/videodev2.h - found -- Looking for sys/videoio.h -- Looking for sys/videoio.h - not found -- Checking for modules 'libavcodec;libavformat;libavutil;libswscale' -- Found libavcodec, version 57.107.100 -- Found libavformat, version 57.83.100 -- Found libavutil, version 55.78.100 -- Found libswscale, version 4.8.100 -- Checking for module 'libavresample' -- Found libavresample, version 3.7.0 -- IPPICV: Download: ippicv_2020_lnx_intel64_20191018_general.tgz -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] -- at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir/3rdparty/ippicv/ippicv_lnx/icv -- found Intel IPP Integration Wrappers sources: 2020.0.0 -- at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir/3rdparty/ippicv/ippicv_lnx/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- Could NOT find LAPACK (missing: LAPACK_LIBRARIES) Reason given by package: LAPACK could not be found because dependency BLAS could not be found. -- Performing Test HAVE_CXX_WNO_DEPRECATED -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_SHADOW -- Performing Test HAVE_CXX_WNO_SHADOW - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_CXX_WNO_SIGN_PROMO -- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success -- Performing Test HAVE_CXX_WNO_UNDEF -- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success -- Performing Test HAVE_CXX_WNO_EXTRA -- Performing Test HAVE_CXX_WNO_EXTRA - Success -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success -- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS -- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS - Success -- Found JNI: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success -- Performing Test HAVE_C_WNO_SHADOW -- Performing Test HAVE_C_WNO_SHADOW - Success -- Using whitelist: opencv_calib3d;opencv_core;opencv_features2d;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_video;opencv_videoio -- Module opencv_dnn disabled by whitelist -- Module opencv_flann disabled by whitelist -- Module opencv_java_bindings_generator disabled by whitelist -- Module opencv_ml disabled by whitelist -- Module opencv_objdetect disabled by whitelist -- Module opencv_photo disabled by whitelist -- Module opencv_python_bindings_generator disabled by whitelist -- Module opencv_python_tests disabled by whitelist -- Module opencv_python3 disabled by whitelist -- Module opencv_shape disabled by whitelist -- Module opencv_stitching disabled by whitelist -- Module opencv_superres disabled by whitelist -- Module opencv_videostab disabled by whitelist -- Allocator metrics storage type: 'long long' -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success -- -- General configuration for OpenCV 3.4.10 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2021-07-20T14:01:21Z -- Host: Linux 5.4.0-77-generic x86_64 -- CMake: 3.19.6 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: Release -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (13 files): + SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (3 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (26 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX -- -- C/C++: -- Built as dynamic libs?: NO -- C++11: YES -- C++ Compiler: /usr/bin/gcc (ver 8.4.0) -- C++ flags (Release): -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -std=c++0x -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -w -std=c++17 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -std=c++0x -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -w -std=c++17 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -g -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/gcc -- C flags (Release): -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -w -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-unnamed-type-template-args -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -D_FORTIFY_SOURCE=1 -DNDEBUG -ffunction-sections -fdata-sections -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -w -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-unnamed-type-template-args -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -g -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -shared -fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lstdc++ -lm -Wl,--gc-sections -Wl,--gc-sections -Wl,--as-needed -- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -shared -fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lstdc++ -lm -Wl,--gc-sections -Wl,--gc-sections -Wl,--as-needed -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so /usr/lib/x86_64-linux-gnu/libdc1394.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libswscale.so /usr/lib/x86_64-linux-gnu/libavresample.so dl m pthread rt -- 3rdparty dependencies: ippiw ippicv -- -- OpenCV modules: -- To be built: calib3d core features2d highgui imgcodecs imgproc video videoio -- Disabled: world -- Disabled by dependency: dnn flann java_bindings_generator ml objdetect photo python3 python_bindings_generator python_tests shape stitching superres videostab -- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java js python2 ts viz -- Applications: apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- GTK+: YES (ver 2.24.32) -- GThread : YES (ver 2.56.4) -- GtkGlExt: NO -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11) -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80) -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.34) -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.0.9) -- OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 2_2) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- -- Video I/O: -- DC1394: YES (ver 2.2.5) -- FFMPEG: YES -- avcodec: YES (ver 57.107.100) -- avformat: YES (ver 57.83.100) -- avutil: YES (ver 55.78.100) -- swscale: YES (ver 4.8.100) -- avresample: YES (ver 3.7.0) -- GStreamer: NO -- libv4l/libv4l2: NO -- v4l/v4l2: linux/videodev2.h -- -- Parallel framework: pthreads -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir/3rdparty/ippicv/ippicv_lnx/icv -- Intel IPP IW: sources (2020.0.0) -- at: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir/3rdparty/ippicv/ippicv_lnx/iw -- Lapack: NO -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.5.1) -- -- OpenCL: YES (no extra features) -- Include path: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: /mediapipe/mp_env/bin/python3 (ver 3.6.9) -- Libraries: NO -- numpy: /mediapipe/mp_env/lib/python3.6/site-packages/numpy/core/include (ver 1.19.5) -- install path: - -- -- Python (for build): /usr/bin/python2.7 -- -- Java: -- ant: NO -- JNI: /usr/lib/jvm/java-8-openjdk-amd64/include /usr/lib/jvm/java-8-openjdk-amd64/include/linux /usr/lib/jvm/java-8-openjdk-amd64/include -- Java wrappers: NO -- Java tests: NO -- -- Install to: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir/opencv_cmake -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/bazel-out/k8-opt/bin/third_party/opencv_cmake.build_tmpdir Scanning dependencies of target gen-pkgconfig [ 0%] Generate opencv.pc [ 0%] Built target gen-pkgconfig Scanning dependencies of target ippiw [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image.c.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_all.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_rgbs.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_box.c.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_canny.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_gaussian.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_general.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_laplacian.c.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_morphology.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_scharr.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_sobel.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_channel.c.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_make_border.c.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_merge.c.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_split.c.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_scale.c.o [ 4%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set.c.o [ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set_channel.c.o [ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_swap_channels.c.o [ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_mirror.c.o [ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_resize.c.o [ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_rotate.c.o [ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_warpaffine.c.o [ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_own.c.o [ 6%] Linking C static library ../lib/libippiw.a [ 6%] Built target ippiw Scanning dependencies of target libprotobuf [ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o [ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arenastring.cc.o [ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o [ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_util.cc.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/coded_stream.cc.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream.cc.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.o [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_field.cc.o [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/bytestream.cc.o [ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/common.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/int128.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/once.cc.o [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/status.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/statusor.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringpiece.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringprintf.cc.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/structurally_valid.cc.o [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/strutil.cc.o [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/time.cc.o [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format_lite.cc.o [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.pb.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor_database.cc.o [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/duration.pb.cc.o [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/dynamic_message.cc.o [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/empty.pb.cc.o [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set_heavy.cc.o [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/field_mask.pb.cc.o [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_reflection.cc.o [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven.cc.o [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/gzip_stream.cc.o [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/printer.cc.o [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/strtod.cc.o [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/reflection_ops.cc.o [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/service.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/source_context.pb.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/struct.pb.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/mathlimits.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/substitute.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/type.pb.cc.o [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/unknown_field_set.cc.o [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/delimited_message_util.cc.o [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_comparator.cc.o [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_mask_util.cc.o [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/datapiece.cc.o [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/field_mask_utility.cc.o [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_escaping.cc.o [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_objectwriter.cc.o [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_stream_parser.cc.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/object_writer.cc.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/proto_writer.cc.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectsource.cc.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [ 22%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/type_info.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/utility.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/json_util.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/message_differencer.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/time_util.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/type_resolver_util.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wrappers.pb.cc.o [ 24%] Linking CXX static library ../lib/liblibprotobuf.a [ 24%] Built target libprotobuf Scanning dependencies of target quirc [ 24%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/decode.c.o [ 24%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/quirc.c.o [ 24%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/version_db.c.o [ 25%] Linking C static library ../lib/libquirc.a [ 25%] Built target quirc [ 26%] Processing OpenCL kernels (core) Scanning dependencies of target opencv_core [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/async.cpp.o [ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/bindings_utils.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/buffer_area.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.dispatch.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.dispatch.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.dispatch.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lut.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.dispatch.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_c.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_expressions.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_iterator.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_operations.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_sparse.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_wrap.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mean.dispatch.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.dispatch.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/minmax.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/norm.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdblas.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdfft.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o [ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o [ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o [ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o [ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_impl.cpp.o [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_base64.cpp.o [ 41%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_c.cpp.o [ 41%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_cpp.cpp.o [ 41%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_json.cpp.o [ 41%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_types.cpp.o [ 42%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_xml.cpp.o [ 42%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_yml.cpp.o [ 42%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o [ 42%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o [ 43%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.dispatch.cpp.o [ 43%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o [ 43%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o [ 43%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o [ 43%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/sum.dispatch.cpp.o [ 44%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o [ 44%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o [ 44%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o [ 44%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o [ 45%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o [ 45%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/datafile.cpp.o [ 45%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/filesystem.cpp.o [ 45%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/samples.cpp.o [ 46%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o [ 46%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 46%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.sse4_1.cpp.o [ 46%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/matmul.sse4_1.cpp.o [ 47%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.sse4_2.cpp.o [ 47%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx.cpp.o [ 47%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.o [ 47%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.o [ 47%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.avx2.cpp.o [ 48%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/convert.avx2.cpp.o [ 48%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/convert_scale.avx2.cpp.o [ 48%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/count_non_zero.avx2.cpp.o [ 48%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/matmul.avx2.cpp.o [ 49%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mean.avx2.cpp.o [ 49%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/merge.avx2.cpp.o [ 49%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/split.avx2.cpp.o [ 49%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/sum.avx2.cpp.o [ 50%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/matmul.avx512_skx.cpp.o [ 50%] Linking CXX static library ../../lib/libopencv_core.a [ 50%] Built target opencv_core [ 50%] Processing OpenCL kernels (imgproc) Scanning dependencies of target opencv_imgproc [ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o [ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o [ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o [ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.dispatch.cpp.o [ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o [ 52%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o [ 52%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o [ 52%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o [ 52%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o [ 53%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_hsv.dispatch.cpp.o [ 53%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o [ 53%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_rgb.dispatch.cpp.o [ 53%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_yuv.dispatch.cpp.o [ 53%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o [ 54%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o [ 54%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o [ 54%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o [ 54%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o [ 55%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o [ 55%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o [ 55%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o [ 55%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o [ 56%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o [ 56%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o [ 56%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o [ 56%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.dispatch.cpp.o [ 57%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o [ 57%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o [ 57%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o [ 57%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o [ 58%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o [ 58%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o [ 58%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o [ 58%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o [ 58%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o [ 59%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o [ 59%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o [ 59%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o [ 59%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o [ 60%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o [ 60%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/median_blur.dispatch.cpp.o [ 60%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o [ 60%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o [ 61%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.dispatch.cpp.o [ 61%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o [ 61%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o [ 61%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o [ 62%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o [ 62%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o [ 62%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o [ 62%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o [ 62%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.dispatch.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.dispatch.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o [ 64%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o [ 64%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o [ 64%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.dispatch.cpp.o [ 64%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.sse4_1.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.sse4_1.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.sse4_1.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/box_filter.sse4_1.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/filter.sse4_1.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_hsv.sse4_1.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_rgb.sse4_1.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_yuv.sse4_1.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/median_blur.sse4_1.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/morph.sse4_1.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/smooth.sse4_1.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.avx.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.avx2.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.avx2.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx2.cpp.o [ 69%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/bilateral_filter.avx2.cpp.o [ 69%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/box_filter.avx2.cpp.o [ 69%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/filter.avx2.cpp.o [ 69%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_hsv.avx2.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_rgb.avx2.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_yuv.avx2.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/median_blur.avx2.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/morph.avx2.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/smooth.avx2.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/sumpixels.avx2.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/undistort.avx2.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/sumpixels.avx512_skx.cpp.o [ 71%] Linking CXX static library ../../lib/libopencv_imgproc.a [ 71%] Built target opencv_imgproc [ 71%] Processing OpenCL kernels (video) Scanning dependencies of target opencv_video [ 71%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_KNN.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/camshift.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/compat_video.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/ecc.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/kalman.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/lkpyramid.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/opencl_kernels_video.cpp.o [ 73%] Linking CXX static library ../../lib/libopencv_video.a [ 73%] Built target opencv_video [ 73%] Processing OpenCL kernels (features2d) Scanning dependencies of target opencv_features2d [ 73%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast.cpp.o [ 74%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast_score.cpp.o [ 74%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/akaze.cpp.o [ 74%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/bagofwords.cpp.o [ 74%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/blobdetector.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/brisk.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/draw.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/dynamic.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.cpp.o [ 76%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast_score.cpp.o [ 76%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/feature2d.cpp.o [ 76%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/gftt.cpp.o [ 76%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/AKAZEFeatures.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/KAZEFeatures.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/fed.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/nldiffusion_functions.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/main.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o [ 79%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.cpp.o [ 79%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/opencl_kernels_features2d.cpp.o [ 79%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.avx2.cpp.o [ 79%] Linking CXX static library ../../lib/libopencv_features2d.a [ 79%] Built target opencv_features2d Scanning dependencies of target opencv_imgcodecs [ 79%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o In file included from /usr/include/OpenEXR/ImfChromaticities.h:46, from /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/modules/imgcodecs/src/grfmt_exr.hpp:52, from /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/modules/imgcodecs/src/grfmts.hpp:53, from /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/modules/imgcodecs/src/loadsave.cpp:47: /usr/include/OpenEXR/ImathVec.h:228:34: error: ISO C++17 does not allow dynamic exception specifications const Vec2 & normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:232:37: error: ISO C++17 does not allow dynamic exception specifications Vec2 normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:440:34: error: ISO C++17 does not allow dynamic exception specifications const Vec3 & normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:444:37: error: ISO C++17 does not allow dynamic exception specifications Vec3 normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:622:37: error: ISO C++17 does not allow dynamic exception specifications const Vec4 & normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:626:44: error: ISO C++17 does not allow dynamic exception specifications Vec4 normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:714:30: error: ISO C++17 does not allow dynamic exception specifications Vec2::normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:723:37: error: ISO C++17 does not allow dynamic exception specifications Vec2::normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:738:28: error: ISO C++17 does not allow dynamic exception specifications Vec2::normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:747:35: error: ISO C++17 does not allow dynamic exception specifications Vec2::normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:762:30: error: ISO C++17 does not allow dynamic exception specifications Vec3::normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:771:37: error: ISO C++17 does not allow dynamic exception specifications Vec3::normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:786:28: error: ISO C++17 does not allow dynamic exception specifications Vec3::normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:795:35: error: ISO C++17 does not allow dynamic exception specifications Vec3::normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:809:30: error: ISO C++17 does not allow dynamic exception specifications Vec4::normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:818:37: error: ISO C++17 does not allow dynamic exception specifications Vec4::normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:833:28: error: ISO C++17 does not allow dynamic exception specifications Vec4::normalizeExc () throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:842:35: error: ISO C++17 does not allow dynamic exception specifications Vec4::normalizedExc () const throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathVec.h:1212:26: error: ISO C++17 does not allow dynamic exception specifications Vec2::normalizeExc () throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathVec.h:1249:33: error: ISO C++17 does not allow dynamic exception specifications Vec2::normalizedExc () const throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathVec.h:1704:26: error: ISO C++17 does not allow dynamic exception specifications Vec3::normalizeExc () throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathVec.h:1743:33: error: ISO C++17 does not allow dynamic exception specifications Vec3::normalizedExc () const throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathVec.h:2109:26: error: ISO C++17 does not allow dynamic exception specifications Vec4::normalizeExc () throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathVec.h:2150:33: error: ISO C++17 does not allow dynamic exception specifications Vec4::normalizedExc () const throw (IEX_NAMESPACE::MathExc) ^~~~~ In file included from /usr/include/OpenEXR/ImfChromaticities.h:47, from /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/modules/imgcodecs/src/grfmt_exr.hpp:52, from /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/modules/imgcodecs/src/grfmts.hpp:53, from /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/sandbox/processwrapper-sandbox/1347/execroot/mediapipe/external/opencv/modules/imgcodecs/src/loadsave.cpp:47: /usr/include/OpenEXR/ImathMatrix.h:266:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:269:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:272:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:275:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:640:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:643:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:646:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:649:25: error: ISO C++17 does not allow dynamic exception specifications throw (IEX_NAMESPACE::MathExc); ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:1433:38: error: ISO C++17 does not allow dynamic exception specifications Matrix33::gjInvert (bool singExc) throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:1441:45: error: ISO C++17 does not allow dynamic exception specifications Matrix33::gjInverse (bool singExc) const throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:1545:36: error: ISO C++17 does not allow dynamic exception specifications Matrix33::invert (bool singExc) throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:1553:43: error: ISO C++17 does not allow dynamic exception specifications Matrix33::inverse (bool singExc) const throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:2702:38: error: ISO C++17 does not allow dynamic exception specifications Matrix44::gjInvert (bool singExc) throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:2710:45: error: ISO C++17 does not allow dynamic exception specifications Matrix44::gjInverse (bool singExc) const throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:2814:36: error: ISO C++17 does not allow dynamic exception specifications Matrix44::invert (bool singExc) throw (IEX_NAMESPACE::MathExc) ^~~~~ /usr/include/OpenEXR/ImathMatrix.h:2822:43: error: ISO C++17 does not allow dynamic exception specifications Matrix44::inverse (bool singExc) const throw (IEX_NAMESPACE::MathExc) ^~~~~ modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/build.make:81: recipe for target 'modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o' failed make[2]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o] Error 1 CMakeFiles/Makefile2:1697: recipe for target 'modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all' failed make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2 Makefile:181: recipe for target 'all' failed make: *** [all] Error 2 _____ END BUILD LOGS _____ rules_foreign_cc: Build wrapper script location: bazel-out/k8-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh rules_foreign_cc: Build script location: bazel-out/k8-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh rules_foreign_cc: Build log location: bazel-out/k8-opt/bin/third_party/opencv_cmake_logs/CMake.log Target //mediapipe/modules/face_detection:face_detection_short_range_cpu failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 951.652s, Critical Path: 943.21s INFO: 1583 processes: 6 internal, 1577 processwrapper-sandbox. FAILED: Build did NOT complete successfully ```

jiuqiant commented 3 years ago

It seems to be an opencv issue. See a similar one at https://github.com/alandefreitas/matplotplusplus/issues/33. You can try disabling OpenEXR by adding "WITH_OPENEXR": "OFF" at https://github.com/google/mediapipe/blob/master/third_party/BUILD#L110

luizhss commented 3 years ago

It fixed the bug. I'd to reinstall bazel and gcc. However, I'm facing a new issue now:

log error

``` /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running bdist_wheel running build running build_binary_graphs generating binarypb: mediapipe/modules/face_detection/face_detection_short_range_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_short_range_cpu (118 packages loaded, 18331 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/framework/calculator_profile.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_detections_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/non_max_suppression_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/non_max_suppression_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/image_to_tensor_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/internal/callback_packet_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_detections_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/calculator_profile.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/tool/calculator_graph_template.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/image_to_tensor_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/inference_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/inference_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/tool/calculator_graph_template.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/internal/callback_packet_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From Compiling mediapipe/framework/calculator.pb.cc [for host]: bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual google::protobuf::uint8* mediapipe::ProfilerConfig::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1714:41: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations] if (this->enable_input_output_latency() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:2734:13: note: declared here inline bool ProfilerConfig::enable_input_output_latency() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1781:39: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations] if (this->trace_log_duration_events() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3001:13: note: declared here inline bool ProfilerConfig::trace_log_duration_events() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual size_t mediapipe::ProfilerConfig::ByteSizeLong() const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1863:41: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations] if (this->enable_input_output_latency() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:2734:13: note: declared here inline bool ProfilerConfig::enable_input_output_latency() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1918:39: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations] if (this->trace_log_duration_events() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3001:13: note: declared here inline bool ProfilerConfig::trace_log_duration_events() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'void mediapipe::ProfilerConfig::MergeFrom(const mediapipe::ProfilerConfig&)': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:1979:40: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations] if (from.enable_input_output_latency() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:2734:13: note: declared here inline bool ProfilerConfig::enable_input_output_latency() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2006:38: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations] if (from.trace_log_duration_events() != 0) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3001:13: note: declared here inline bool ProfilerConfig::trace_log_duration_events() const { ^~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual google::protobuf::uint8* mediapipe::CalculatorGraphConfig_Node::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2575:33: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations] if (this->has_profiler_config()) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3855:13: note: declared here inline bool CalculatorGraphConfig_Node::has_profiler_config() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'virtual size_t mediapipe::CalculatorGraphConfig_Node::ByteSizeLong() const': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2711:33: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations] if (this->has_profiler_config()) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3855:13: note: declared here inline bool CalculatorGraphConfig_Node::has_profiler_config() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~ bazel-out/host/bin/mediapipe/framework/calculator.pb.cc: In member function 'void mediapipe::CalculatorGraphConfig_Node::MergeFrom(const mediapipe::CalculatorGraphConfig_Node&)': bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:2797:32: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations] if (from.has_profiler_config()) { ^ In file included from bazel-out/host/bin/mediapipe/framework/calculator.pb.cc:4: bazel-out/host/bin/mediapipe/framework/calculator.pb.h:3855:13: note: declared here inline bool CalculatorGraphConfig_Node::has_profiler_config() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~ Target //mediapipe/modules/face_detection:face_detection_short_range_cpu up-to-date: bazel-bin/mediapipe/modules/face_detection/libface_detection_short_range_cpu.lo bazel-bin/mediapipe/modules/face_detection/libface_detection_short_range_cpu.pic.lo bazel-bin/mediapipe/modules/face_detection/libface_detection_short_range_cpu.so INFO: Elapsed time: 1098.939s, Critical Path: 962.57s INFO: 2807 processes: 125 internal, 2682 linux-sandbox. INFO: Build completed successfully, 2807 total actions generating binarypb: mediapipe/modules/face_detection/face_detection_full_range_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_full_range_cpu (0 packages loaded, 27 targets configured). INFO: Found 1 target... Target //mediapipe/modules/face_detection:face_detection_full_range_cpu up-to-date: bazel-bin/mediapipe/modules/face_detection/libface_detection_full_range_cpu.lo bazel-bin/mediapipe/modules/face_detection/libface_detection_full_range_cpu.pic.lo bazel-bin/mediapipe/modules/face_detection/libface_detection_full_range_cpu.so INFO: Elapsed time: 13.622s, Critical Path: 5.72s INFO: 24 processes: 12 internal, 12 linux-sandbox. INFO: Build completed successfully, 24 total actions generating binarypb: mediapipe/modules/face_landmark/face_landmark_front_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/face_landmark:face_landmark_front_cpu (3 packages loaded, 301 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/calculators/core/split_vector_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/detections_to_rects_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/rect_transformation_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/thresholding_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/detections_to_rects_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/rect_transformation_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/landmarks_to_detection_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/constant_side_packet_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/landmark_projection_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/clip_vector_size_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_floats_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_landmarks_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/association_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/landmark_projection_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/thresholding_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/split_vector_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/collection_has_min_size_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/clip_vector_size_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_floats_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/constant_side_packet_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_landmarks_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/collection_has_min_size_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/landmarks_to_detection_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/association_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/gate_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/gate_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. Target //mediapipe/modules/face_landmark:face_landmark_front_cpu up-to-date: bazel-bin/mediapipe/modules/face_landmark/libface_landmark_front_cpu.lo bazel-bin/mediapipe/modules/face_landmark/libface_landmark_front_cpu.pic.lo bazel-bin/mediapipe/modules/face_landmark/libface_landmark_front_cpu.so INFO: Elapsed time: 58.180s, Critical Path: 57.55s INFO: 132 processes: 20 internal, 112 linux-sandbox. INFO: Build completed successfully, 132 total actions generating binarypb: mediapipe/modules/hand_landmark/hand_landmark_tracking_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/hand_landmark:hand_landmark_tracking_cpu (4 packages loaded, 152 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/calculators/tflite/tflite_custom_op_resolver_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tflite/tflite_custom_op_resolver_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_classification_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_classification_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/flow_limiter_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/core/flow_limiter_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. Target //mediapipe/modules/hand_landmark:hand_landmark_tracking_cpu up-to-date: bazel-bin/mediapipe/modules/hand_landmark/libhand_landmark_tracking_cpu.lo bazel-bin/mediapipe/modules/hand_landmark/libhand_landmark_tracking_cpu.pic.lo bazel-bin/mediapipe/modules/hand_landmark/libhand_landmark_tracking_cpu.so INFO: Elapsed time: 55.572s, Critical Path: 52.77s INFO: 73 processes: 24 internal, 49 linux-sandbox. INFO: Build completed successfully, 73 total actions generating binarypb: mediapipe/modules/holistic_landmark/holistic_landmark_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/holistic_landmark:holistic_landmark_cpu (5 packages loaded, 532 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/calculators/util/visibility_copy_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/visibility_copy_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/refine_landmarks_from_heatmap_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/refine_landmarks_from_heatmap_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/local_file_contents_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/tool/switch_container.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/local_file_contents_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/holistic_landmark/calculators/roi_tracking_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/framework/tool/switch_container.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/visibility_smoothing_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/holistic_landmark/calculators/roi_tracking_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/visibility_smoothing_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/landmarks_smoothing_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/landmarks_smoothing_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/image/image_transformation_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/image/image_transformation_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. Target //mediapipe/modules/holistic_landmark:holistic_landmark_cpu up-to-date: bazel-bin/mediapipe/modules/holistic_landmark/libholistic_landmark_cpu.lo bazel-bin/mediapipe/modules/holistic_landmark/libholistic_landmark_cpu.pic.lo bazel-bin/mediapipe/modules/holistic_landmark/libholistic_landmark_cpu.so INFO: Elapsed time: 56.294s, Critical Path: 51.58s INFO: 246 processes: 92 internal, 154 linux-sandbox. INFO: Build completed successfully, 246 total actions generating binarypb: mediapipe/modules/objectron/objectron_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/objectron:objectron_cpu (2 packages loaded, 155 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/modules/objectron/calculators/frame_annotation_to_rect_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/detection_label_id_to_text_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/objectron/calculators/lift_2d_frame_annotation_to_3d_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/objectron/calculators/frame_annotation_to_rect_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/util/detection_label_id_to_text_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/objectron/calculators/filter_detection_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/objectron/calculators/lift_2d_frame_annotation_to_3d_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/modules/objectron/calculators/filter_detection_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. Target //mediapipe/modules/objectron:objectron_cpu up-to-date: bazel-bin/mediapipe/modules/objectron/libobjectron_cpu.lo bazel-bin/mediapipe/modules/objectron/libobjectron_cpu.pic.lo bazel-bin/mediapipe/modules/objectron/libobjectron_cpu.so INFO: Elapsed time: 46.004s, Critical Path: 44.40s INFO: 73 processes: 16 internal, 57 linux-sandbox. INFO: Build completed successfully, 73 total actions generating binarypb: mediapipe/modules/pose_landmark/pose_landmark_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/pose_landmark:pose_landmark_cpu (0 packages loaded, 0 targets configured). INFO: Found 1 target... Target //mediapipe/modules/pose_landmark:pose_landmark_cpu up-to-date: bazel-bin/mediapipe/modules/pose_landmark/libpose_landmark_cpu.lo bazel-bin/mediapipe/modules/pose_landmark/libpose_landmark_cpu.pic.lo bazel-bin/mediapipe/modules/pose_landmark/libpose_landmark_cpu.so INFO: Elapsed time: 17.031s, Critical Path: 8.20s INFO: 8 processes: 4 internal, 4 linux-sandbox. INFO: Build completed successfully, 8 total actions generating binarypb: mediapipe/modules/selfie_segmentation/selfie_segmentation_cpu DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/modules/selfie_segmentation:selfie_segmentation_cpu (1 packages loaded, 44 targets configured). INFO: Found 1 target... INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_segmentation_calculator.pb.h: bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist. INFO: From ProtoCompile mediapipe/calculators/tensor/tensors_to_segmentation_calculator.pb.h [for host]: bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist. Target //mediapipe/modules/selfie_segmentation:selfie_segmentation_cpu up-to-date: bazel-bin/mediapipe/modules/selfie_segmentation/libselfie_segmentation_cpu.lo bazel-bin/mediapipe/modules/selfie_segmentation/libselfie_segmentation_cpu.pic.lo bazel-bin/mediapipe/modules/selfie_segmentation/libselfie_segmentation_cpu.so INFO: Elapsed time: 9.231s, Critical Path: 8.88s INFO: 30 processes: 12 internal, 18 linux-sandbox. INFO: Build completed successfully, 30 total actions running build_ext bazel build --compilation_mode=opt --copt=-DNDEBUG --define=MEDIAPIPE_DISABLE_GPU=1 --action_env=PYTHON_BIN_PATH=/home/ubuntao/venvs/mp_env/bin/python3 //mediapipe/python:_framework_bindings.so --define=OPENCV=source DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/ubuntao/.cache/bazel/_bazel_ubuntao/89156bf447dc9f84e83dd7beb25a0e30/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. INFO: Analyzed target //mediapipe/python:_framework_bindings.so (4 packages loaded, 93 targets configured). INFO: Found 1 target... ERROR: /home/ubuntao/mediapipe/mediapipe/python/BUILD:19:17: Linking of rule '//mediapipe/python:_framework_bindings.so' failed (Exit 1): gcc failed: error executing command /usr/bin/gcc @bazel-out/k8-opt/bin/mediapipe/python/_framework_bindings.so-2.params Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command /usr/bin/gcc @bazel-out/k8-opt/bin/mediapipe/python/_framework_bindings.so-2.params Use --sandbox_debug to see verbose messages from the sandbox /usr/bin/ld.gold: error: cannot find -lImath /usr/bin/ld.gold: error: cannot find -lIlmImf /usr/bin/ld.gold: error: cannot find -lIex /usr/bin/ld.gold: error: cannot find -lHalf /usr/bin/ld.gold: error: cannot find -lIlmThread /usr/bin/ld.gold: error: cannot find -lavresample collect2: error: ld returned 1 exit status Target //mediapipe/python:_framework_bindings.so failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 44.657s, Critical Path: 42.88s INFO: 32 processes: 10 internal, 22 linux-sandbox. FAILED: Build did NOT complete successfully error: command 'bazel' failed with exit status 1 ```

luizhss commented 3 years ago

Solved the error using this comment.

sgowroji commented 3 years ago

Glad to know you resolved. We are closing this issue now.

google-ml-butler[bot] commented 3 years ago

Are you satisfied with the resolution of your issue? Yes No