Plugin Version or Commit ID
v.0.16.3
Unity Version
6000.2.9f1
Your Host OS
macOS Tahoe 26.0
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
Followed Build Sequence:
Built tarball:
cd Packages/com.github.homuler.mediapipe
npm pack
Already had python so jumped to:
brew install bazelisk
brew install nuget
sudo xcodebuild -license
sudo xcode-select -s /Applications/Xcode.app
xcode-select --install
# ran these again (can’t hurt too much)
python build.py build --desktop cpu --opencv cmake --macos_universal -vv
# Error occurred here due to Bazel issue with:
# dyld: missing LC_UUID load command in wrapped_clang
Log
➜ MediaPipeUnityPlugin git:(master) ✗ python3 build.py build --desktop cpu --opencv cmake --macos_universal -vv
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcs
INFO: Analyzed target //mediapipe_api:mediapipe_proto_srcs (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/bazel_marcocassar/3d5c8dd6f63aefd32a6fb3d9dce9f29a/external/zlib/BUILD.bazel:20:11: Compiling adler32.c [for tool] failed: (Aborted): wrapped_clang failed: error executing command (from target @zlib//:zlib)
(cd /private/var/tmp/bazel_marcocassar/3d5c8dd6f63aefd32a6fb3d9dce9f29a/sandbox/darwin-sandbox/144/execroot/mediapipe_api &&
exec env -
APPLE_SDK_PLATFORM=MacOSX
APPLE_SDK_VERSION_OVERRIDE=26.2
PATH='/Users/marcocassar/Library/Caches/bazelisk/downloads/sha256/c6b6dc17efcdf13fba484c6fe0b6c3361b888ae7b9573bc25a2dbe8c502448eb/bin:/opt/homebrew/opt/ffmpeg@6/bin:/Users/marcocassar/.local/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/quarto/bin:/Users/marcocassar/Library/Application Support/JetBrains/Toolbox/scripts'
XCODE_VERSION_OVERRIDE=26.2.0.17C52
ZERO_AR_DATE=1
external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/zlib -iquote bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib -isystem external/zlib -isystem bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib -MD -MF bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib/objs/zlib/adler32.d '-DBAZEL_CURRENT_REPOSITORY="zlib"' '-frandom-seed=bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib/objs/zlib/adler32.o' -isysroot BAZEL_XCODE_SDKROOT -F__BAZEL_XCODE_SDKROOT/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-canonical-prefixes -pthread -g0 -Wno-dangling-else -Wno-format -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers -Wno-parentheses -DIOAPI_NO_64 -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx26.2 -c external/zlib/adler32.c -o bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib/_objs/zlib/adler32.o)
Configuration: e54be20b41eb4d9f9c1186696b428cf3e091f382ccf8811956d3865145b897e2
Execution platform: @local_execution_config_platform//:platform
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
dyld[51462]: missing LC_UUID load command in /private/var/tmp/_bazel_marcocassar/3d5c8dd6f63aefd32a6fb3d9dce9f29a/external/local_config_cc/wrapped_clang
dyld[51462]: missing LC_UUID load command
Target //mediapipe_api:mediapipe_proto_srcs failed to build
INFO: Elapsed time: 0.932s, Critical Path: 0.80s
INFO: 129 processes: 129 internal.
FAILED: Build did NOT complete successfully
Traceback (most recent call last):
File "/Users/marcocassar/Projects/UnityMLagents/MediaPipeUnityPlugin/build.py", line 472, in
Argument().command().run()
File "/Users/marcocassar/Projects/UnityMLagents/MediaPipeUnityPlugin/build.py", line 114, in run
self._run_command(self._build_proto_srcs_commands())
File "/Users/marcocassar/Projects/UnityMLagents/MediaPipeUnityPlugin/build.py", line 56, in _run_command
return subprocess.run(' '.join(command_list), check=True, shell=shell)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcs' returned non-zero exit status 1.
Additional Context
Found someone with a similar issue on StackOverflow but with go:
https://stackoverflow.com/questions/79769172/missing-lc-uuid-load-command-error-when-running-go-run-on-macos-26-tahoe
Then found this thread confirming the macOS Tahoe issue:
bazelbuild/bazel#27026
Then found a newer version of Bazel 6.6.0 that says "Fixed compatibility issues with macOS Tahoe." in the release notes:
https://github.com/bazelbuild/bazel/releases/tag/6.6.0
Changing the .bazelversion file to 6.6.0 removes the issue.
Plugin Version or Commit ID
v.0.16.3
Unity Version
6000.2.9f1
Your Host OS
macOS Tahoe 26.0
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
Followed Build Sequence:
Built tarball:
cd Packages/com.github.homuler.mediapipe
npm pack
Already had python so jumped to:
brew install bazelisk
brew install nuget
sudo xcodebuild -license
sudo xcode-select -s /Applications/Xcode.app
xcode-select --install
# ran these again (can’t hurt too much)
python build.py build --desktop cpu --opencv cmake --macos_universal -vv
# Error occurred here due to Bazel issue with:
# dyld: missing LC_UUID load command in wrapped_clang
Log
➜ MediaPipeUnityPlugin git:(master) ✗ python3 build.py build --desktop cpu --opencv cmake --macos_universal -vv
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running
bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcsINFO: Analyzed target //mediapipe_api:mediapipe_proto_srcs (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/bazel_marcocassar/3d5c8dd6f63aefd32a6fb3d9dce9f29a/external/zlib/BUILD.bazel:20:11: Compiling adler32.c [for tool] failed: (Aborted): wrapped_clang failed: error executing command (from target @zlib//:zlib)
(cd /private/var/tmp/bazel_marcocassar/3d5c8dd6f63aefd32a6fb3d9dce9f29a/sandbox/darwin-sandbox/144/execroot/mediapipe_api &&
exec env -
APPLE_SDK_PLATFORM=MacOSX
APPLE_SDK_VERSION_OVERRIDE=26.2
PATH='/Users/marcocassar/Library/Caches/bazelisk/downloads/sha256/c6b6dc17efcdf13fba484c6fe0b6c3361b888ae7b9573bc25a2dbe8c502448eb/bin:/opt/homebrew/opt/ffmpeg@6/bin:/Users/marcocassar/.local/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/quarto/bin:/Users/marcocassar/Library/Application Support/JetBrains/Toolbox/scripts'
XCODE_VERSION_OVERRIDE=26.2.0.17C52
ZERO_AR_DATE=1
external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' 'DEBUG_PREFIX_MAP_PWD=.' -iquote external/zlib -iquote bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib -isystem external/zlib -isystem bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib -MD -MF bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib/objs/zlib/adler32.d '-DBAZEL_CURRENT_REPOSITORY="zlib"' '-frandom-seed=bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib/objs/zlib/adler32.o' -isysroot BAZEL_XCODE_SDKROOT -F__BAZEL_XCODE_SDKROOT/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-canonical-prefixes -pthread -g0 -Wno-dangling-else -Wno-format -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers -Wno-parentheses -DIOAPI_NO_64 -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target arm64-apple-macosx26.2 -c external/zlib/adler32.c -o bazel-out/darwin_arm64-opt-exec-50AE0418/bin/external/zlib/_objs/zlib/adler32.o)
Configuration: e54be20b41eb4d9f9c1186696b428cf3e091f382ccf8811956d3865145b897e2
Execution platform: @local_execution_config_platform//:platform
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
dyld[51462]: missing LC_UUID load command in /private/var/tmp/_bazel_marcocassar/3d5c8dd6f63aefd32a6fb3d9dce9f29a/external/local_config_cc/wrapped_clang
dyld[51462]: missing LC_UUID load command
Target //mediapipe_api:mediapipe_proto_srcs failed to build
INFO: Elapsed time: 0.932s, Critical Path: 0.80s
INFO: 129 processes: 129 internal.
FAILED: Build did NOT complete successfully
Traceback (most recent call last):
File "/Users/marcocassar/Projects/UnityMLagents/MediaPipeUnityPlugin/build.py", line 472, in
Argument().command().run()
File "/Users/marcocassar/Projects/UnityMLagents/MediaPipeUnityPlugin/build.py", line 114, in run
self._run_command(self._build_proto_srcs_commands())
File "/Users/marcocassar/Projects/UnityMLagents/MediaPipeUnityPlugin/build.py", line 56, in _run_command
return subprocess.run(' '.join(command_list), check=True, shell=shell)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcs' returned non-zero exit status 1.
Additional Context
Found someone with a similar issue on StackOverflow but with go:
https://stackoverflow.com/questions/79769172/missing-lc-uuid-load-command-error-when-running-go-run-on-macos-26-tahoe
Then found this thread confirming the macOS Tahoe issue:
bazelbuild/bazel#27026
Then found a newer version of Bazel 6.6.0 that says "Fixed compatibility issues with macOS Tahoe." in the release notes:
https://github.com/bazelbuild/bazel/releases/tag/6.6.0
Changing the
.bazelversionfile to 6.6.0 removes the issue.