Summary: | sci-libs/hdf5 - Should use subslots. - HDF5 library version mismatched error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William Throwe <wtt6> |
Component: | [OLD] Library | Assignee: | Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | sci, tomwij |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
William Throwe
2012-11-29 22:08:04 UTC
(In reply to comment #0) > hdf5 does not change it's SONAME with version bumps but instead checks the > library version at runtime and aborts if it has changed, so everything > linking against libhdf5 has to be recompiled or you get errors like SONAME hasn't changed cause ABI of the library didn't. It's perfectly fine to use h5utils, pytables, h5py etc compiled with different version of library. At least I haven't noticed any issues in the past. I give you that this warning message is pretty damn annoying, though I don't see anything that would justify rebuilding all reverse dependencies. hdf5 api does not change very much: http://upstream-tracker.org/versions/hdf5.html (In reply to comment #1) > SONAME hasn't changed cause ABI of the library didn't. It's perfectly fine > to use h5utils, pytables, h5py etc compiled with different version of > library. At least I haven't noticed any issues in the past. > I give you that this warning message is pretty damn annoying, though I don't > see anything that would justify rebuilding all reverse dependencies. Despite being referred to as a warning, it is actually a fatal error unless you've set the mentioned environment variable. h5totxt just aborts without printing any data. It does seem to work if HDF5_DISABLE_VERSION_CHECK is set to 2. If you want to avoid rebuilding reverse dependencies, maybe ship an environment file setting that? (In reply to comment #3) > (In reply to comment #1) > > SONAME hasn't changed cause ABI of the library didn't. It's perfectly fine > > to use h5utils, pytables, h5py etc compiled with different version of > > library. At least I haven't noticed any issues in the past. > > I give you that this warning message is pretty damn annoying, though I don't > > see anything that would justify rebuilding all reverse dependencies. > > Despite being referred to as a warning, it is actually a fatal error unless > you've set the mentioned environment variable. h5totxt just aborts without > printing any data. > > It does seem to work if HDF5_DISABLE_VERSION_CHECK is set to 2. If you want > to avoid rebuilding reverse dependencies, maybe ship an environment file > setting that? I'd like to avoid that too, cause *if* something ever breaks unaware person would spend a lot of time trying to find out what hit him. Would you be satisfied with pkg_inst() message? Something like: If you have upgraded hdf5 from previous version, the software using it may start complaining about mismatch between headers and library version. You have two options: * export HDF5_DISABLE_VERSION_CHECK=2 to get rid of the warning/error message * re-emerge all reverse dependencies (type emerge --depclean -pv sci-libs/hdf5, to get the list) (In reply to comment #4) > I'd like to avoid that too, cause *if* something ever breaks unaware person > would spend a lot of time trying to find out what hit him. Would you be > satisfied with pkg_inst() message? Something like: > > If you have upgraded hdf5 from previous version, the software using it may > start complaining about mismatch between headers and library version. You > have two options: > * export HDF5_DISABLE_VERSION_CHECK=2 to get rid of the warning/error > message > * re-emerge all reverse dependencies (type emerge --depclean -pv > sci-libs/hdf5, to get the list) That sounds reasonable. + 04 Dec 2012; Kacper Kowalik <xarthisius@gentoo.org> hdf5-1.8.10.ebuild: + Add warning message about possible mismatch between headers and library in + reverse dependencies. Fixes bug 445268 by William Throwe <wtt6@cornell.edu> |