Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
khou2020 opened this issue Dec 5, 2022 · 3 comments
Closed

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

khou2020 opened this issue Dec 5, 2022 · 3 comments
Labels
bug third party third party libraries that are shipped and/or linked
Milestone

Comments

@khou2020
Copy link

khou2020 commented Dec 5, 2022

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.

@khou2020 khou2020 added the bug label Dec 5, 2022
@ax3l ax3l added the third party third party libraries that are shipped and/or linked label Dec 6, 2022
@ax3l ax3l added this to the 0.14.6 milestone Dec 6, 2022
@ax3l
Copy link
Member

ax3l commented Dec 6, 2022

Thank you for the report @khou2020 !

Are you sure it's that catch issue? According to the maintainer, 2.13.5+ should fix it and we already ship 2.13.9+:
catchorg/Catch2#2421 (comment)

@ax3l
Copy link
Member

ax3l commented Dec 6, 2022

Ah right, our 0.14.5 release still ships Catch2 v 2.13.4 which is affected:
https://github.com/openPMD/openPMD-api/tree/0.14.5#dependencies

So dev does fix the issue for you, right? :)

X-ref:

@khou2020
Copy link
Author

The current dev branch (1774623) works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug third party third party libraries that are shipped and/or linked
Projects
None yet
Development

No branches or pull requests

2 participants