Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issues with the tarball during the setup #1

Open
AlexDenisov opened this issue Nov 28, 2024 · 1 comment · May be fixed by #2
Open

Issues with the tarball during the setup #1

AlexDenisov opened this issue Nov 28, 2024 · 1 comment · May be fixed by #2

Comments

@AlexDenisov
Copy link

Apologies for the vague title/description, not sure if it's the right diagnosis.

I'm trying to use the cmake feature, but it fails in a weird way.

Here are the steps to reproduce:

devcontainer.json

{
  "name": "test",
  "image": "ubuntu",
  "features": {
    "ghcr.io/devcontainers-community/features/cmake": {}
  }
}

And the CLI run:

devcontainer up --workspace-folder . --config devcontainer.json --log-level trace

Full output is here as GitHub wouldn't allow pasting a body longer than 65536 characters 😅

I'm running this on macOS, but also tried Linux with the same results.
Brief look at the CLI source code suggests that the failure happens around these lines, that's why I think something is off during the unpacking the tarball.

Not sure if the issue is related to this feature/repo specifically, or if something is wrong with CLI itself.

@AlexDenisov
Copy link
Author

Seems to be related devcontainers/cli#699, and a similar issue/fix is here devcontainers-community/features-llvm#7

@AlexDenisov AlexDenisov linked a pull request Nov 28, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant