[MacPorts] #66208: hdf5 @1.12.2_0+cxx+gcc12+hl: Port hdf5 is still broken (cxx_stdlib mismatch) after rebuilding it more than 3 times.

MacPorts noreply at macports.org
Fri Jan 27 14:15:54 UTC 2023


#66208: hdf5 @1.12.2_0+cxx+gcc12+hl: Port hdf5 is still broken (cxx_stdlib
mismatch) after rebuilding it more than 3 times.
------------------------+----------------------
  Reporter:  massonseb  |      Owner:  eborisch
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:
      Port:  hdf5       |
------------------------+----------------------

Comment (by oliviermarti):

 My 2 cents :

 I use (and massonseb too) a library
 (https://forge.ipsl.jussieu.fr/ioserver/) that mixes C++ and Fortran code.
 We use it in several Fortran codes. The library needs parallel netcdf, on
 top of hdf5. We commonly use these code on Linux systems with Intel or GNU
 compilers.

 Months ago (don't remember when), I've installed openmpi, hdf5, netcdf and
 gcc12 with MacPort. All compiled with gcc12 variants. It installed
 smoothly. And I succeed to use the library and my code. So this is a
 solution that has worked.

 Mixing clang and fortran, I can compile, as massonseb, but the test cases
 of the library does'nt run. I've never succeed to mixed clang and GNU
 fortran. Is this really possible ?

 That's why having back a working hdf5 and netcdf with gcc12 will be very
 useful for a least a few people.

 Thank's !

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


More information about the macports-tickets mailing list