FS#61601 - [vtk] 8.2.0-1 Missing libpugixml.so.1

Attached to Project: Community Packages
Opened by Oliver (xxarch) - Friday, 01 February 2019, 17:36 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Saturday, 09 March 2019, 15:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

vtk 8.2.0-1 does not work with python (missing libpugixml.so.1). Reverting back to vtk 8.1.2-2 solves the problem.


Additional info:

See error below.

Steps to reproduce:

~> pacman -Q vtk
vtk 8.2.0-1
~> python
Python 3.7.2 (default, Jan 10 2019, 23:51:51)
[GCC 8.2.1 20181127] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/vtkmodules/vtkIOCityGML.py", line 5, in <module>
from .vtkIOCityGMLPython import *
ImportError: libpugixml.so.1: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/vtk.py", line 32, in <module>
all_spec.loader.exec_module(all_m)
File "/usr/lib/python3.7/site-packages/vtkmodules/all.py", line 99, in <module>
from .vtkIOCityGML import *
File "/usr/lib/python3.7/site-packages/vtkmodules/vtkIOCityGML.py", line 9, in <module>
from vtkIOCityGMLPython import *
ModuleNotFoundError: No module named 'vtkIOCityGMLPython'
>>>
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Saturday, 09 March 2019, 15:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  vtk 8.2.0-2
Comment by Eli Schwartz (eschwartz) - Friday, 01 February 2019, 19:21 GMT
added to makedepends only?
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 02 February 2019, 18:21 GMT
It should be added to optdeps indeed, I’ve been rebuilding this version so many times in so many configurations that I finally forgot something.

So just install pugixml (I will list it in next rebuild).
Comment by Oliver (xxarch) - Saturday, 02 February 2019, 18:31 GMT
Thank you very much! After installation of pugixml everything is fine.
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 09 February 2019, 11:29 GMT
Note that I was tricked by the fact the package still contains:

vtk /usr/include/vtk/vtkpugixml/
vtk /usr/include/vtk/vtkpugixml/src/
vtk /usr/include/vtk/vtkpugixml/src/pugiconfig.hpp
vtk /usr/include/vtk/vtkpugixml/src/pugixml.hpp
vtk /usr/include/vtk/vtkpugixml/src/vtk_pugixml_mangle.h
vtk /usr/lib/libvtkpugixml.so
vtk /usr/lib/libvtkpugixml.so.1

So that apparently the bundled pugixml is used by some parts, and the system one by others…

Loading...