[MacPorts] #60960: py-tensorflow version 2.3.0 fails to build: java.io.IOException: Cannot run program… Too many open files
MacPorts
noreply at macports.org
Wed Aug 5 23:28:58 UTC 2020
#60960: py-tensorflow version 2.3.0 fails to build: java.io.IOException: Cannot run
program… Too many open files
-----------------------+--------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
-----------------------+--------------------
Re: https://github.com/macports/macports-ports/pull/7575
{{{py-tensorflow}}} version 2.3.0 fails to build because:
{{{
ERROR: /opt/local/var/macports/build/_opt_local_ports_python_py-
tensorflow/py37-tensorflow/work/tensorflow-tensorflow-
b36436b/tensorflow/core/common_runtime/BUILD:328:11: C++ compilation of
rule '//tensorflow/core/common_runtime:collective_executor_mgr' failed
(Exit -1): wrapped_clang failed: error executing command
(cd /opt/local/var/macports/build/_opt_local_ports_python_py-
tensorflow/py37-tensorflow/work/e3571a779784f9da03a7824d69817047/execroot/org_tensorflow
&& \
exec env - \
APPLE_SDK_PLATFORM=MacOSX \
APPLE_SDK_VERSION_OVERRIDE=10.15 \
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin \
XCODE_VERSION_OVERRIDE=11.6.0.11E708 \
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 '-D_FORTIFY_SOURCE=1' -DNDEBUG '-std=c++11'
-iquote . -iquote bazel-out/host/bin -iquote external/com_google_absl
-iquote bazel-out/host/bin/external/com_google_absl -iquote
external/eigen_archive -iquote bazel-out/host/bin/external/eigen_archive
-iquote external/local_config_sycl -iquote bazel-
out/host/bin/external/local_config_sycl -iquote external/nsync -iquote
bazel-out/host/bin/external/nsync -iquote external/gif -iquote bazel-
out/host/bin/external/gif -iquote external/libjpeg_turbo -iquote bazel-
out/host/bin/external/libjpeg_turbo -iquote external/com_google_protobuf
-iquote bazel-out/host/bin/external/com_google_protobuf -iquote
external/com_googlesource_code_re2 -iquote bazel-
out/host/bin/external/com_googlesource_code_re2 -iquote
external/farmhash_archive -iquote bazel-
out/host/bin/external/farmhash_archive -iquote external/fft2d -iquote
bazel-out/host/bin/external/fft2d -iquote external/highwayhash -iquote
bazel-out/host/bin/external/highwayhash -iquote external/zlib -iquote
bazel-out/host/bin/external/zlib -iquote external/double_conversion
-iquote bazel-out/host/bin/external/double_conversion -isystem
external/eigen_archive -isystem bazel-out/host/bin/external/eigen_archive
-isystem external/nsync/public -isystem bazel-
out/host/bin/external/nsync/public -isystem external/gif -isystem bazel-
out/host/bin/external/gif -isystem external/com_google_protobuf/src
-isystem bazel-out/host/bin/external/com_google_protobuf/src -isystem
external/farmhash_archive/src -isystem bazel-
out/host/bin/external/farmhash_archive/src -isystem external/zlib -isystem
bazel-out/host/bin/external/zlib -isystem external/double_conversion
-isystem bazel-out/host/bin/external/double_conversion -MD -MF bazel-
out/host/bin/tensorflow/core/common_runtime/_objs/collective_executor_mgr/collective_executor_mgr.d
-D__CLANG_SUPPORT_DYN_ANNOTATION__ -DEIGEN_MPL2_ONLY
'-DEIGEN_MAX_ALIGN_BYTES=64' '-DEIGEN_HAS_TYPE_TRAITS=0' '-frandom-seed
=bazel-
out/host/bin/tensorflow/core/common_runtime/_objs/collective_executor_mgr/collective_executor_mgr.o'
-isysroot __BAZEL_XCODE_SDKROOT__
-F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks
-F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks
'-mmacosx-version-min=10.15' -g0 '-march=x86-64' -g0 '-std=c++14'
-DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare '-ftemplate-
depth=900' -fno-exceptions '-DTENSORFLOW_USE_XLA=1' -no-canonical-prefixes
-Wno-builtin-macro-redefined '-D__DATE__="redacted"'
'-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c
tensorflow/core/common_runtime/collective_executor_mgr.cc -o bazel-
out/host/bin/tensorflow/core/common_runtime/_objs/collective_executor_mgr/collective_executor_mgr.o)
Execution platform: @local_execution_config_platform//:platform. Note:
Remote connection/protocol failed with: execution failed
Action failed to execute: java.io.IOException: Cannot run program
"/opt/local/var/macports/build/_opt_local_ports_python_py-
tensorflow/py37-tensorflow/work/install/1eb24b6f9fb447fbef56fd6c7521f126
/process-wrapper" (in directory "/opt/local/var/macports/build
/_opt_local_ports_python_py-
tensorflow/py37-tensorflow/work/e3571a779784f9da03a7824d69817047/execroot/org_tensorflow"):
error=24, Too many open files
Target //tensorflow/tools/pip_package:build_pip_package failed to build
}}}
{{{
macOS 10.15.6 19G73
Xcode 11.6 11E708
}}}
Sysem limit is:
{{{
ulimit -n
2560
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60960>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list