Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build ("bazel build") on Intel Mac #439

Closed
DonghwanKIM0101 opened this issue Jan 31, 2022 · 8 comments
Closed

Unable to build ("bazel build") on Intel Mac #439

DonghwanKIM0101 opened this issue Jan 31, 2022 · 8 comments
Labels
type:build/install Cannot build/install the plugin

Comments

@DonghwanKIM0101
Copy link
Contributor

Plugin Version or Commit ID

v0.8.2

Unity Version

2020.3.25f1

Your Host OS

macOS Monterey 12.1

Target Platform

UnityEditor

[Windows Only] Visual Studio C++ and Windows SDK Version

No response

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

No response

Command Sequences

System Information

  • bazel version: bazel 5.0.0-homebrew
  • python version: 3.9.10
  • NuGet version: 6.0.0.280
  • GCC/G++ version: 4.2.1

Describe the problem

When I do python3.9 build.py build --desktop cpu --include_opencv_libs -vv, it return error. It seems to be error by bazel build -c opt --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 --@opencv//:switch=local //mediapipe_api:mediapipe_desktop.

I cannot understand the error message well, so it's hard to find similar issue post. What should I do?

I just use the latest version from c4de7fd.

Log

INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running `bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcs`                                                   Starting local Bazel server and connecting to it...
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_benchmark' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'xctestrunner' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:31:23: in <toplevel>
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) = 3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:96:13: in <toplevel>
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //mediapipe_api:mediapipe_proto_srcs (49 packages loaded, 728 targets configured).
INFO: Found 1 target...
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.lo [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking external/com_google_protobuf/libprotobuf.lo [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_protobuf/_objs/protobuf/error_listener.o has no symbols
Target //mediapipe_api:mediapipe_proto_srcs up-to-date:
  bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip
INFO: Elapsed time: 98.443s, Critical Path: 31.72s
INFO: 228 processes: 17 internal, 211 darwin-sandbox.
INFO: Build completed successfully, 228 total actions
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip' to 'build/Scripts/Protobuf'...
INFO (build.py): Built protobuf sources
INFO (build.py): Downloading dlls...
DEBUG (build.py): Running `nuget install -o .nuget -Source https://api.nuget.org/v3/index.json`
Feeds used:
  /Users/kimdonghwan/.nuget/packages/
  https://api.nuget.org/v3/index.json

Restoring NuGet package Google.Protobuf.3.19.1.
Adding package 'Google.Protobuf.3.19.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'Google.Protobuf.3.19.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package System.Buffers.4.4.0.
Adding package 'System.Buffers.4.4.0' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'System.Buffers.4.4.0' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package System.Memory.4.5.3.
Adding package 'System.Memory.4.5.3' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'System.Memory.4.5.3' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package System.Runtime.CompilerServices.Unsafe.4.5.2.
Adding package 'System.Runtime.CompilerServices.Unsafe.4.5.2' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'System.Runtime.CompilerServices.Unsafe.4.5.2' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package Microsoft.Unity.Analyzers.1.11.1.
Adding package 'Microsoft.Unity.Analyzers.1.11.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'Microsoft.Unity.Analyzers.1.11.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package ErrorProne.NET.CoreAnalyzers.0.4.0-beta.1.
Adding package 'ErrorProne.NET.CoreAnalyzers.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'ErrorProne.NET.CoreAnalyzers.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package ErrorProne.NET.Structs.0.4.0-beta.1.
Adding package 'ErrorProne.NET.Structs.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'ErrorProne.NET.Structs.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
DEBUG (build.py): Copying '.nuget/System.Buffers.4.4.0/lib/netstandard2.0/System.Buffers.dll' to 'build/Plugins/Protobuf/System.Buffers.dll'...
DEBUG (build.py): Creating 'build/Plugins/Protobuf'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Buffers.dll'...
DEBUG (build.py): Copying '.nuget/Google.Protobuf.3.19.1/lib/netstandard2.0/Google.Protobuf.dll' to 'build/Plugins/Protobuf/Google.Protobuf.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/Google.Protobuf.dll'...
DEBUG (build.py): Copying '.nuget/System.Runtime.CompilerServices.Unsafe.4.5.2/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll' to 'build/Plugins/Protobuf/System.Runtime.CompilerServices.Unsafe.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Runtime.CompilerServices.Unsafe.dll'...
DEBUG (build.py): Copying '.nuget/System.Memory.4.5.3/lib/netstandard2.0/System.Memory.dll' to 'build/Plugins/Protobuf/System.Memory.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Memory.dll'...
INFO (build.py): Downloaded protobuf dlls
INFO (build.py): Building resource files
DEBUG (build.py): Running `bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_assets`
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_benchmark' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'xctestrunner' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:31:23: in <toplevel>
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:96:13: in <toplevel>
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //mediapipe_api:mediapipe_assets (10 packages loaded, 29 targets configured).
INFO: Found 1 target...
Target //mediapipe_api:mediapipe_assets up-to-date:
  bazel-bin/mediapipe_api/mediapipe_assets.zip
INFO: Elapsed time: 4.709s, Critical Path: 4.22s
INFO: 26 processes: 1 internal, 25 darwin-sandbox.
INFO: Build completed successfully, 26 total actions
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_assets.zip' to 'build/Resources'...
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_assets.zip' to 'Assets/StreamingAssets'...
INFO (build.py): Built resource files
INFO (build.py): Building native libraries for Desktop...
DEBUG (build.py): Running `bazel build -c opt --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 --@opencv//:switch=local //mediapipe_api:mediapipe_desktop`
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_benchmark' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'xctestrunner' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Build option --define has changed, discarding analysis cache.
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:96:13: in <toplevel>
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:31:23: in <toplevel>
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
WARNING: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/com_google_mediapipe/mediapipe/framework/BUILD:54:24: in cc_library rule @com_google_mediapipe//mediapipe/framework:calculator_cc_proto: target '@com_google_mediapipe//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/com_google_mediapipe/mediapipe/framework/tool/BUILD:182:24: in cc_library rule @com_google_mediapipe//mediapipe/framework/tool:field_data_cc_proto: target '@com_google_mediapipe//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe_api:mediapipe_desktop (124 packages loaded, 7670 targets configured).
INFO: Found 1 target...
INFO: From Compiling src/raw_logging.cc [for host]:
external/com_github_glog_glog/src/raw_logging.cc:139:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
  safe_write(STDERR_FILENO, buffer, strlen(buffer));
  ^
external/com_github_glog_glog/src/raw_logging.cc:63:34: note: expanded from macro 'safe_write'
# define safe_write(fd, s, len)  syscall(SYS_write, fd, s, len)
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);
         ^
1 warning generated.
INFO: From Compiling src/utilities.cc [for host]:
external/com_github_glog_glog/src/utilities.cc:251:17: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    pid_t tid = syscall(__NR_gettid);
                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);
         ^
1 warning generated.
INFO: From Linking external/com_google_absl/absl/types/libbad_variant_access.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/types/_objs/bad_variant_access/bad_variant_access.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/types/libbad_variant_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_absl/absl/types/libbad_optional_access.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/types/_objs/bad_optional_access/bad_optional_access.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/types/libbad_optional_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_absl/absl/debugging/libdebugging_internal.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/elf_mem_image.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/vdso_support.o has no symbols
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.lo:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt-exec-50AE0418/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking external/com_google_protobuf/libprotobuf.lo:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt-exec-50AE0418/bin/external/com_google_protobuf/_objs/protobuf/error_listener.o has no symbols
INFO: From Linking external/com_google_absl/absl/strings/libstrings.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/strings/_objs/strings/string_view.o has no symbols
INFO: From Linking external/com_google_absl/absl/flags/libflag.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/flags/_objs/flag/flag.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/flags/libflag.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Compiling mediapipe/framework/deps/ret_check.cc [for host]:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.cc:15:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:77:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() const&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.cc:15:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:78:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() &&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
2 warnings generated.
INFO: From Compiling mediapipe/framework/deps/status_builder.cc [for host]:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:15:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:77:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() const&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:15:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:78:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() &&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:57:25: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
StatusBuilder::operator Status() const& {
                        ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:64:25: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
StatusBuilder::operator Status() && {
                        ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:82:10: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  return Status(status_.code(), message);
         ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
5 warnings generated.
INFO: From Compiling mediapipe/framework/tool/text_to_binary_graph.cc [for host]:
In file included from external/com_google_mediapipe/mediapipe/framework/tool/text_to_binary_graph.cc:27:
In file included from external/com_google_mediapipe/mediapipe/framework/port/ret_check.h:18:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:77:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() const&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from external/com_google_mediapipe/mediapipe/framework/tool/text_to_binary_graph.cc:27:
In file included from external/com_google_mediapipe/mediapipe/framework/port/ret_check.h:18:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:78:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() &&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
2 warnings generated.
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.pic.lo:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.pic.o has no symbols
INFO: From Linking external/XNNPACK/libf16c_prod_microkernels.pic.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (vcvt-f16c-x16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/f16c_prod_microkernels/0/vcvt-f16c-x16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/f16c_prod_microkernels/1/vcvt-f16c-x16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
ERROR: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/com_google_mediapipe/mediapipe/modules/face_detection/BUILD:72:26: Executing genrule @com_google_mediapipe//mediapipe/modules/face_detection:face_detection_short_range_common_inc failed: (Segmentation fault): bash failed: error executing command 
  (cd /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/sandbox/darwin-sandbox/1280/execroot/mediapipe_api && \
  exec env - \
    PATH='/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Users/kimdonghwan/opt/anaconda3/bin:/Users/kimdonghwan/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/kimdonghwan/Desktop/nsml_client.darwin.amd64.hack:/Users/kimdonghwan/Library/Mobile\ Documents/com\~apple\~CloudDocs/KAIST/2020\ fall/CS492/nsml_client.darwin.amd64.hack' \
  /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/tool/encode_as_c_string "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_common.binarypb" > "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_common.inc"')
Execution platform: @local_execution_config_platform//:platform

Use --sandbox_debug to see verbose messages from the sandbox
/bin/bash: line 1: 74549 Segmentation fault: 11  bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/tool/encode_as_c_string "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_common.binarypb" > "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_common.inc"
Target //mediapipe_api:mediapipe_desktop failed to build
INFO: Elapsed time: 103.367s, Critical Path: 81.62s
INFO: 2268 processes: 1216 internal, 1052 darwin-sandbox.
FAILED: Build did NOT complete successfully
Traceback (most recent call last):
  File "/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/build.py", line 451, in <module>
    Argument().command().run()
  File "/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/build.py", line 142, in run
    self._run_command(self._build_desktop_commands())
  File "/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/build.py", line 53, in _run_command
    return subprocess.run(' '.join(command_list), check=True, shell=shell)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'bazel build -c opt --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 --@opencv//:switch=local //mediapipe_api:mediapipe_desktop' returned non-zero exit status 1.

Additional Context

No response

@DonghwanKIM0101 DonghwanKIM0101 added the type:build/install Cannot build/install the plugin label Jan 31, 2022
@homuler
Copy link
Owner

homuler commented Feb 2, 2022

/bin/bash: line 1: 74549 Segmentation fault: 11 bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/tool/encode_as_c_string "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_common.binarypb" > "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_common.inc"

Probably I cannot identify the cause of Segmentation Fault without your PC.
However, it seems that you are not using the specified version of bazel (i.e. 4.2.1) (maybe you igonred the 4th step), so changing the version may fix the problem.

@DonghwanKIM0101
Copy link
Contributor Author

I changed bazel version to 4.2.1

But, sadly another Segmentation Fault is return.

It's result of python3.9 build.py build --desktop cpu --include_opencv_libs -vv

INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running `bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcs`
Starting local Bazel server and connecting to it...
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_benchmark' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'xctestrunner' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:31:23: in <toplevel>
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) = 3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:96:13: in <toplevel>
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //mediapipe_api:mediapipe_proto_srcs (49 packages loaded, 728 targets configured).
INFO: Found 1 target...
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.lo [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking external/com_google_protobuf/libprotobuf.lo [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_protobuf/_objs/protobuf/error_listener.o has no symbols
Target //mediapipe_api:mediapipe_proto_srcs up-to-date:
  bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip
INFO: Elapsed time: 87.198s, Critical Path: 32.45s
INFO: 228 processes: 17 internal, 211 darwin-sandbox.
INFO: Build completed successfully, 228 total actions
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip' to 'build/Scripts/Protobuf'...
INFO (build.py): Built protobuf sources
INFO (build.py): Downloading dlls...
DEBUG (build.py): Running `nuget install -o .nuget -Source https://api.nuget.org/v3/index.json`
Feeds used:
  /Users/kimdonghwan/.nuget/packages/
  https://api.nuget.org/v3/index.json

Restoring NuGet package Google.Protobuf.3.19.1.
Adding package 'Google.Protobuf.3.19.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'Google.Protobuf.3.19.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package System.Buffers.4.4.0.
Adding package 'System.Buffers.4.4.0' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'System.Buffers.4.4.0' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package System.Memory.4.5.3.
Adding package 'System.Memory.4.5.3' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'System.Memory.4.5.3' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package System.Runtime.CompilerServices.Unsafe.4.5.2.
Adding package 'System.Runtime.CompilerServices.Unsafe.4.5.2' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'System.Runtime.CompilerServices.Unsafe.4.5.2' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package Microsoft.Unity.Analyzers.1.11.1.
Adding package 'Microsoft.Unity.Analyzers.1.11.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'Microsoft.Unity.Analyzers.1.11.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package ErrorProne.NET.CoreAnalyzers.0.4.0-beta.1.
Adding package 'ErrorProne.NET.CoreAnalyzers.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'ErrorProne.NET.CoreAnalyzers.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Restoring NuGet package ErrorProne.NET.Structs.0.4.0-beta.1.
Adding package 'ErrorProne.NET.Structs.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
Added package 'ErrorProne.NET.Structs.0.4.0-beta.1' to folder '/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/.nuget'
DEBUG (build.py): Copying '.nuget/System.Buffers.4.4.0/lib/netstandard2.0/System.Buffers.dll' to 'build/Plugins/Protobuf/System.Buffers.dll'...
DEBUG (build.py): Creating 'build/Plugins/Protobuf'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Buffers.dll'...
DEBUG (build.py): Copying '.nuget/Google.Protobuf.3.19.1/lib/netstandard2.0/Google.Protobuf.dll' to 'build/Plugins/Protobuf/Google.Protobuf.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/Google.Protobuf.dll'...
DEBUG (build.py): Copying '.nuget/System.Runtime.CompilerServices.Unsafe.4.5.2/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll' to 'build/Plugins/Protobuf/System.Runtime.CompilerServices.Unsafe.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Runtime.CompilerServices.Unsafe.dll'...
DEBUG (build.py): Copying '.nuget/System.Memory.4.5.3/lib/netstandard2.0/System.Memory.dll' to 'build/Plugins/Protobuf/System.Memory.dll'...
DEBUG (build.py): Changing the mode of 'build/Plugins/Protobuf/System.Memory.dll'...
INFO (build.py): Downloaded protobuf dlls
INFO (build.py): Building resource files
DEBUG (build.py): Running `bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_assets`
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_benchmark' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'xctestrunner' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:31:23: in <toplevel>
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:96:13: in <toplevel>
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //mediapipe_api:mediapipe_assets (10 packages loaded, 29 targets configured).
INFO: Found 1 target...
Target //mediapipe_api:mediapipe_assets up-to-date:
  bazel-bin/mediapipe_api/mediapipe_assets.zip
INFO: Elapsed time: 4.337s, Critical Path: 3.89s
INFO: 26 processes: 1 internal, 25 darwin-sandbox.
INFO: Build completed successfully, 26 total actions
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_assets.zip' to 'build/Resources'...
DEBUG (build.py): Unarchiving 'bazel-bin/mediapipe_api/mediapipe_assets.zip' to 'Assets/StreamingAssets'...
INFO (build.py): Built resource files
INFO (build.py): Building native libraries for Desktop...
DEBUG (build.py): Running `bazel build -c opt --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 --@opencv//:switch=local //mediapipe_api:mediapipe_desktop`
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_benchmark' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'xctestrunner' because it already exists.
DEBUG: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/org_tensorflow/third_party/repo.bzl:122:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Build option --define has changed, discarding analysis cache.
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:96:13: in <toplevel>
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  /Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/WORKSPACE:31:23: in <toplevel>
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
  /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
WARNING: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/com_google_mediapipe/mediapipe/framework/BUILD:54:24: in cc_library rule @com_google_mediapipe//mediapipe/framework:calculator_cc_proto: target '@com_google_mediapipe//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/com_google_mediapipe/mediapipe/framework/tool/BUILD:182:24: in cc_library rule @com_google_mediapipe//mediapipe/framework/tool:field_data_cc_proto: target '@com_google_mediapipe//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe_api:mediapipe_desktop (124 packages loaded, 7670 targets configured).
INFO: Found 1 target...
INFO: From Compiling src/raw_logging.cc [for host]:
external/com_github_glog_glog/src/raw_logging.cc:139:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
  safe_write(STDERR_FILENO, buffer, strlen(buffer));
  ^
external/com_github_glog_glog/src/raw_logging.cc:63:34: note: expanded from macro 'safe_write'
# define safe_write(fd, s, len)  syscall(SYS_write, fd, s, len)
                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);
         ^
1 warning generated.
INFO: From Linking external/com_google_protobuf/libprotobuf.lo:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt-exec-50AE0418/bin/external/com_google_protobuf/_objs/protobuf/error_listener.o has no symbols
INFO: From Compiling src/utilities.cc [for host]:
external/com_github_glog_glog/src/utilities.cc:251:17: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
    pid_t tid = syscall(__NR_gettid);
                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);
         ^
1 warning generated.
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.lo:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt-exec-50AE0418/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking external/com_google_absl/absl/types/libbad_optional_access.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/types/_objs/bad_optional_access/bad_optional_access.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/types/libbad_optional_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_absl/absl/debugging/libdebugging_internal.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/elf_mem_image.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/vdso_support.o has no symbols
INFO: From Linking external/com_google_absl/absl/types/libbad_variant_access.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/types/_objs/bad_variant_access/bad_variant_access.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/types/libbad_variant_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_absl/absl/strings/libstrings.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/strings/_objs/strings/string_view.o has no symbols
INFO: From Compiling mediapipe/framework/deps/ret_check.cc [for host]:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.cc:15:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:77:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() const&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.cc:15:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:78:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() &&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
2 warnings generated.
INFO: From Compiling mediapipe/framework/deps/status_builder.cc [for host]:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:15:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:77:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() const&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:15:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:78:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() &&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:57:25: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
StatusBuilder::operator Status() const& {
                        ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:64:25: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
StatusBuilder::operator Status() && {
                        ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.cc:82:10: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  return Status(status_.code(), message);
         ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
5 warnings generated.
INFO: From Linking external/com_google_absl/absl/flags/libflag.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/flags/_objs/flag/flag.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/flags/libflag.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Compiling mediapipe/framework/tool/text_to_binary_graph.cc [for host]:
In file included from external/com_google_mediapipe/mediapipe/framework/tool/text_to_binary_graph.cc:27:
In file included from external/com_google_mediapipe/mediapipe/framework/port/ret_check.h:18:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:77:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() const&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from external/com_google_mediapipe/mediapipe/framework/tool/text_to_binary_graph.cc:27:
In file included from external/com_google_mediapipe/mediapipe/framework/port/ret_check.h:18:
In file included from external/com_google_mediapipe/mediapipe/framework/deps/ret_check.h:19:
external/com_google_mediapipe/mediapipe/framework/deps/status_builder.h:78:12: warning: 'Status' is deprecated: Use absl::Status directly [-Wdeprecated-declarations]
  operator Status() &&;
           ^
external/com_google_mediapipe/mediapipe/framework/deps/status.h:30:14: note: 'Status' has been explicitly marked deprecated here
using Status ABSL_DEPRECATED("Use absl::Status directly") = absl::Status;
             ^
external/com_google_absl/absl/base/attributes.h:648:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
2 warnings generated.
INFO: From Linking external/XNNPACK/libxop_prod_microkernels.pic.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/5/1x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/1x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/1x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/2/1x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/2/1x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/1x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/1x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/3/1x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/3/1x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/4/1x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (2x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/3/2x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/2x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (2x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/2x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/2x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (2x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/2x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/4/2x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (2x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/4/2x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/2/2x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (2x4c8-minmax-fp32-xop-ld64.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/2/2x4c8-minmax-fp32-xop-ld64.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/5/2x4c8-minmax-fp32-xop-ld64.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (minmax-xop-mul32-ld32-x8.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/3/minmax-xop-mul32-ld32-x8.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/minmax-xop-mul32-ld32-x8.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (minmax-xop-mul32-ld32-x8.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/minmax-xop-mul32-ld32-x8.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/minmax-xop-mul32-ld32-x8.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (minmax-xop-mul32-ld32-x8.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/minmax-xop-mul32-ld32-x8.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/2/minmax-xop-mul32-ld32-x8.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (up16x25-minmax-fp32-xop-mul16-add16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/up16x25-minmax-fp32-xop-mul16-add16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/up16x25-minmax-fp32-xop-mul16-add16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (up16x9-minmax-fp32-xop-mul16-add16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/1/up16x9-minmax-fp32-xop-mul16-add16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/xop_prod_microkernels/0/up16x9-minmax-fp32-xop-mul16-add16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
INFO: From Linking external/com_google_absl/absl/flags/libflag.pic.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/_objs/flag/flag.pic.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/darwin-opt/bin/external/com_google_absl/absl/flags/libflag.pic.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.pic.lo:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.pic.o has no symbols
INFO: From Linking external/XNNPACK/libavx512skx_prod_microkernels.pic.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/3/1x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/5/1x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/5/1x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/1x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/1x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/1x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/1x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/4/1x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (1x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/4/1x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/1x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (4x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/3/4x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/5/4x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (4x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/5/4x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/4x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (4x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/4x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/4/4x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (4x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/4/4x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/4x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (4x16c8-minmax-fp32-avx512skx.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/4x16c8-minmax-fp32-avx512skx.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/4x16c8-minmax-fp32-avx512skx.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (minmax-avx512skx-mul32-ld128-x16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/minmax-avx512skx-mul32-ld128-x16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/minmax-avx512skx-mul32-ld128-x16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (minmax-avx512skx-mul32-ld128-x16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/minmax-avx512skx-mul32-ld128-x16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/minmax-avx512skx-mul32-ld128-x16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (minmax-avx512skx-mul32-ld128-x16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/minmax-avx512skx-mul32-ld128-x16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/3/minmax-avx512skx-mul32-ld128-x16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (up32x25-minmax-fp32-avx512skx-mul32.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/up32x25-minmax-fp32-avx512skx-mul32.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/up32x25-minmax-fp32-avx512skx-mul32.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (up32x25-minmax-fp32-avx512skx-mul32.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/up32x25-minmax-fp32-avx512skx-mul32.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/up32x25-minmax-fp32-avx512skx-mul32.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (up32x9-minmax-fp32-avx512skx-mul32.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/up32x9-minmax-fp32-avx512skx-mul32.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/up32x9-minmax-fp32-avx512skx-mul32.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (up32x9-minmax-fp32-avx512skx-mul32.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/up32x9-minmax-fp32-avx512skx-mul32.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/2/up32x9-minmax-fp32-avx512skx-mul32.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (vcvt-avx512skx-x16.pic.o) in output file used for input files: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/1/vcvt-avx512skx-x16.pic.o and: bazel-out/darwin-opt/bin/external/XNNPACK/_objs/avx512skx_prod_microkernels/0/vcvt-avx512skx-x16.pic.o (due to use of basename, truncation, blank padding or duplicate input files)
INFO: From Linking external/ruy/ruy/libkernel_arm.pic.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/ruy/ruy/_objs/kernel_arm/kernel_arm32.pic.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/ruy/ruy/_objs/kernel_arm/kernel_arm64.pic.o has no symbols
warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: bazel-out/darwin-opt/bin/external/ruy/ruy/libkernel_arm.pic.a the table of contents is empty (no object file members in the library define global symbols)
ERROR: /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/external/com_google_mediapipe/mediapipe/modules/face_detection/BUILD:48:26: Executing genrule @com_google_mediapipe//mediapipe/modules/face_detection:face_detection_short_range_cpu_inc failed: (Segmentation fault): bash failed: error executing command 
  (cd /private/var/tmp/_bazel_kimdonghwan/6cff96c61da0dab7c9b15a4373ca270a/sandbox/darwin-sandbox/1358/execroot/mediapipe_api && \
  exec env - \
    PATH='/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Users/kimdonghwan/opt/anaconda3/bin:/Users/kimdonghwan/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/kimdonghwan/Desktop/nsml_client.darwin.amd64.hack:/Users/kimdonghwan/Library/Mobile\ Documents/com\~apple\~CloudDocs/KAIST/2020\ fall/CS492/nsml_client.darwin.amd64.hack:/Users/kimdonghwan/bin' \
  /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/tool/encode_as_c_string "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_cpu.binarypb" > "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_cpu.inc"')
Execution platform: @local_execution_config_platform//:platform

Use --sandbox_debug to see verbose messages from the sandbox
/bin/bash: line 1: 10991 Segmentation fault: 11  bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/tool/encode_as_c_string "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_cpu.binarypb" > "bazel-out/darwin-opt/bin/external/com_google_mediapipe/mediapipe/modules/face_detection/face_detection_short_range_cpu.inc"
Target //mediapipe_api:mediapipe_desktop failed to build
INFO: Elapsed time: 102.010s, Critical Path: 79.25s
INFO: 2611 processes: 1475 internal, 1136 darwin-sandbox.
FAILED: Build did NOT complete successfully
Traceback (most recent call last):
  File "/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/build.py", line 451, in <module>
    Argument().command().run()
  File "/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/build.py", line 142, in run
    self._run_command(self._build_desktop_commands())
  File "/Users/kimdonghwan/files/AVATOK/MediaPipeUnityPlugin/build.py", line 53, in _run_command
    return subprocess.run(' '.join(command_list), check=True, shell=shell)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'bazel build -c opt --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 --@opencv//:switch=local //mediapipe_api:mediapipe_desktop' returned non-zero exit status 1.

@homuler
Copy link
Owner

homuler commented Feb 3, 2022

As I said here, I think this error is specific to your machine, so you need to identify the cause by yourself.
Maybe this error occurs somewhere in encode_as_c_string and you might want to check core dump.

@DonghwanKIM0101
Copy link
Contributor Author

Thank you!

@homuler
Copy link
Owner

homuler commented Feb 4, 2022

Sorry. If there's any progress, please reopen it freely.

@homuler homuler closed this as completed Feb 4, 2022
@DonghwanKIM0101
Copy link
Contributor Author

For anyone who meet similar issue, I solved the problem by installing "Xcode" from App Store.

I think it's because of my law English skills, I understood that "Xcode" is essential "only" to use iOS.

@homuler
Copy link
Owner

homuler commented Feb 9, 2022

I didn't think it was necessary to install Xcode to build for Desktop.
In fact, it doesn't seem to be directly related to the error (at least, executable files were compiled successfully), but was it?

@homuler
Copy link
Owner

homuler commented Mar 14, 2022

Maybe related to bazelbuild/bazel#14273.
I'll update the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:build/install Cannot build/install the plugin
Projects
None yet
Development

No branches or pull requests

2 participants