Skip to content

highfive-3.3.0 fail to configure for tests with >=catch-3.15.3 #128

Description

@band-a-prend

Bug Description
I tried to run tests using Gentoo build environment and with system installed >=catch-15.3.0 there is an error while configuring:

cmake -C /var/tmp/portage/sci-libs/highfive-3.3.0/work/highfive-3.3.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DHDF5_IS_PARALLEL=no -DHIGHFIVE_TEST_BOOST=yes -DHIGHFIVE_TEST_EIGEN=yes -DHIGHFIVE_TEST_OPENCV=yes -DHIGHFIVE_TEST_XTENSOR=OFF -DHIGHFIVE_EXAMPLES=yes -DHIGHFIVE_UNIT_TESTS=yes -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/highfive-3.3.0/work/highfive-3.3.0_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/highfive-3.3.0/work/highfive-3.3.0
loading initial cache file /var/tmp/portage/sci-libs/highfive-3.3.0/work/highfive-3.3.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 16.2.0
-- The CXX compiler identification is GNU 16.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found HDF5: hdf5-shared (found version "1.14.6")
-- Found MPI_C: /usr/lib64/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib64/libmpicxx.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Found OpenCV: /usr (found version "4.12.0")
CMake Error at tests/unit/CMakeLists.txt:37 (message):
  Failed to modify Catch2 test execution

-- Configuring incomplete, errors occurred!

Version Information

  • HighFive: 3.3.0
  • Compiler: GCC-15.3, GCC-16.2
  • OS: Gentoo Linux
  • CMake: 4.3.4
  • HDF5: 1.14.6

There's no configuration error with <=catch-15.2.0. The breakage changes for highfive in catch package was introduced in commit catchorg/Catch2@64a551e. For previous catch commit catchorg/Catch2@2b97136 the highfive configuration is OK.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions