[MacPorts] #69861: Run-time error with hdf5 @1.14.4.2_0

MacPorts noreply at macports.org
Mon Apr 29 13:05:17 UTC 2024


#69861: Run-time error with hdf5 @1.14.4.2_0
-----------------------------+--------------------
 Reporter:  Michael-P-Allen  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:
 Keywords:                   |       Port:  hdf5
-----------------------------+--------------------
 The recent upgrade to hdf5 @1.14.4.2_0 seems to have broken my Fortran
 HDF5 codes, generating runtime errors and a segfault. The errors disappear
 if I downgrade to hdf5 @1.14.3_4. I am running with Xcode v15.3, Sonoma
 14.4.1 on an Intel-based Mac mini.

 I attach a small f90 code which uses some basic HDF5 routines from the
 library. It is compiled with the HDF5-supplied wrapper script `h5fc`. If I
 compile and run with hdf5 @1.14.4.2_0+cxx+fortran+gfortran+hl active, I
 get a load of error messages (log file attached), starting with
 {{{
 HDF5-DIAG: Error detected in HDF5 (1.14.4-2) thread 0:
   #000: H5.c line 1025 in H5open(): library initialization failed
     major: Function entry/exit
     minor: Unable to initialize object
 }}}
 If instead I compile and run with hdf5 @1.14.3_4+cxx+fortran+gfortran+hl
 active, I get no errors.

 In both cases, the compilation line produced by `h5fc -show` is the same,
 namely
 `/opt/local/bin/gfortran-mp-13 -pipe -Os -m64 -I/opt/local/include
 -L/opt/local/lib /opt/local/lib/libhdf5hl_fortran.a
 /opt/local/lib/libhdf5_hl.a /opt/local/lib/libhdf5_fortran.a
 /opt/local/lib/libhdf5.a -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 /opt/local/lib/libaec/lib/libsz.dylib /opt/local/lib/libz.dylib -ldl -lm`

-- 
Ticket URL: <https://trac.macports.org/ticket/69861>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list