Opened 6 years ago

Last modified 4 years ago

#57702 assigned defect

py27-h5py 2.8.0_2 fails to build

Reported by: dstrubbe (David Strubbe) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-h5py

Description (last modified by dstrubbe (David Strubbe))

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.

Attachments (1)

main.log (126.5 KB) - added by dstrubbe (David Strubbe) 6 years ago.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by dstrubbe (David Strubbe)

Attachment: main.log added

comment:1 Changed 6 years ago by dstrubbe (David Strubbe)

Description: modified (diff)

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Port: py27-h5py removed

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

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.

comment:4 Changed 6 years ago by dstrubbe (David Strubbe)

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

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

Is this still broken?

comment:6 Changed 4 years ago by dstrubbe (David Strubbe)

py27-h5py no longer exists, but I tried "sudo port install py38-h5py" and that worked fine. Then I tried "sudo port install py38-h5py +mpich" and got:

--->  Fetching archive for py38-h5py
Error: Internal error: 'hdf5 py38-mpi4py' does not refer to an installed port.
--->  Attempting to fetch py38-h5py-3.1.0_1+mpich.darwin_16.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py38-h5py
--->  Attempting to fetch py38-h5py-3.1.0_1+mpich.darwin_16.x86_64.tbz2 from https://kmq.jp.packages.macports.org/py38-h5py
--->  Attempting to fetch py38-h5py-3.1.0_1+mpich.darwin_16.x86_64.tbz2 from https://mse.uk.packages.macports.org/py38-h5py
--->  Fetching distfiles for py38-h5py
Error: Internal error: 'hdf5 py38-mpi4py' does not refer to an installed port.
--->  Attempting to fetch h5py-3.1.0.tar.gz from https://github.com/h5py/h5py/tarball/3.1.0
--->  Verifying checksums for py38-h5py                                                      

It succeeded but clearly there is a check or dependency that isn't being handled correctly.

Note: See TracTickets for help on using tickets.