Package: catch2
Version: 2.13.10-1
Severity: important
Control: affects -1 src:fenics-dolfinx

dolfinx 0.7 is trying to use catch2 to manage tests via cmake.
It fails at configuration time though, with cmake returning the error

CMake Warning at CMakeLists.txt:20 (find_package):
  Could not find a configuration file for package "Catch2" that is compatible
  with requested version "3".

  The following configuration files were considered but not accepted:

    /usr/lib/cmake/Catch2/Catch2Config.cmake, version: 2.13.10
    /lib/cmake/Catch2/Catch2Config.cmake, version: 2.13.10

-- Catch2 not found.



That is, the dolfinx test CMakeLists.txt uses

  find_package(Catch2 3)

but the debian catch2 package is 2.13.10, so v2 not v3.
Hence cmake rejects the package.

Upstream, catch2 is now at release 3.4.0.

Could catch2 please be updated to the latest upstream release?

Reply via email to