From: Martin Reindl Subject: Re: [maintainer update] hdf5 1.14.6 To: Theo Buehler Cc: ports@openbsd.org Date: Wed, 3 Sep 2025 21:39:00 +0200 On Wed, Sep 03, 2025 at 07:09:33PM +0200, Theo Buehler wrote: > On Wed, Aug 27, 2025 at 08:07:07PM +0200, Martin Reindl wrote: > > This diff updates hdf5 to 1.14.6 an enables the use of libaec. > > [...] > > > There might be more ports which start to pick up libaec leading > > to possible conflicts with szlib, so I am looking for OKs to > > this update. > > I don't understand what you're saying here. With what and how do you > expect libaec or szlib to conflict? > > I started a bulk before looking at your diff and qgis,qt6 broke with > "ld.so: crssync: can't load library 'libaec.so.0.0'" because libhdf5 > was installed, but not libaec. The problem is this: > > > +BUILD_DEPENDS += archivers/libaec > > This should be a LIB_DEPENDS and you need WANTLIB += aec sz. > (make port-lib-depends-check hints at that) > > This may result in several dependent ports requiring a wantlib sync. > I have not checked that. > > Purely from a symbol perspective only hdf5 and hdf5_fortran need a major > bump, but given the library interdependencies in this port, the major > bump for all shared libs is the right thing to do. I sent out an old version of the diff in the original message. Here is the correct one. Index: Makefile =================================================================== RCS file: /cvs/ports/math/hdf5/Makefile,v retrieving revision 1.28 diff -u -p -r1.28 Makefile --- Makefile 10 Jan 2025 18:03:44 -0000 1.28 +++ Makefile 3 Sep 2025 19:32:49 -0000 @@ -3,19 +3,18 @@ ONLY_FOR_ARCHS = ${GCC49_ARCHS} COMMENT = Hierarchical Data Format 5 Technology suite -V = 1.14.4.3 +V = 1.14.6 DISTNAME = hdf5-${V} GH_ACCOUNT = HDFGroup GH_PROJECT = hdf5 GH_TAGNAME = ${DISTNAME:S/-/_/g} -REVISION = 0 -SHARED_LIBS += hdf5 7.0 # 314.0 -SHARED_LIBS += hdf5_cpp 11.0 # 310.4 -SHARED_LIBS += hdf5_hl 6.0 # 310.4 -SHARED_LIBS += hdf5_hl_cpp 7.0 # 3104. -SHARED_LIBS += hdf5_fortran 4.0 # 313.0 -SHARED_LIBS += hdf5hl_fortran 3.0 # 310.4 +SHARED_LIBS += hdf5 8.0 # 315.1 +SHARED_LIBS += hdf5_cpp 12.0 # 310.6 +SHARED_LIBS += hdf5_hl 7.0 # 310.6 +SHARED_LIBS += hdf5_hl_cpp 8.0 # 310.6 +SHARED_LIBS += hdf5_fortran 5.0 # 313.2 +SHARED_LIBS += hdf5hl_fortran 4.0 # 310.6 CATEGORIES = math @@ -26,20 +25,22 @@ MAINTAINER = Martin Reindl