[Pkg-cmake-team] Bug#694475: cmake: FindVTK produces too many warnings

Timo Röhling roehling at debian.org
Mon Sep 13 14:57:53 BST 2021


Control: reassign 694475 src:vtk7
Control: retitle 694475 vtk7: find_package(VTK) produces too many warnings
Control: clone 694475 -1
Control: reassign -1 src:vtk6
Control: retitle -1 vtk6: find_package(VTK) produces too many warnings

On Mon, 26 Nov 2012 19:33:42 +0100 Anton Gladky <gladky.anton at gmail.com> wrote:
> including FindVTK produces the following warnings:
> 
> ===================
> 
> - -- The imported target "vtkParseJava" references the file
>    "/usr/bin/vtkParseJava"
>    but this file does not exist.  Possible reasons include:
>    * The file was deleted, renamed, or moved to another location.
>    * An install or uninstall procedure did not complete successfully.
>    * The installation package was faulty and contained
>       "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
>       but not all the files it references.
> 
> ===================
> 
> The full dump of warnings and CMakeLists.txt are in attachment.

This is not a CMake bug.

VTK is very modular, but shipped with a monolithic CMake config in
libvtk*-dev that imports all targets, even optional ones such as the
Java components.

For these warnings to disappear, either libvtk*-dev has to pull in
all components (which is probably undesirable), or split off the
CMake config files for optional components into separate -dev
packages.

Cheers
Timo

-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20210913/5bbf827c/attachment.sig>


More information about the Pkg-cmake-team mailing list