You have been subscribed to a public bug:

The paraview-devel package in 26.04 contains cmake files which reference
the libraries installed as part of the python3-paraview package.
Specifically, these files:

    
/usr/lib/x86_64-linux-gnu/cmake/paraview-6.0/ParaViewPython-targets-debug.cmake
    
/usr/lib/x86_64-linux-gnu/cmake/paraview-6.0/ParaViewPythonIncubator-targets-debug.cmake

These files reference the python3-paraview libraries. E.g.:

    IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/python3/dist-
packages/paraview/modules/vtkRemotingClientServerStream.so

The path in that reference is correct, but the file name is not. The
actual file is:

    vtkRemotingClientServerStream.cpython-314-x86_64-linux-gnu.so

I.e., with the python version and architecture included in the name.

This makes it impossible to build a module against the paraview-devel
package, as CMake cannot find the libraries. This results in errors of
the form:

   CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/paraview-6.0/ParaViewPython-targets.cmake:226 
(message):
     The imported target "ParaView::vtkRemotingClientServerStreamPython"
     references the file

        "/usr/lib/python3/dist-
packages/paraview/modules/vtkRemotingClientServerStream.so"

     but this file does not exist.  Possible reasons include:

     ...

The error can be corrected with a dirty hack by changing the cmake files
so that they include the "cpython-314-x86_64-linux-gnu" in the library
names, or by creating symlinks to the libraries without the
"cpython-314-x86_64-linux-gnu" bit. What the "proper" fix is, I don't
know.

** Affects: paraview (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ParaView development package's cmake configuration references incorrectly named 
libraries
https://bugs.launchpad.net/bugs/2160300
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to