Dear Santiago,

From what I understand:
- VTK-vtk-module-find-packages.cmake  is generated during VTK build (by the CMake/vtkModule.cmake script) - It probably catches the Boost version used/detected during build and write it down to VTK-vtk-module-find-packages.cmake - VTK-vtk-module-find-packages.cmake is then exported and used in all projects that depend on VTK (I saw that all them have a new RC error, and they seem to be all the same as the one you found on insighttoolkit) - boost-default has jumped up from 1.83 to 1.90 and landed in unstable on 5 March, VTK 9.52 was last build just before on 3 March.

Therefore, I suggest a rebuild of the vtk package with the new version of boost, this should update the VTK-vtk-module-find-packages.cmake and then all the package that depends on vtk9 may rebuild without any problem.

Hope this analysis is correct (I am not sure to understand of the subtleties of the packaging process!)

Have a nice day
Emmanuel

On 06/03/2026 11:56, Santiago Vila wrote:
Hi. The error message says this:

CMake Error at 
/usr/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
   Could NOT find Boost: Found unsuitable version "1.90.0", but required is
   exact version "1.83.0" (found /usr/include, )
Call Stack (most recent call first):
   /usr/lib/x86_64-linux-gnu/cmake/vtk-9.5/vtk-config.cmake:171 (include)
   Modules/Bridge/VtkGlue/itk-module-init.cmake:9 (find_package)
   CMake/ITKModuleEnablement.cmake:374 (include)
   CMakeLists.txt:583 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

(note the "exact version").

File /usr/lib/x86_64-linux-gnu/cmake/vtk-9.5/VTK-vtk-module-find-packages.cmake 
says this:

if (_vtk_module_find_package_enabled)
   set(_vtk_module_find_package_required)
   if (_vtk_module_find_package_is_required)
     set(_vtk_module_find_package_required REQUIRED)
   endif ()

   find_package(Boost
     1.83.0
     EXACT
so it would seem that this hardcoded dependency on exact 1.83.0 comes from vtk.

Should this be considered as a bug in vtk?

Thanks.

_______________________________________________
Debian-med-packaging mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging




Reply via email to