Skip to content

crtm-fix: added logic to move all fixed files into flat directory structure incompatible with crtm package #1910

@climbfuji

Description

@climbfuji

Description

Because of the added logic in lines 54-95 of https://github.com/JCSDA/spack-packages/blob/64cccad58b7806c458e8d86d7fb9d864c025e82a/repos/spack_repo/builtin/packages/crtm_fix/package.py, the fix files from the official CRTM tarball end up in a flat directory structure.

This breaks the CRTM package when it looks for the coefficients (for testing, possibly other use cases). CRTM expects the directory structure as it is in the tarball. This capability needs to be restored and applications that expect a different structure need to adapt; alternatively, symbolic links from a flat directory structure (top-level fix directory) to the subdirectories are acceptable.

To Reproduce

Build crtm@3.1.3 with #1887 and try to run the tests as part of spack install. Look at the contents of the installed crtm-fix/fix directory.

Expected behavior

Original directory structure in crtm-fix is preserved.

System, compiler, code, ...

Any

Additional context

n/a

Metadata

Metadata

Labels

bugSomething is not working

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions