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

Cargo easyblock produces confusing error message when same crate is listed twice #3461

Open
boegel opened this issue Sep 24, 2024 · 1 comment

Comments

@boegel
Copy link
Member

boegel commented Sep 24, 2024

When humantime 2.1.0 is listed twice in crates, then the Cargo easyblock produces a very confusing error:

ERROR ... Unpacking sources of 'humantime-2.1.0.tar.gz' failed

It's actually failing to detect which subdirectories get created by unpacking humantime-2.1.0.tar.gz the second time.

So, Cargo should check whether a particular crate is listed twice, print a warning, and ignore it after unpacking it for the first time?

@boegel boegel added this to the release after 4.9.4 milestone Sep 24, 2024
@akesandgren
Copy link
Contributor

We should also make the easyblock verify the type of the crates variable. If it's not a list one will get weird errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants