Opened 5 years ago
Closed 18 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 5 years ago by josephsacco
comment:2 Changed 5 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 5 years ago by dlamija (Muhammed Ramiza)
Cc: | dlamija added |
---|
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | py-tensorflow1 added |
---|
And this affects py38-tensorflow1 on 10.13 at least.
comment:5 Changed 5 years ago by blair (Blair Zajac)
I committed f63da02f5371f8078754c450bd213742aa9deb14/macports-ports which fixed this for py38-tensorflow1.
comment:6 Changed 18 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:7 Changed 18 months ago by mascguy (Christopher Nielsen)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
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.
Same problem when building under OS X 10.14.6, Xcode 11.2, SDK 10.14.
-Joseph