Skip to content

Build fails with the latest glibc. Catch2 module version too old. #1342

@khou2020

Description

@khou2020

Describe the bug
OpenPMD uses an older version of the external module Catch2 that is incompatible with the latest glibc version.
See catchorg/Catch2#2421

To Reproduce
wget https://github.com/openPMD/openPMD-api/archive/refs/tags/0.14.5.tar.gz
tar -zxf openPMD-api.tar.gz
cd openPMD-api
mkdir build
cd build
cmake
-DopenPMD_USE_MPI=ON
-DopenPMD_USE_ADIOS2=OFF
-DopenPMD_USE_HDF5=ON
-DopenPMD_USE_ADIOS1=OFF
-DopenPMD_USE_PYTHON=OFF
-DCMAKE_CXX_STANDARD=14
-DCMAKE_PREFIX_PATH=openpmd_install_path
..
make -j 4

Expected behavior
Library builds without problem.

Software Environment

  • version of openPMD-api: 0.14.5
  • installed openPMD-api via: from source
  • operating system: Ubuntu 22.04
  • machine: git action
  • name and version of Python implementation: n/a
  • version of HDF5: 1.13.2
  • version of ADIOS1: n/a
  • version of ADIOS2: n/a
  • name and version of MPI: mpich 4.0.2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugthird partythird party libraries that are shipped and/or linked

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions