Bug#1141884: libvtk9.x ships python library without proper shlibs
Emilio Pozuelo Monfort
pochu at debian.org
Sun Jul 12 09:57:12 BST 2026
Source: vtk9
Version: 9.5.2+dfsg4-5
Severity: serious
Hi,
During the python3.14 as default python3 interpreter transition, vtk9 has
been binNMU'ed, resulting in the package building
libvtkWrappingPythonCore3.14-9.5.so.1. However that can cause rdeps to fail,
as demonstrated in one autopkgtest [1]:
332s ERROR: TestFemApp (unittest.loader._FailedTest.TestFemApp)
332s ----------------------------------------------------------------------
332s ImportError: Failed to import test module: TestFemApp
332s Traceback (most recent call last):
332s File "/usr/lib/python3.13/unittest/loader.py", line 137, in loadTestsFromName
332s module = __import__(module_name)
332s File "/usr/share/freecad/Mod/Fem/TestFemApp.py", line 33, in <module>
332s from femtest.app.test_mesh import TestMeshCommon as FemTest07
332s File "/usr/share/freecad/Mod/Fem/femtest/app/test_mesh.py", line 33, in <module>
332s import Fem
332s ImportError: libvtkWrappingPythonCore3.13-9.5.so.1: cannot open shared object file: No such file or directory
One possible easy solution would be to build vtk9 against all supported python3 versions,
thus during the transition libvtk9 would have both 3.13 and 3.14 builds, and it would
be dropped once the older version is no longer "supported" (i.e. included in
python3-all).
Another option would be to have some dependencies, e.g. through a
Provides: libvtkwrapping-python3.XX and corresponding deps in rdeps.
Cheers,
Emilio
[1] https://ci.debian.net/data/autopkgtest/testing/amd64/f/freecad/73101911/log.gz
More information about the debian-science-maintainers
mailing list