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

Fix container build: build svm-rs in upstream rust layer #1879

Merged
merged 2 commits into from
Aug 24, 2024

Conversation

dbast
Copy link
Contributor

@dbast dbast commented Aug 21, 2024

A new svm-rs version was released yesterday, which breaks the container build see:

This PR fixes the svm-rs build by building in upstream rust container, which has a more complete rust tooling setup and does not run into the error: linking with `cc` failed issue.

Also removes some build layers not needed anymore.

@dbast
Copy link
Contributor Author

dbast commented Aug 22, 2024

The container build is green again after the recent PR merges. Maybe this PR is not required.

@norhh
Copy link
Collaborator

norhh commented Aug 22, 2024

This happens due to issues with emulating some arm builds on x86 or emulating some x86 builds on arm (It is a bit tedious to perform multiplatform builds on multiple platforms and combine them). So, it crashes once in a while. Will work when restarted.

@dbast
Copy link
Contributor Author

dbast commented Aug 22, 2024

There was definitely something else as I could reproduce the issue multiple times locally even when building without multiarch emulation... maybe this resolved via some changes in the rustup installer... anyways, it resolved thus closing this PR

@dbast dbast closed this Aug 22, 2024
@norhh norhh reopened this Aug 22, 2024
@norhh
Copy link
Collaborator

norhh commented Aug 22, 2024

Isn't it still useful even without the issue?

@norhh norhh merged commit 99bf452 into Consensys:develop Aug 24, 2024
6 checks passed
@dbast dbast deleted the fix-svm-rs branch August 24, 2024 08:03
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

Successfully merging this pull request may close these issues.

2 participants