Index | Thread | Search

From:
Martin Reindl <martin@catai.org>
Subject:
Re: [maintainer update] hdf5 1.14.6
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org
Date:
Wed, 3 Sep 2025 21:39:00 +0200

Download raw body.

Thread
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 <martin@cata
 # https://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/COPYING
 PERMIT_PACKAGE =	Yes
 
-WANTLIB += c m ${COMPILER_LIBCXX} z
+WANTLIB += c m ${COMPILER_LIBCXX} z aec sz
 
 COMPILER =		base-clang ports-gcc base-gcc
 
 # for h5fuse.sh
 RUN_DEPENDS +=		shells/bash
 
+LIB_DEPENDS +=		archivers/libaec
+
 MODULES	=		fortran
 SEPARATE_BUILD =	Yes
 CONFIGURE_STYLE =	gnu
 CONFIGURE_ARGS =	--enable-cxx \
 			--enable-fortran \
 			FC=egfortran \
-			--with-examplesdir=${PREFIX}/share/examples/hdf5
+			--with-szlib=${PREFIX}/include,${PREFIX}/lib
 
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/hdf5/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo	6 Sep 2024 14:21:12 -0000	1.15
+++ distinfo	3 Sep 2025 19:32:49 -0000
@@ -1,2 +1,2 @@
-SHA256 (hdf5-1.14.4.3.tar.gz) = aQwdt7oP7U/6xhcJI2Z1/9mdldGR6JIO55xY1+fqM2E=
-SIZE (hdf5-1.14.4.3.tar.gz) = 36923567
+SHA256 (hdf5-1.14.6.tar.gz) = Ce4cZxqHQBpSAcBhBmUPYrre6lo7OUHpseLh4IMXNX8=
+SIZE (hdf5-1.14.6.tar.gz) = 39195022
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/hdf5/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST	6 Sep 2024 14:21:12 -0000	1.12
+++ pkg/PLIST	3 Sep 2025 19:32:49 -0000
@@ -176,108 +176,3 @@ lib/libhdf5hl_fortran.la
 @lib lib/libhdf5hl_fortran.so.${LIBhdf5hl_fortran_VERSION}
 share/doc/hdf5/
 share/doc/hdf5/COPYING
-share/examples/hdf5/
-share/examples/hdf5/README
-share/examples/hdf5/c/
-share/examples/hdf5/c++/
-share/examples/hdf5/c++/chunks.cpp
-share/examples/hdf5/c++/compound.cpp
-share/examples/hdf5/c++/create.cpp
-share/examples/hdf5/c++/extend_ds.cpp
-share/examples/hdf5/c++/h5group.cpp
-share/examples/hdf5/c++/h5tutr_cmprss.cpp
-share/examples/hdf5/c++/h5tutr_crtatt.cpp
-share/examples/hdf5/c++/h5tutr_crtdat.cpp
-share/examples/hdf5/c++/h5tutr_crtgrp.cpp
-share/examples/hdf5/c++/h5tutr_crtgrpar.cpp
-share/examples/hdf5/c++/h5tutr_crtgrpd.cpp
-share/examples/hdf5/c++/h5tutr_extend.cpp
-share/examples/hdf5/c++/h5tutr_rdwt.cpp
-share/examples/hdf5/c++/h5tutr_subset.cpp
-share/examples/hdf5/c++/readdata.cpp
-share/examples/hdf5/c++/run-c++-ex.sh
-share/examples/hdf5/c++/writedata.cpp
-share/examples/hdf5/c/h5_attribute.c
-share/examples/hdf5/c/h5_chunk_read.c
-share/examples/hdf5/c/h5_cmprss.c
-share/examples/hdf5/c/h5_compound.c
-share/examples/hdf5/c/h5_crtatt.c
-share/examples/hdf5/c/h5_crtdat.c
-share/examples/hdf5/c/h5_crtgrp.c
-share/examples/hdf5/c/h5_crtgrpar.c
-share/examples/hdf5/c/h5_crtgrpd.c
-share/examples/hdf5/c/h5_debug_trace.c
-share/examples/hdf5/c/h5_drivers.c
-share/examples/hdf5/c/h5_elink_unix2win.c
-share/examples/hdf5/c/h5_extend.c
-share/examples/hdf5/c/h5_extend_write.c
-share/examples/hdf5/c/h5_extlink.c
-share/examples/hdf5/c/h5_group.c
-share/examples/hdf5/c/h5_mount.c
-share/examples/hdf5/c/h5_rdwt.c
-share/examples/hdf5/c/h5_read.c
-share/examples/hdf5/c/h5_ref2reg_deprec.c
-share/examples/hdf5/c/h5_ref_compat.c
-share/examples/hdf5/c/h5_ref_extern.c
-share/examples/hdf5/c/h5_reference_deprec.c
-share/examples/hdf5/c/h5_select.c
-share/examples/hdf5/c/h5_shared_mesg.c
-share/examples/hdf5/c/h5_subset.c
-share/examples/hdf5/c/h5_write.c
-share/examples/hdf5/c/run-c-ex.sh
-share/examples/hdf5/fortran/
-share/examples/hdf5/fortran/compound.f90
-share/examples/hdf5/fortran/compound_complex_fortran2003.f90
-share/examples/hdf5/fortran/compound_fortran2003.f90
-share/examples/hdf5/fortran/h5_cmprss.f90
-share/examples/hdf5/fortran/h5_crtatt.f90
-share/examples/hdf5/fortran/h5_crtdat.f90
-share/examples/hdf5/fortran/h5_crtgrp.f90
-share/examples/hdf5/fortran/h5_crtgrpar.f90
-share/examples/hdf5/fortran/h5_crtgrpd.f90
-share/examples/hdf5/fortran/h5_extend.f90
-share/examples/hdf5/fortran/h5_rdwt.f90
-share/examples/hdf5/fortran/h5_subset.f90
-share/examples/hdf5/fortran/hyperslab.f90
-share/examples/hdf5/fortran/mountexample.f90
-share/examples/hdf5/fortran/nested_derived_type.f90
-share/examples/hdf5/fortran/ph5example.f90
-share/examples/hdf5/fortran/refobjexample.f90
-share/examples/hdf5/fortran/refregexample.f90
-share/examples/hdf5/fortran/run-fortran-ex.sh
-share/examples/hdf5/fortran/rwdset_fortran2003.f90
-share/examples/hdf5/fortran/selectele.f90
-share/examples/hdf5/hl/
-share/examples/hdf5/hl/c/
-share/examples/hdf5/hl/c++/
-share/examples/hdf5/hl/c++/ptExampleFL.cpp
-share/examples/hdf5/hl/c++/run-hlc++-ex.sh
-share/examples/hdf5/hl/c/ex_ds1.c
-share/examples/hdf5/hl/c/ex_image1.c
-share/examples/hdf5/hl/c/ex_image2.c
-share/examples/hdf5/hl/c/ex_lite1.c
-share/examples/hdf5/hl/c/ex_lite2.c
-share/examples/hdf5/hl/c/ex_lite3.c
-share/examples/hdf5/hl/c/ex_table_01.c
-share/examples/hdf5/hl/c/ex_table_02.c
-share/examples/hdf5/hl/c/ex_table_03.c
-share/examples/hdf5/hl/c/ex_table_04.c
-share/examples/hdf5/hl/c/ex_table_05.c
-share/examples/hdf5/hl/c/ex_table_06.c
-share/examples/hdf5/hl/c/ex_table_07.c
-share/examples/hdf5/hl/c/ex_table_08.c
-share/examples/hdf5/hl/c/ex_table_09.c
-share/examples/hdf5/hl/c/ex_table_10.c
-share/examples/hdf5/hl/c/ex_table_11.c
-share/examples/hdf5/hl/c/ex_table_12.c
-share/examples/hdf5/hl/c/image24pixel.txt
-share/examples/hdf5/hl/c/image8.txt
-share/examples/hdf5/hl/c/pal_rgb.h
-share/examples/hdf5/hl/c/ptExampleFL.c
-share/examples/hdf5/hl/c/run-hlc-ex.sh
-share/examples/hdf5/hl/fortran/
-share/examples/hdf5/hl/fortran/ex_ds1.f90
-share/examples/hdf5/hl/fortran/exlite.f90
-share/examples/hdf5/hl/fortran/run-hlfortran-ex.sh
-share/examples/hdf5/hl/run-hl-ex.sh
-share/examples/hdf5/run-all-ex.sh