FS#63072 - [vtk] pdal should be runtime depends not makedepends
Attached to Project:
Community Packages
Opened by Chris Billington (chrisjbillington) - Tuesday, 02 July 2019, 17:57 GMT
Last edited by Antonio Rojas (arojas) - Monday, 05 August 2019, 16:41 GMT
Opened by Chris Billington (chrisjbillington) - Tuesday, 02 July 2019, 17:57 GMT
Last edited by Antonio Rojas (arojas) - Monday, 05 August 2019, 16:41 GMT
|
Details
Description:
With pdal not installed, one of the Python extension modules in vtk is not importable: $ python -c 'import vtkmodules.vtkIOPDALPython' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: libpdal_base.so.8: cannot open shared object file: No such file or directory This prevents you from using mayavi for example: $ python -c 'import mayavi.mlab' Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/vtkmodules/vtkIOPDAL.py", line 5, in <module> from .vtkIOPDALPython import * ImportError: libpdal_base.so.8: cannot open shared object file: No such file or directory ---snip--- Installing pdal resolves the issue. Additional info: vtk version: 8.2.0-5 Steps to reproduce: pacman -Rs pdal python -c 'import vtkmodules.vtkIOPDALPython' |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 05 August 2019, 16:41 GMT
Reason for closing: Not a bug
Additional comments about closing: Already an optional dependency
Monday, 05 August 2019, 16:41 GMT
Reason for closing: Not a bug
Additional comments about closing: Already an optional dependency
When mayavi tries to load this very same module it fails to start, unless pdal is explicitly installed.