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

dune-pkg: Print an error when dune is unable to decompress a tarball #11549

Closed
gridbugs opened this issue Mar 20, 2025 · 6 comments · Fixed by #11560
Closed

dune-pkg: Print an error when dune is unable to decompress a tarball #11549

gridbugs opened this issue Mar 20, 2025 · 6 comments · Fixed by #11560
Labels
good first issue Good for contributing for the first time to the Dune codebase package management

Comments

@gridbugs
Copy link
Collaborator

Many opam packages have their source stored in a compress tarball, usually compressed with gzip or bzip2. When dune installs a package it uses tar (or bsdtar in some cases) to extract the archive, decompressing it first with the relevant tool if necessary (gunzip or bunzip2). If the relevant tool is not installed, the decompression will fail, however the details of the failure will not be shown to the user. It would be more helpful if the error message indicated the nature of the problem and suggested installing the relevant (de)compression tool.

@gridbugs gridbugs added good first issue Good for contributing for the first time to the Dune codebase package management labels Mar 20, 2025
@bximbo
Copy link

bximbo commented Mar 21, 2025

Hello @gridbugs . My name is Israel, an applicant for the Outreachy Internship. I am new to this project but I am a little familiar with OCaml. Can I have this issue assigned to me?

@kayodegigz
Copy link

Hello @gridbugs , my name is Kayode, an outreachy internship applicant. I'd like to work on this issue too

@gridbugs
Copy link
Collaborator Author

To clarify to the outreachy interns asking about this issue, I'm not going to assign anyone this issue as it's been comprehensively solved in #11560.

@bximbo
Copy link

bximbo commented Mar 25, 2025

Thank you very much @gridbugs

Is there a good first issue you can recommend or assign to me?

@gridbugs
Copy link
Collaborator Author

I won't choose one for you, but take a look at our good first issues.

@bximbo
Copy link

bximbo commented Mar 25, 2025

Thank you @gridbugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for contributing for the first time to the Dune codebase package management
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants