Be a bit more forgiving with copy_file#5142
Merged
bartoldeman merged 2 commits intoeasybuilders:developfrom Mar 3, 2026
Merged
Be a bit more forgiving with copy_file#5142bartoldeman merged 2 commits intoeasybuilders:developfrom
copy_file#5142bartoldeman merged 2 commits intoeasybuilders:developfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I noticed that (in EESSI/software-layer#1405), that
jupyter-server-2.16.0-GCCcore-14.2.0.ebbuilds fine withEasyBuild/5.2.0but errors (in EESSI) due to a copy failure for one of the easyblocks used.I tracked this down to https://github.com/easybuilders/easybuild-easyblocks/pull/3993/changes#diff-8c64eeef13a658d3b3982cea75b316a70b272ece82de8f5d1a634dd2252071f9 which seems to trigger attempting to copy the cargo easyblock twice to the
reprodfolder. Since the permissions in EESSI are read-only, the copy fails to overwrite the previously copied file. This change makes things more forgiving (if the contents are already the same, just update thexattrs).