Bug#1035426: libvtk9-dev ships uncompilable headers

Steve Langasek steve.langasek at canonical.com
Wed May 3 10:26:37 BST 2023


Package: libvtk9-dev
Version: 9.1.0+really9.1.0+dfsg2-5
Severity: minor
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu mantic

Dear maintainers,

As part of an investigation to establish the feasibility of moving 32-bit
archs to 64-bit time_t, I am running an analysis of all header files in the
archive to determine which libraries' ABIs are affected.  This requires the
headers in question to be compilable.

libvtk9-dev ships header files which have includes that are not satisfiable
in Debian.  For my purposes, I've worked around these unusable headers by
adding quirks to my scripts, but it seems worth reporting as a bug that
headers are being shipped that aren't usable.

- /usr/include/vtk-9.1/vtkParseData.h includes vtkParseAttributes.h.  There
  is a file by this name in paraview-dev, but that seems a wrong thing to
  depend on?

- /usr/include/vtk-9.1/vtkQImageToImageSource.h includes
  vtkRenderingQtModule.h which is in libvtk9-qt-dev, so possibly it's
  packaged in the wrong place?

- /usr/include/vtk-9.1/vtk_libxml2.h includes libxml/xmlversion.h from
  libxml2-dev

- /usr/include/vtk-9.1/vtk_pegtl.h includes vtkpegtl/include/tao/pegtl.hpp
  which does not exist in Debian

- /usr/include/vtk-9.1/vtk_verdict.h includes vtkverdict/verdict.h which is
  only in libvtk7-dev

- /usr/include/vtk-9.1/vtk_mpi.h et al require mpi.h from, e.g.,
  libmpich-dev

- /usr/include/vtk-9.1/vtkCompositeMapperHelper2.h requires GLenum from
  GL/gl.h but does not #include it (though a correct dependency is present)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230503/4ac2cb8c/attachment.sig>


More information about the debian-science-maintainers mailing list