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

Error while building docker image as part of devcontainer #4065

Open
nirmal-j-patel opened this issue Jun 19, 2024 · 3 comments
Open

Error while building docker image as part of devcontainer #4065

nirmal-j-patel opened this issue Jun 19, 2024 · 3 comments

Comments

@nirmal-j-patel
Copy link

When use VS Code to open the carbon-lang directory inside the devcontainer, I get the following error during image build:

[2024-06-19T20:19:22.284Z] Errors were encountered while processing:

 /tmp/apt-dpkg-install-nzc56z/31-libclang-rt-15-dev_1%3a15.0.7~++20231019083512+8dfdcc7b7bf6-1~exp1~20231019203551.119_amd64.deb

 /tmp/apt-dpkg-install-nzc56z/38-libpolly-15-dev_1%3a15.0.7~++20231019083512+8dfdcc7b7bf6-1~exp1~20231019203551.119_amd64.deb
[2024-06-19T20:19:22.407Z] E: Sub-process /usr/bin/dpkg returned an error code (1)
[2024-06-19T20:19:28.922Z] Error: building at STEP "RUN ./llvm.sh 15 all": while running runtime: exit status 100

I can attempt to update the base ubuntu image and clang versions and send a pull request if this is a valid issue.

@shubhamsolo
Copy link

I've encountered the same error while building the image in the devcontainer:

[2024-06-19T20:19:22.284Z] Errors were encountered while processing:
 /tmp/apt-dpkg-install-nzc56z/31-libclang-rt-15-dev_1%3a15.0.7~++20231019083512+8dfdcc7b7bf6-1~exp1~20231019203551.119_amd64.deb
 /tmp/apt-dpkg-install-nzc56z/38-libpolly-15-dev_1%3a15.0.7~++20231019083512+8dfdcc7b7bf6-1~exp1~20231019203551.119_amd64.deb
[2024-06-19T20:19:22.407Z] E: Sub-process /usr/bin/dpkg returned an error code (1)
[2024-06-19T20:19:28.922Z] Error: building at STEP "RUN ./llvm.sh 15 all": while running runtime: exit status 100

To resolve this, I propose updating the base Ubuntu image and Clang versions used in the build. If this is a valid approach, I can make the necessary changes and submit a pull request for review.

Please let me know if this solution is acceptable, and I'll proceed accordingly.

Thanks!

Shubham Solanki

@jonmeow
Copy link
Contributor

jonmeow commented Jul 24, 2024

We'd be happy to take a PR in this area. I think these images just don't see much use, so I'm not surprised they've been broken.

@nirmal-j-patel
Copy link
Author

@shubhamsolo please let me know if you are still interested in attempting this.

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

No branches or pull requests

3 participants