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

medfile 4.1.0 fails to build with HDF5 version 1.12.0 #119156

Closed
rien opened this issue Apr 11, 2021 · 0 comments · Fixed by #119162
Closed

medfile 4.1.0 fails to build with HDF5 version 1.12.0 #119156

rien opened this issue Apr 11, 2021 · 0 comments · Fixed by #119162
Labels
0.kind: bug Something is broken

Comments

@rien
Copy link
Contributor

rien commented Apr 11, 2021

Describe the bug
The package medfile-4.1.0 fails to build on x86_64 with the following error:

HDF5 version is 1.12.0.  Only versions >= 1.10.2 are supported.

To Reproduce
Steps to reproduce the behavior:

  1. Switch to nixos-unstable-small (7644480)
  2. Run nix-shell -p medfile
  3. Build fails:
-- Check for HDF5 ...
-- Found HDF5: /nix/store/n6gic5akqirw4bfghnlmzqa5fyylhr5g-hdf5-1.12.0/lib/libhdf5.so;/nix/sto>
-- Found HDF5 version 1.12.0 -- parallel flag is set to 
-- _versionComponents=1;12;0
-- HDF5_VERSION=1.12.0
CMake Error at config/cmake_files/medMacros.cmake:451 (MESSAGE):
  HDF5 version is 1.12.0.  Only versions >= 1.10.2 are supported.
Call Stack (most recent call first):
  CMakeLists.txt:110 (MED_FIND_HDF5)

Expected behavior
Medfile should be able to build

Additional context
I guess the version check will be just HDF5_VERSION == 1.11.*, I will look into creating a patch.

Notify maintainers

No maintainers, but @r-ryantm did the last meaningful change.

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.11.9, NixOS, 21.05.20210411.7644480 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210326_dd77f71`
 - channels(rien): `""`
 - nixpkgs: `/etc/nixpkgs`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@rien rien added the 0.kind: bug Something is broken label Apr 11, 2021
This was referenced Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant