[MacPorts] #61229: hdf5 @1.10.6 +openmpi: Failed to build
MacPorts
noreply at macports.org
Fri Sep 25 04:30:17 UTC 2020
#61229: hdf5 @1.10.6 +openmpi: Failed to build
--------------------------+--------------------
Reporter: chaochinyang | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: hdf5
--------------------------+--------------------
I need to build a parallel HDF5 to work with my C++ code, so I try to
install hdf5 with all three of +cxx, +hl, and +openmpi on. But it fails
to build due to some error in t_cache.c:
{{{
:info:build t_cache.c:7253:9: error: implicit declaration of function
'H5CX_set_coll_metadata_read' is invalid in C99 [-Werror,-Wimplicit-
function-declaration]
:info:build H5CX_set_coll_metadata_read(TRUE);
:info:build ^
:info:build t_cache.c:7253:9: note: did you mean
'H5Pset_coll_metadata_write'?
:info:build ../src/H5Ppublic.h:365:15: note: 'H5Pset_coll_metadata_write'
declared here
:info:build H5_DLL herr_t H5Pset_coll_metadata_write(hid_t plist_id,
hbool_t is_collective);
:info:build ^
:info:build 1 error generated.
}}}
The full log is attached.
My openmpi (default) is @4.0.1_1 with +gcc10 and my MacOS is 10.15.6.
--
Ticket URL: <https://trac.macports.org/ticket/61229>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list