Subject: [PATCH 0/3] Update hdf5 to 1.14.6, fix wrappers and remove generated source files.

From: Lars Bilke <[email-masked]>
Date: Mon, 19 May 2025 23:11:19 +0200

Dear David,

it looks like netcdf-cxx4-parallel-openmpi is not building (https://ci.guix.gnu.org/build/10639292/details) since this patch was merged:

CMake Error at /gnu/store/8wkkxkgkiqaddpn2al8khxnaaanici26-cmake-minimal-3.24.2/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  /gnu/store/8wkkxkgkiqaddpn2al8khxnaaanici26-cmake-minimal-3.24.2/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /gnu/store/8wkkxkgkiqaddpn2al8khxnaaanici26-cmake-minimal-3.24.2/share/cmake-3.24/Modules/FindZLIB.cmake:166 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /gnu/store/8wkkxkgkiqaddpn2al8khxnaaanici26-cmake-minimal-3.24.2/share/cmake-3.24/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /gnu/store/gh7m8a9ivnbav6pkwni124j2mjmqykly-hdf5-parallel-openmpi-1.14.6/cmake/hdf5-config.cmake:173 (find_dependency)
  /gnu/store/8wkkxkgkiqaddpn2al8khxnaaanici26-cmake-minimal-3.24.2/share/cmake-3.24/Modules/FindHDF5.cmake:502 (find_package)
  CMakeLists.txt:402 (FIND_PACKAGE)

I guess this is related to the patch in hdf5-config.cmake.in. Do you have any idea how this can be solved?

Thanks!
Lars