Opened 9 months ago

Last modified 7 months ago

#59944 assigned defect

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 Schmidt) Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: cjones051073 (Chris Jones), dlamija (Muhammed Ramiza)
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 (5)

comment:1 Changed 9 months 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 9 months ago by ryandesign (Ryan 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 9 months ago by dlamija (Muhammed Ramiza)

Cc: dlamija added

comment:4 Changed 9 months ago by ryandesign (Ryan Schmidt)

Port: py-tensorflow1 added

comment:5 Changed 7 months ago by blair (Blair Zajac)

I committed f63da02f5371f8078754c450bd213742aa9deb14/macports-ports which fixed this for py38-tensorflow1.

Last edited 7 months ago by ryandesign (Ryan Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.