Skip to content

Conversation

@climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Dec 11, 2025

Description

Fix MET segmentation faults reported in JCSDA/spack-stack#1839 by removing the fixup_rpath logic for the Python libraries and replacing it with an environment modification (LD_LIBRARY_PATH). In the case that the spack module logic also handles LD_LIBRARY_PATH (which it usually doesn't these days), then this may be redundant, but it won't hurt.

Note that the fixup_rpath logic is not in the upstream spack repository, hence no PR is required at this time.

This PR is for release/2.0 and will be merged back to spack-stack-dev afterwards.

Testing

See JCSDA/spack-stack#1844

Note that the first attempt failed in the create env step during the ldd_check.py call. But the build of the MET package succeeded, and I verified that the segfaults are gone on the two platforms Atlantis and Nautilus with all compilers.

Issues

Working toward JCSDA/spack-stack#1839

… use LD_LIBRARY_PATH environment modifications instead
@climbfuji climbfuji merged commit f37a67b into JCSDA:release/2.0 Dec 11, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in spack-stack-2.0.x (2025 Q4) Dec 11, 2025
@climbfuji climbfuji deleted the bugfix/rel20_met_segfault branch December 11, 2025 23:03
rickgrubin-noaa pushed a commit to rickgrubin-noaa/spack-packages that referenced this pull request Dec 29, 2025
So that I can point to this when people ask why the repository is structured this way.

Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants