Skip to content

component/hdf5: add zlib path to environment

Titouan Soulard requested to merge tsoulard/slapos:for-mr-rabbit into master

While building latest release of Nexedi ERP5 (based on tag 1.0.463), I encountered the following error on hdf5 build:

-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
CMake Error at CMakeFilters.cmake:198 (message):
   ZLib support in HDF5 was enabled but not found
Call Stack (most recent call first):
  CMakeLists.txt:965 (include)

I do not really know what to do, so this MR is mostly to discuss, but the patch I applied is to simply add both environment variables that are mentioned in the error message.

What I find weird is that we did not find this error before, is building ERP5 Python 3 SR tested somewhere? Or maybe I am on a weird system? It should be quite standard Debian 12.

Related-Commit: https://lab.nexedi.com/nexedi/slapos/-/commit/544b5f0452e514740d0860805febb680cba6c90e

CC: @jerome @xavier_thompson

Merge request reports