Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2022 10:28:22 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   HDF5 port is broken
Message-ID:  <Ytg7Ns4btAkY85Ag@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
This commit
=20
% git log -r a43418b81530f7
commit a43418b81530f7e897abfbe18dd59f44265a1a0f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Date:   Mon Jul 18 20:50:16 2022 +0800

    science/hdf5: Update to 1.12.2
   =20
    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=3Dyes=20
=2E..
[ 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=3D1
/usr/local/bin/gfortran11  -Wl,-rpath=3D/usr/local/lib/gcc11  -L/usr/local/=
lib/gcc11 -B/usr/local/bin -fstack-protector-strong -O -O2 -pipe -march=3Dn=
ative -mtune=3Dnative -funroll-loops --param max-unroll-times=3D4 -ftree-ve=
ctorize -Wno-maybe-uninitialized -Wno-conversion -Wno-integer-division -Wl,=
-rpath=3D/usr/local/lib/gcc11 -fdiagnostics-urls=3Dnever -fno-diagnostics-c=
olor -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 CMakeFile=
s/testhdf5_fortran.dir/tH5I.F90.o CMakeFiles/testhdf5_fortran.dir/tH5P.F90.=
o CMakeFiles/testhdf5_fortran.dir/tH5R.F90.o CMakeFiles/testhdf5_fortran.di=
r/tH5S.F90.o CMakeFiles/testhdf5_fortran.dir/tH5Sselect.F90.o CMakeFiles/te=
sthdf5_fortran.dir/tH5T.F90.o CMakeFiles/testhdf5_fortran.dir/tH5VL.F90.o C=
MakeFiles/testhdf5_fortran.dir/tH5Z.F90.o CMakeFiles/testhdf5_fortran.dir/t=
HDF5.F90.o -o ../../bin/testhdf5_fortran  -Wl,-rpath,"\$ORIGIN/../lib:\$ORI=
GIN/" ../../bin/libhdf5_test_fortran.so.200.1.1 ../../bin/libhdf5_fortran.s=
o.200.1.1 ../../bin/libhdf5_test_f90cstub.so.200.1.1 ../../bin/libhdf5_f90c=
stub.so.200.1.1 ../../bin/libhdf5_test.so.200.2.0 ../../bin/libhdf5.so.200.=
2.0 -lm -ldl=20
/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_a=
ccessible_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_fi=
le_locking_f_'
/usr/local/bin/ld: tH5P.F90:(.text+0x111): undefined reference to `h5pset_f=
ile_locking_f_'
/usr/local/bin/ld: tH5P.F90:(.text+0x14d): undefined reference to `h5pget_f=
ile_locking_f_'
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.

What's the magic git incantation to unfix this?

--=20
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Ytg7Ns4btAkY85Ag>