Giuseppe Bilotta
unread,Oct 30, 2021, 6:10:03 AM10/30/21You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Package: paraview-dev
Version: 5.9.0-2+b2
Severity: normal
Trying to run paraview-config fails with:
----
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/VTK-vtk-module-find-packages.cmake:303 (find_package):
By not providing "FindPDAL.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PDAL", but
CMake did not find one.
Could not find a package configuration file provided by "PDAL" with any of
the following names:
PDALConfig.cmake
pdal-config.cmake
Add the installation prefix of "PDAL" to CMAKE_PREFIX_PATH or set
"PDAL_DIR" to a directory containing one of the above files. If "PDAL"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/vtk-config.cmake:138 (include)
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/paraview-config.cmake:53 (find_package)
CMakeLists.txt:5 (find_package)
Traceback (most recent call last):
File "/usr/bin/paraview-config", line 267, in <module>
extract_paraview_flags(opts.components, cmake=opts.cmake,
File "/usr/bin/paraview-config", line 165, in extract_paraview_flags
subprocess.check_call(configure_cmd, cwd=builddir,
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-GUnix Makefiles', '/tmp/tmpuazuzahm/src', '-DCMAKE_PREFIX_PATH:STRING=/usr']' returned non-zero exit status 1.
----
Installing libpdal-dev solves the issue, but presents a new one:
----
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/VTK-vtk-module-find-packages.cmake:350 (find_package):
find_package called with invalid argument "4.4-6+b2"
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/vtk-config.cmake:138 (include)
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/paraview-config.cmake:53 (find_package)
CMakeLists.txt:5 (find_package)
CMake Error at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) (Required
is at least version "1.4.2")
Call Stack (most recent call first):
/usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/FindGL2PS.cmake:24 (find_package_handle_standard_args)
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/VTK-vtk-module-find-packages.cmake:397 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/vtk/vtk-config.cmake:138 (include)
/usr/lib/x86_64-linux-gnu/cmake/paraview-5.9/paraview-config.cmake:53 (find_package)
CMakeLists.txt:5 (find_package)
Traceback (most recent call last):
File "/usr/bin/paraview-config", line 267, in <module>
extract_paraview_flags(opts.components, cmake=opts.cmake,
File "/usr/bin/paraview-config", line 165, in extract_paraview_flags
subprocess.check_call(configure_cmd, cwd=builddir,
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-GUnix Makefiles', '/tmp/tmpy12r9x1m/src', '-DCMAKE_PREFIX_PATH:STRING=/usr']' returned non-zero exit status 1.
----
which I believe seems to indicate the cmake version check system doesn't like
suffixes such as "+b2"
As it is now, it is therefore not possible to link to cmake using
paraview-config to find the include paths and link flags.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.14.0-3-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages paraview-dev depends on:
ii libc6 2.32-4
ii libeigen3-dev 3.3.9-2
ii paraview 5.9.0-2+b2
ii qttools5-dev-tools 5.15.2-5
paraview-dev recommends no packages.
paraview-dev suggests no packages.
-- no debconf information