[MacPorts] #61855: py27-h5py @ 2.10.0_3 does not build

MacPorts noreply at macports.org
Thu Dec 17 16:19:29 UTC 2020


#61855: py27-h5py @ 2.10.0_3 does not build
----------------------------+-----------------------
 Reporter:  josephsacco     |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.6.4
 Keywords:  python2,  hdf5  |       Port:  py27-h5py
----------------------------+-----------------------
 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
 }}}

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


More information about the macports-tickets mailing list