<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
Dear Santiago,<br>
<br>
From what I understand:<br>
- VTK-vtk-module-find-packages.cmake is generated during VTK build
(by the CMake/vtkModule.cmake script)<br>
- It probably catches the Boost version used/detected during build
and write it down to VTK-vtk-module-find-packages.cmake<br>
- 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)<br>
- 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.<br>
<br>
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.<br>
<br>
Hope this analysis is correct (I am not sure to understand of the
subtleties of the packaging process!)<br>
<br>
Have a nice day<br>
Emmanuel<br>
<br>
<div class="moz-cite-prefix">On 06/03/2026 11:56, Santiago Vila
wrote:<br>
</div>
<blockquote type="cite" cite="mid:aaqyzoD4DGJmd0wE@nuc">
<pre wrap="" class="moz-quote-pre">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
<a class="moz-txt-link-abbreviated" href="mailto:Debian-med-packaging@alioth-lists.debian.net">Debian-med-packaging@alioth-lists.debian.net</a>
<a class="moz-txt-link-freetext" href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging</a>
</pre>
</blockquote>
<br>
</body>
<lt-container></lt-container>
</html>