[MacPorts] #72019: py312-h5py build fails: /opt/local/include/H5public.h:65:10: fatal error: 'mpi.h' file not

MacPorts noreply at macports.org
Sat Feb 8 03:49:06 UTC 2025


#72019: py312-h5py build fails: /opt/local/include/H5public.h:65:10: fatal error:
'mpi.h' file not
----------------------+----------------------
  Reporter:  dmwco    |      Owner:  eborisch
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.10.5
Resolution:           |   Keywords:
      Port:  py-h5py  |
----------------------+----------------------
Changes (by jmroot):

 * owner:  (none) => eborisch
 * status:  new => assigned
 * port:   => py-h5py


Old description:

> {{{:info:build In file included from /opt/local/include/H5Cpublic.h:24:
> :info:build /opt/local/include/H5public.h:65:10: fatal error: 'mpi.h'
> file not found
> :info:build    65 | #include <mpi.h>
> :info:build       |          ^~~~~~~
> :info:build 1 error generated.
> :info:build error: command '/usr/bin/clang' failed with exit code 1
> :info:build ERROR Backend subprocess exited when trying to invoke
> build_wheel
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> h5py/py312-h5py/work/h5py-3.12.1" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
> -m build --no-isolation --wheel --outdir
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-h5py/py312-h5py/work
> :info:build Exit code: 1
> :error:build Failed to build py312-h5py: command execution failed}}}

New description:

 {{{
 :info:build In file included from /opt/local/include/H5Cpublic.h:24:
 :info:build /opt/local/include/H5public.h:65:10: fatal error: 'mpi.h' file
 not found
 :info:build    65 | #include <mpi.h>
 :info:build       |          ^~~~~~~
 :info:build 1 error generated.
 :info:build error: command '/usr/bin/clang' failed with exit code 1
 :info:build ERROR Backend subprocess exited when trying to invoke
 build_wheel
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 h5py/py312-h5py/work/h5py-3.12.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
 -m build --no-isolation --wheel --outdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-h5py/py312-h5py/work
 :info:build Exit code: 1
 :error:build Failed to build py312-h5py: command execution failed
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/72019#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list