Opened 4 years ago

Closed 11 months ago

#59944 closed defect (wontfix)

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'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: cjones051073 (Chris Jones), dlamija (Muhammed Ramiza), mascguy (Christopher Nielsen)
Port: py-tensorflow, py-tensorflow1

Description

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

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).

Change History (7)

comment:1 Changed 4 years ago by josephsacco

Same problem when building under OS X 10.14.6, Xcode 11.2, SDK 10.14.

-Joseph

comment:2 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

Have not tested 10.15 (the 10.15 buildbot worker is busy).

Failed on the 10.15 builder as well. So this subport does not build on any macOS version.

comment:3 Changed 4 years ago by dlamija (Muhammed Ramiza)

Cc: dlamija added

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: py-tensorflow1 added

comment:5 Changed 4 years ago by blair (Blair Zajac)

Version 0, edited 4 years ago by blair (Blair Zajac) (next)

comment:6 Changed 11 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:7 Changed 11 months ago by mascguy (Christopher Nielsen)

Resolution: wontfix
Status: assignedclosed

Support for Python 3.7/3.8 has been dropped for py-tensorflow, so this ticket is no longer relevant. Closing.

Note: See TracTickets for help on using tickets.