[MacPorts] #62131: py38-tensorflow does not build on big sur
MacPorts
noreply at macports.org
Thu Mar 25 20:00:30 UTC 2021
#62131: py38-tensorflow does not build on big sur
----------------------------+--------------------------
Reporter: tiperiu | Owner: emcrisostomo
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: py-tensorflow |
----------------------------+--------------------------
Comment (by hmeine):
I am having the same problem as tiperu. Not sure if the error of mf2k is
the same. `IOException` does not appear in my log.
The build failure I see is also not identical to tiperus, when looking
very closely, but it also refers to `build_pip_package`, so I hope it's
better to post into this issue:
{{{
:info:build exec env - \
:info:build APPLE_SDK_PLATFORM=MacOSX \
:info:build APPLE_SDK_VERSION_OVERRIDE=11.1 \
:info:build
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin \
:info:build PYTHON_BIN_PATH=/opt/local/bin/python3.8 \
:info:build
PYTHON_LIB_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages \
:info:build TF2_BEHAVIOR=1 \
:info:build TF_CONFIGURE_IOS=0 \
:info:build XCODE_VERSION_OVERRIDE=12.4.0.12D4e \
:info:build external/local_config_cc/cc_wrapper.sh -lc++ -fobjc-link-
runtime -shared -o bazel-out/darwin-
opt/bin/tensorflow/python/autograph/impl/testing/pybind_for_testing.so
-Wl,-force_load,bazel-out/darwin-
opt/bin/tensorflow/python/autograph/impl/testing/_objs/pybind_for_testing.so/pybind_for_testing.o
-headerpad_max_install_names
-Wl,-rpath, at loader_path/,-rpath, at loader_path/..,-rpath, at loader_path/../..,-rpath, at loader_path/../../..,-rpath, at loader_path/../../../..
-Wl,-exported_symbols_list,bazel-out/darwin-
opt/bin/tensorflow/python/autograph/impl/testing/pybind_for_testing-
exported-symbols.lds -L/opt/local/lib -Wl,-headerpad_max_install_names
-no-canonical-prefixes -undefined dynamic_lookup '-mmacosx-version-
min=11.1')
:info:build Target //tensorflow/tools/pip_package:build_pip_package up-to-
date:
:info:build bazel-bin/tensorflow/tools/pip_package/build_pip_package
:info:build INFO: Elapsed time: 89186,348s, Critical Path: 1399,97s
:info:build INFO: 19332 processes: 1088 internal, 18244 local.
:info:build INFO: Build completed successfully, 19332 total actions
:info:build INFO: Build completed successfully, 19332 total actions
:debug:build system -W
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py38-tensorflow/work/tensorflow-2.4.1: {./bazel-
bin/tensorflow/tools/pip_package/build_pip_package
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py38-tensorflow/work}
:info:build sh: {./bazel-
bin/tensorflow/tools/pip_package/build_pip_package: No such file or
directory
:info:build Command failed: {./bazel-
bin/tensorflow/tools/pip_package/build_pip_package
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
tensorflow/py38-tensorflow/work}
:info:build Exit code: 127
:error:build Failed to build py38-tensorflow: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "$procedure $targetname"
}}}
In my case, it looks as if `build_pip_package` is missing, but the lines
above read that it is "up-to-date".
--
Ticket URL: <https://trac.macports.org/ticket/62131#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list