This commit
% git log -r a43418b81530f7
commit a43418b81530f7e897abfbe18dd59f44265a1a0f
Author: Po-Chuan Hsieh <[email protected]>
Date: Mon Jul 18 20:50:16 2022 +0800
science/hdf5: Update to 1.12.2
Changes: https://portal.hdfgroup.org/display/support/HDF5+1.12.0
https://portal.hdfgroup.org/display/support/HDF5+1.12.1
https://portal.hdfgroup.org/display/support/HDF5+1.12.2
PR: 265152
Exp-run by: antoine
% make
% make MAKE_JOBS_UNSAFE=yes
...
[ 93%] Linking Fortran executable ../../bin/testhdf5_fortran
cd /usr/ports/science/hdf5/work/.build/fortran/test && /usr/local/bin/cmake -E
cmake_link_script CMakeFiles/testhdf5_fortran.dir/link.txt --verbose=1
/usr/local/bin/gfortran11 -Wl,-rpath=/usr/local/lib/gcc11
-L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong -O -O2 -pipe
-march=native -mtune=native -funroll-loops --param max-unroll-times=4
-ftree-vectorize -Wno-maybe-uninitialized -Wno-conversion -Wno-integer-division
-Wl,-rpath=/usr/local/lib/gcc11 -fdiagnostics-urls=never -fno-diagnostics-color
-O3 -DNDEBUG -O3 CMakeFiles/testhdf5_fortran.dir/fortranlib_test.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5A.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5D.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5E.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5F.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5G.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5I.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5P.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5R.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5S.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5Sselect.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5T.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5VL.F90.o
CMakeFiles/testhdf5_fortran.dir/tH5Z.F90.o
CMakeFiles/testhdf5_fortran.dir/tHDF5.F90.o -o ../../bin/testhdf5_fortran
-Wl,-rpath,"\$ORIGIN/../lib:\$ORIGIN/"
../../bin/libhdf5_test_fortran.so.200.1.1 ../../bin/libhdf5_fortran.so.200.1.1
../../bin/libhdf5_test_f90cstub.so.200.1.1
../../bin/libhdf5_f90cstub.so.200.1.1 ../../bin/libhdf5_test.so.200.2.0
../../bin/libhdf5.so.200.2.0 -lm -ldl
/usr/local/bin/ld: CMakeFiles/testhdf5_fortran.dir/tH5F.F90.o: in function
`__th5f_MOD_reopentest':
tH5F.F90:(.text+0x1f20): undefined reference to `h5fget_fileno_f_'
/usr/local/bin/ld: tH5F.F90:(.text+0x1f4d): undefined reference to
`h5fget_fileno_f_'
/usr/local/bin/ld: CMakeFiles/testhdf5_fortran.dir/tH5F.F90.o: in function
`__th5f_MOD_mountingtest':
tH5F.F90:(.text+0x2af2): undefined reference to `h5fis_accessible_f_'
/usr/local/bin/ld: tH5F.F90:(.text+0x2b42): undefined reference to
`h5fis_accessible_f_'
/usr/local/bin/ld: tH5F.F90:(.text+0x2d12): undefined reference to
`h5fget_fileno_f_'
/usr/local/bin/ld: tH5F.F90:(.text+0x2d3b): undefined reference to
`h5fget_fileno_f_'
/usr/local/bin/ld: CMakeFiles/testhdf5_fortran.dir/tH5P.F90.o: in function
`__th5p_MOD_test_misc_properties':
tH5P.F90:(.text+0x7d): undefined reference to `h5pset_file_locking_f_'
/usr/local/bin/ld: tH5P.F90:(.text+0xb9): undefined reference to
`h5pget_file_locking_f_'
/usr/local/bin/ld: tH5P.F90:(.text+0x111): undefined reference to
`h5pset_file_locking_f_'
/usr/local/bin/ld: tH5P.F90:(.text+0x14d): undefined reference to
`h5pget_file_locking_f_'
collect2: error: ld returned 1 exit status
*** Error code 1
Stop.
What's the magic git incantation to unfix this?
--
Steve