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

TensorFlow failing on macOS on Bazel CI #1587

Open
sgowroji opened this issue Apr 20, 2023 · 0 comments
Open

TensorFlow failing on macOS on Bazel CI #1587

sgowroji opened this issue Apr 20, 2023 · 0 comments
Assignees

Comments

@sgowroji
Copy link
Member

https://buildkite.com/bazel/tensorflow/builds/8228#01879cd7-8c09-475f-b979-e2116d2fffa7

(06:47:20) ERROR: /Users/buildkite/builds/bk-imacpro-19/bazel/tensorflow/tensorflow/python/BUILD:3301:24: Linking tensorflow/python/_pywrap_tensorflow_internal.so failed: (Aborted): cc_wrapper.sh failed: error executing command
--
  | (cd /private/var/tmp/_bazel_buildkite/ca9915fdad569a05e4e3627701d8eb02/execroot/org_tensorflow && \
  | exec env - \
  | APPLE_SDK_PLATFORM=MacOSX \
  | APPLE_SDK_VERSION_OVERRIDE=13.1 \
  | PATH=/Users/buildkite/Library/Caches/bazelisk/downloads/bazelbuild/bazel-5.3.0-darwin-x86_64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin \
  | PYTHON_BIN_PATH=/usr/local/opt/python@3.9/bin/python3.9 \
  | PYTHON_LIB_PATH=/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages \
  | TF2_BEHAVIOR=1 \
  | XCODE_VERSION_OVERRIDE=14.2.0.14C18 \
  | ZERO_AR_DATE=1 \
  | external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-opt/bin/tensorflow/python/_pywrap_tensorflow_internal.so-2.params)
  | # Configuration: 141dcf5e4c56f861f21ec99f6fa4471dac7d55c4c405f90eca6dc82c214870d0
  | # Execution platform: @local_execution_config_platform//:platform
  | ld: malformed trie, node past end file 'bazel-out/darwin-opt/bin/_solib_darwin_x86_64/libtensorflow_Slibtensorflow_Ucc.2.12.0.dylib'
  | clang: error: linker command failed with exit code 1 (use -v to see invocation)
  | Error in child process '/usr/bin/xcrun'. 1
  | external/local_config_cc/cc_wrapper.sh: line 69: 82385 Abort trap: 6           "$(/usr/bin/dirname "$0")"/wrapped_clang "$@"
  | Target //tensorflow/tools/pip_package:build_pip_package failed to build
  | (06:47:20) INFO: Elapsed time: 2255.865s, Critical Path: 628.74s
  | (06:47:20) INFO: 28415 processes: 3227 remote cache hit, 7139 internal, 18049 local.
  | (06:47:20) FAILED: Build did NOT complete successfully

Downstream failure : https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2969#01879c6d-4c38-4ebf-8c28-12cc87b4776b
CC @meteorcloudy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants