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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
#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
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
#57702: py27-h5py 2.8.0_2 fails to build
---------------------------------+----------------------
  Reporter:  dstrubbe            |      Owner:  eborisch
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:                      |   Keywords:
      Port:  py-h5py, py27-h5py  |
---------------------------------+----------------------
Changes (by dstrubbe):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/57702>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#57702: py27-h5py 2.8.0_2 fails to build
---------------------------------+----------------------
  Reporter:  dstrubbe            |      Owner:  eborisch
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:                      |   Keywords:
      Port:  py-h5py, py27-h5py  |
---------------------------------+----------------------
Description changed by dstrubbe:

Old description:

> 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.
New description:

 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#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#57702: py27-h5py 2.8.0_2 fails to build
-----------------------+----------------------
  Reporter:  dstrubbe  |      Owner:  eborisch
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  py-h5py   |
-----------------------+----------------------
Changes (by mf2k):

 * port:  py-h5py, py27-h5py => py-h5py


--
Ticket URL: <https://trac.macports.org/ticket/57702#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#57702: py27-h5py 2.8.0_2 fails to build
-----------------------+----------------------
  Reporter:  dstrubbe  |      Owner:  eborisch
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  py-h5py   |
-----------------------+----------------------

Comment (by eborisch):

 I'm not able to reproduce. What MPI flavors do you have installed and what
 variants do you have selected on hdf5, py27-mpi4py, and py27-h5py.

--
Ticket URL: <https://trac.macports.org/ticket/57702#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#57702: py27-h5py 2.8.0_2 fails to build
-----------------------+----------------------
  Reporter:  dstrubbe  |      Owner:  eborisch
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  py-h5py   |
-----------------------+----------------------

Comment (by dstrubbe):

 hdf5 @1.10.4_0+cxx+fortran+gfortran+hl+mpich; py27-mpi4py is not
 installed; py27-h5py no variants.

 {{{
 openmpi-default @3.0.0_0+gcc7
 openmpi-gcc6 @3.0.0_0+fortran
 openmpi-gcc7 @3.0.0_0+fortran
 mpich-default @3.2.1_5+gcc8
 mpich-gcc6 @3.2.1_6+fortran
 mpich-gcc7 @3.2.1_6+fortran
 mpich-gcc8 @3.2.1_6+fortran
 }}}

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