[MacPorts] #59944: py38-tensorflow @2.0.0: error: cannot initialize a member subobject of type 'Py_ssize_t' (aka 'long') with an rvalue of type 'nullptr_t'

MacPorts noreply at macports.org
Sat Jan 11 01:58:00 UTC 2020


#59944: py38-tensorflow @2.0.0: error: cannot initialize a member subobject of type
'Py_ssize_t' (aka 'long') with an rvalue of type 'nullptr_t'
------------------------+---------------------------
 Reporter:  ryandesign  |      Owner:  emcrisostomo
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  py-tensorflow
------------------------+---------------------------
 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/50044/steps
 /install-port/logs/stdio py38-tensorflow does not build] at least on 10.14
 and 10.13:

 {{{
 tensorflow/python/lib/core/ndarray_tensor_bridge.cc:89:5: error: cannot
 initialize a member subobject of type 'Py_ssize_t' (aka 'long') with an
 rvalue of type 'nullptr_t'
     nullptr,                     /* tp_print */
     ^~~~~~~
 1 error generated.
 Target //tensorflow/tools/pip_package:build_pip_package failed to build
 INFO: Elapsed time: 16397.999s, Critical Path: 2172.76s
 }}}

 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/50042/steps
 /install-port/logs/stdio py37-tensorflow built fine] on the same systems.

 Cannot test on 10.12 because there its dependencies fail to build. Have
 not tested 10.15 (the 10.15 buildbot worker is busy).

-- 
Ticket URL: <https://trac.macports.org/ticket/59944>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list