Re: [MacPorts] #60960: py-tensorflow @2.3.0: java.io.IOException: Cannot run program… Too many open files

MacPorts noreply at macports.org
Thu Aug 6 00:19:34 UTC 2020


#60960: py-tensorflow @2.3.0: java.io.IOException: Cannot run program… Too many
open files
----------------------------+--------------------------
  Reporter:  essandess      |      Owner:  emcrisostomo
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  py-tensorflow  |
----------------------------+--------------------------

Comment (by essandess):

 FWIW, I set these system limits and started up {{{port -vst install
 py37-tensorflow}}} up again, but the build fails later on with the
 following.

 {{{
 sudo launchctl limit maxfiles 65536 200000
 ulimit -n 65536
 }}}

 {{{
 :info:build tensorflow/python/lib/core/bfloat16.cc:678:8: error: no
 matching function for call to object of type '(lambda at
 tensorflow/python/lib/core/bfloat16.cc:637:25)'
 :info:build   if (!register_ufunc("less_equal",
 CompareUFunc<Bfloat16LeFunctor>,
 :info:build        ^~~~~~~~~~~~~~
 :info:build tensorflow/python/lib/core/bfloat16.cc:637:25: note: candidate
 function not viable: no overload of 'CompareUFunc' matching
 'PyUFuncGenericFunction' (aka 'void (*)(char **, const long *, const long
 *, void *)') for 2nd argument
 :info:build   auto register_ufunc = [&](const char* name,
 PyUFuncGenericFunction fn,
 :info:build                         ^
 :info:build tensorflow/python/lib/core/bfloat16.cc:682:8: error: no
 matching function for call to object of type '(lambda at
 tensorflow/python/lib/core/bfloat16.cc:637:25)'
 :info:build   if (!register_ufunc("greater_equal",
 CompareUFunc<Bfloat16GeFunctor>,
 :info:build        ^~~~~~~~~~~~~~
 }}}

 This PR may be relevant:
 https://github.com/tensorflow/tensorflow/pull/40654

-- 
Ticket URL: <https://trac.macports.org/ticket/60960#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list