Your message dated Sat, 12 Sep 2026 17:18:49 +0000
with message-id <[email protected]>
and subject line Bug#1147167: fixed in vtk9 9.6.2+dfsg1-6
has caused the Debian Bug report #1147167,
regarding vtk9: CMake project using VTK and ITK fails configure: both want HDF5 
but VTK uses older FindHDF5.cmake
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1147167: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147167
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vtk9
Version: 9.6.2+dfsg1-5
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

our package CamiTK does not build since the update to ITK 5.4.7. While
troubleshooting the issue, we noticed that this is caused by VTK and ITK
requesting the same library: HDF5.

VTK uses a custom, older FindHDF5.cmake, while ITK uses the system one.
The CMake variables defined by the two FindHDF5.cmake are different,
which leads to an error at the configure step about not finding HDF5.

Our package does not require HDF5 except through VTK and ITK.
The curent workaround we are considering is to require it before asking
for VTK and ITK in our CMake files.

Here is a minimal example of a CMakeLists.txt file that shows the issue:

cmake_minimum_required(VERSION 3.28)
project(HDF5Issue)
# FIX: find_package(HDF5 COMPONENTS C HL)
find_package(VTK REQUIRED COMPONENTS CommonCore)
find_package(ITK REQUIRED)


Configuring the project ("cmake -S . --build build") in the directory
with this CMakeLists.txt generates an error identical to the one in our package:

-- Found HDF5: /usr/lib/x86_64-linux-gnu/libhdf5_serial.so (found version 
"2.2.0") found components: C
CMake Error at /usr/share/cmake-4.3/Modules/FindHDF5.cmake:1257 (message):
  HDF5 was found, but a different variable was set which contains the
  location of the `hdf5::hdf5` library.
Call Stack (most recent call first):
  /usr/share/cmake-4.3/Modules/CMakeFindDependencyMacro.cmake:93 (find_package)
  /usr/share/cmake-4.3/Modules/CMakeFindDependencyMacro.cmake:125 
(__find_dependency_common)
  /usr/lib/x86_64-linux-gnu/cmake/LIBMINC/LIBMINCConfig.cmake:54 
(find_dependency)
  /usr/lib/x86_64-linux-gnu/cmake/ITK-5.4/Modules/ITKMINC.cmake:15 
(find_package)
  /usr/lib/x86_64-linux-gnu/cmake/ITK-5.4/ITKModuleAPI.cmake:86 (include)
  /usr/lib/x86_64-linux-gnu/cmake/ITK-5.4/ITKModuleAPI.cmake:31 
(itk_module_load)
  /usr/lib/x86_64-linux-gnu/cmake/ITK-5.4/ITKModuleAPI.cmake:143 
(_itk_module_config_recurse)
  /usr/lib/x86_64-linux-gnu/cmake/ITK-5.4/ITKConfig.cmake:89 (itk_module_config)
  sdk/cmake/modules/macros/camitk/CamiTKLibrary.cmake:205 (find_package)
  imaging/libraries/itktemplates/CMakeLists.txt:76 (camitk_library)


-- Found NetCDF headers: /usr/include
-- Found NetCDF library: /usr/lib/x86_64-linux-gnu/libnetcdf.so
-- Found Python3: /usr/bin/python3 (found suitable version "3.14.7", minimum 
required is "3.14") found components: Interpreter Development.Module 
Development.Embed
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.15.3")
-- Found HDF5: /usr/lib/x86_64-linux-gnu/libhdf5_serial.so (found version 
"2.2.0") found components: C HL
CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/vtk-9.6/patches/99/FindHDF5.cmake:1123 
(message):
  HDF5 was found, but a different variable was set which contains the
  location of the `hdf5::hdf5_hl` library.

The reason I am posting this to the VTK9 package is that it is using a
specific FindHDF5.cmake
I am not sure why VTK may need a specific patch version of
FindHDF5.cmake, but the current one is based on an older version
than the one on the standard path in my sid image:

 /usr/lib/x86_64-linux-gnu/cmake/vtk-9.6/patches/99/FindHDF5.cmake
 /usr/share/cmake-4.3/Modules/FindHDF5.cmake

Is there a way to fix this in the VTK9 package ?

Best regards, 

Manik Bhattacharjee.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.0-136-generic (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages vtk9 depends on:
ii  libc6       2.43-5
ii  libgcc-s1   16.2.0-2
ii  libstdc++6  16.2.0-2
ii  libvtk9.6   9.6.2+dfsg1-5

vtk9 recommends no packages.

Versions of packages vtk9 suggests:
pn  vtk9-doc       <none>
pn  vtk9-examples  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: vtk9
Source-Version: 9.6.2+dfsg1-6
Done: Dominique Belhachemi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
vtk9, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Belhachemi <[email protected]> (supplier of updated vtk9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Sep 2026 09:35:02 -0400
Source: vtk9
Architecture: source
Version: 9.6.2+dfsg1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Dominique Belhachemi <[email protected]>
Closes: 1147167
Changes:
 vtk9 (9.6.2+dfsg1-6) unstable; urgency=medium
 .
   * Team upload.
   * Drop unused 121_add_support_for_loong64.patch
   * Do not install VTK's bundled FindHDF5.cmake (Closes: #1147167)
Checksums-Sha1:
 249091d86403e4e80352a8222cd49b9d371c33e6 3801 vtk9_9.6.2+dfsg1-6.dsc
 54a21c646093975ad515e130ffc39fb73f01306d 27284 vtk9_9.6.2+dfsg1-6.debian.tar.xz
 9c4affd4620892b4418f6997e2d4d440246f5d57 29449 
vtk9_9.6.2+dfsg1-6_source.buildinfo
Checksums-Sha256:
 c1b6ec3dd64146cfd3df18abdd9ad4f2660ea19bd11ec6784fed460e99bdceff 3801 
vtk9_9.6.2+dfsg1-6.dsc
 8c49aa6b00a1a01ae7eb6fd857625df49856314b3438473175c633cb57a021c6 27284 
vtk9_9.6.2+dfsg1-6.debian.tar.xz
 8486036ce75e2c33153dd1cadbd74a94cae8e642b2be0047c95bd3e8ecd535ae 29449 
vtk9_9.6.2+dfsg1-6_source.buildinfo
Files:
 d0612b1c630c027706c96d60c2fddc01 3801 graphics optional vtk9_9.6.2+dfsg1-6.dsc
 47ad92b1217706f32153fc62bb67f6e6 27284 graphics optional 
vtk9_9.6.2+dfsg1-6.debian.tar.xz
 c479d2a6bd48630bd2d150e77b806c19 29449 graphics optional 
vtk9_9.6.2+dfsg1-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE6kgtUJkuk2zr2l/SGbXmyGIZEAEFAmqlg1ATHGRvbWliZWxA
ZGViaWFuLm9yZwAKCRAZtebIYhkQAUcdD/97Vp5C7iGqLcNEaapBEwFy0rQL25p3
U69lHwceoWYUt276mmGMxyaJwvUZrxBT8GqKoI+sSCMAN5aZTujqzKhh8vu04EWy
2BLNCG9m8f0tKmOhY/AUoDGa5NXDzh8dNif5I7WhI5IBaBK0YlsuI0l1T8vJEBdc
10Es6jtt64z+sqOqiXG86mGh+zaVLD/fpWCo/bjJ0zB4BjEuP9uFhh45SEEiyaAq
60/5+w/lG3kRczb2RMioVGI6GDaM9u3X568FdatAD6ocez3EPBzt8ZVSAMLUtanQ
07QzCNoD0ostKYK4m6Y2Wmjg4nwG+bK7nP8PDG3vUPfGfxZNeu5oJZazKs4m7ULm
R/Z4fKANldIC4Xke8EsAwZ7+KazWz5NaM2R7kKkB3LGckYTZvD+4Oo+Unk0/PRgC
ftyCbe58EF/WiNYU2b2i+PJO3AX/Ksudr5HWQiidalbFnqcMEVnb+jPVy/n9QBgX
30p+A1NXGRtTMgMlleeDw+UjrKJQdWzBeNA2FlOilBRAMhdUSFUsTNJ0ktgdI5SH
uz5kj0u+ocyQIZ5Q2L840Wcbenzq0sl9odPzt9kWCirRqqhg4CIjcP7wZYW/uUXg
VufATenwi2ib32sEKsfp2yYv2+U3CtY4KA0Vucii3rx5JQpTn9b0UII0Y/iMF0Xt
Gpt44ElQoOg0zw==
=pqai
-----END PGP SIGNATURE-----

Attachment: pgpu6QzsmeDM2.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to