Opened 4 years ago

Closed 4 years ago

#61855 closed defect (wontfix)

py27-h5py @ 2.10.0_3 does not build

Reported by: josephsacco Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: dershow
Port: py-h5py

Description

System: Late 2015 iMac running OS X 11.1 with latest OS updates

The problem arises from an undeclared identifier, H5I_REFERENCE, as shown below in the relevant section of the build log.

-Joseph

:info:build /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
:info:build #warning "Using deprecated NumPy API, disable it with " \
:info:build  ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/work/h5py-h5py-1156f5a/h5py/h5i.c:3114:43: error: use of undeclared identifier 'H5I_REFERENCE'; did you mean 'H5T_REFERENCE'?
:info:build   __pyx_t_2 = __Pyx_PyInt_From_H5I_type_t(H5I_REFERENCE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 25, __pyx_L1_error)
:info:build                                           ^~~~~~~~~~~~~
:info:build                                           H5T_REFERENCE
:info:build /opt/local/include/H5Tpublic.h:37:5: note: 'H5T_REFERENCE' declared here
:info:build     H5T_REFERENCE        = 7,   /*reference types                            */
:info:build     ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/work/h5py-h5py-1156f5a/h5py/h5i.c:3114:43: warning: implicit conversion from enumeration type 'enum H5T_class_t' to different enumeration type 'H5I_type_t' (aka 'enum H5I_type_t') [-Wenum-conversion]
:info:build   __pyx_t_2 = __Pyx_PyInt_From_H5I_type_t(H5I_REFERENCE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 25, __pyx_L1_error)
:info:build               ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
:info:build 2 warnings and 1 error generated.
:info:build error: command '/usr/bin/clang' failed with exit status 1

Change History (4)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: eborisch@… removed
Keywords: python2 hdf5 removed
Owner: set to eborisch
Port: py-h5py added; py27-h5py removed
Status: newassigned

comment:2 Changed 4 years ago by dershow

Cc: dershow added

comment:3 Changed 4 years ago by eborisch (Eric A. Borisch)

I plan to remove this (py27-) subport; I don't see an easy fix beyond splitting HDF5 into multiple versions, and python27 is retired.

comment:4 Changed 4 years ago by eborisch (Eric A. Borisch)

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.