Your message dated Thu, 04 Jan 2024 13:05:46 +0100
with message-id <[email protected]>
and subject line Re: Bug#998102 paraview-config fails due to missing 
dependencies and invalid version numbers
has caused the Debian Bug report #998102,
regarding paraview-config fails due to missing dependencies and invalid version 
numbers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
998102: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998102
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Control: fixed 998102 5.11.2+dfsg-4

paraview-config is working without error with paraview 5.11.2.

If you're still getting errors then reopen the bug and provide a test command
that generates the error.

--- End Message ---

Reply via email to