Bug#1084865: opencv: FTBFS on alpha may be due to misdetected vtk9
Michael Cree
mcree at orcon.net.nz
Sun Oct 13 05:55:07 BST 2024
Hello,
Regarding:
> opencv currently FTBFS on alpha due to missing files during dh_install [1]
I note from the build log that the viz module was not built because
it was disabled at cmake configure time at the start of the build.
Checking CMakeLists.txt in the opencv source I see:
OCV_OPTION(WITH_VTK "Include VTK library support (and build opencv_viz module eiher)" ON
VISIBLE_IF NOT ANDROID AND NOT IOS AND NOT WINRT AND NOT CMAKE_CROSSCOMPILING
VERIFY HAVE_VTK)
suggesting we need vtk9 to build the viz module, but in the build log
at the time of detection of vtk9:
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
This is despite the vtk build-deps were loaded for the build.
I further note that vtk9 is marked installed on Alpha, but was not
built on any of the Alpha buildds. Someone must have manually built it
and uploaded it into the archive (which is permitted for the
debian-ports arches). I wonder whether the problem might actually be
with that manually built vtk9 ?
I suggest we ask for a binNMU of vtk9 on Alpha to get it built on
the buildd, and, assuming that is successful, give-back opencv on
Alpha to see if that resolves this bug.
Regards,
Michael.
More information about the debian-science-maintainers
mailing list