Created
November 9, 2022 12:56
-
-
Save plashchynski/1dd9922c238a9961d66854d65dcdaa14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@6c168ef8ff06:/mediapipe# bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --copt -I/usr/include/opencv4/ mediapipe/examples/desktop/iris_tracking:iris_tracking_cpu_video_input | |
Extracting Bazel installation... | |
Starting local Bazel server and connecting to it... | |
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:49:13: in <toplevel> | |
Repository rule http_archive defined at: | |
/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in <toplevel> | |
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found | |
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/8700849191dea2ca9c12a3d26ec41fac0814671b.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found | |
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/131dda9acc6978aba4740d75ca45f411fbabd726.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132: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:132:14: | |
Warning: skipping import of repository 'com_google_benchmark' because it already exists. | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132:14: | |
Warning: skipping import of repository 'flatbuffers' because it already exists. | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132:14: | |
Warning: skipping import of repository 'pybind11_bazel' because it already exists. | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132:14: | |
Warning: skipping import of repository 'com_googlesource_code_re2' because it already exists. | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132: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:132: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:132: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:132:14: | |
Warning: skipping import of repository 'zlib' because it already exists. | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132: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:132: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:132: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:132:14: | |
Warning: skipping import of repository 'xctestrunner' because it already exists. | |
DEBUG: /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/third_party/repo.bzl:132:14: | |
Warning: skipping import of repository 'pybind11' because it already exists. | |
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "691a29db9c336349e48e04c5c2f4873f2890af5cbfa6e51f4de87fefe6169294" | |
DEBUG: Repository rules_cc instantiated at: | |
/mediapipe/WORKSPACE:42:13: in <toplevel> | |
Repository rule http_archive defined at: | |
/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in <toplevel> | |
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:185:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use. | |
WARNING: /mediapipe/mediapipe/framework/BUILD:54:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use. | |
INFO: Analyzed target //mediapipe/examples/desktop/iris_tracking:iris_tracking_cpu_video_input (144 packages loaded, 5857 targets configured). | |
INFO: Found 1 target... | |
INFO: From Compiling mediapipe/framework/deps/status_builder.cc [for host]: | |
mediapipe/framework/deps/status_builder.cc: In lambda function: | |
mediapipe/framework/deps/status_builder.cc:97:3: warning: control reaches end of non-void function [-Wreturn-type] | |
}()); | |
^ | |
INFO: From Compiling mediapipe/framework/tool/message_type_util.cc [for host]: | |
mediapipe/framework/tool/message_type_util.cc: In static member function 'static int mediapipe::DescriptorReader::MatchingPrefixLength(const string&, const string&)': | |
mediapipe/framework/tool/message_type_util.cc:66:14: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare] | |
while (i < std::min(s.size(), t.size()) && s[i] == t[i]) { | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ERROR: /mediapipe/mediapipe/calculators/video/BUILD:198:11: Compiling mediapipe/calculators/video/opencv_video_decoder_calculator.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -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 ... (remaining 58 arguments skipped) | |
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging | |
In file included from mediapipe/calculators/video/opencv_video_decoder_calculator.cc:23: | |
./mediapipe/framework/port/opencv_video_inc.h:88:10: fatal error: opencv2/optflow.hpp: No such file or directory | |
#include <opencv2/optflow.hpp> | |
^~~~~~~~~~~~~~~~~~~~~ | |
compilation terminated. | |
Target //mediapipe/examples/desktop/iris_tracking:iris_tracking_cpu_video_input failed to build | |
Use --verbose_failures to see the command lines of failed build steps. | |
INFO: Elapsed time: 253.178s, Critical Path: 127.87s | |
INFO: 1398 processes: 391 internal, 1007 processwrapper-sandbox. | |
FAILED: Build did NOT complete successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment