[MacPorts] #57702: py27-h5py 2.8.0_2 fails to build

MacPorts noreply at macports.org
Fri Nov 30 00:57:40 UTC 2018


#57702: py27-h5py 2.8.0_2 fails to build
----------------------+--------------------------------
 Reporter:  dstrubbe  |      Owner:  eborisch
     Type:  defect    |     Status:  assigned
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  py-h5py, py27-h5py
----------------------+--------------------------------
 I am trying to upgrade from py27-h5py @2.8.0_1, without any variants in
 new or old, and get this error in building:

 {{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 h5py/py27-h5py/work/h5py-2.8.0/h5py/defs.c:660:
 In file included from ./h5py/api_compat.h:27:
 In file included from /opt/local/include/hdf5.h:22:
 /opt/local/include/H5public.h:60:13: fatal error: 'mpi.h' file not found
 #   include <mpi.h>
             ^~~~~~~
 1 warning and 1 error generated.
 }}

 This block occurred earlier:
 {{
 ********************************************************************************
                        Summary of the h5py configuration
     Path to HDF5: None
     HDF5 Version: '1.10.4'
      MPI Enabled: False
 Rebuild Required: True
 ********************************************************************************
 }}

 I have various MPI ports installed, although this block suggests it is not
 finding them in configure.
 I have hdf5 @1.10.4_0+cxx+fortran+gfortran+hl+mpich installed.

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


More information about the macports-tickets mailing list