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

chore(ci): temporarily disable arm64 docker builds in CI #2493

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

kkovaacs
Copy link
Contributor

One of the new build dependencies of blockifier, starknet-sierra-compile has a build script that does not work in our cross-compile setup due to directly invoking cargo install without the --target flag properly set. This causes the build to fail on arm64.

One of the new build dependencies of `blockifier`, `starknet-sierra-compile`
has a build script that does not work in our cross-compile setup due to
directly invoking `cargo install` without the `--target` flag properly
set. This causes the build to fail on arm64.
@kkovaacs kkovaacs requested a review from a team as a code owner January 16, 2025 10:29
@kkovaacs
Copy link
Contributor Author

The actual build error:

#27 196.6   error: linking with `aarch64-linux-gnu-gcc` failed: exit status: 1
#27 196.6     |
#27 196.6     = note: LC_ALL="C" PATH="/usr/local/rustup/toolchains/1.84.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "aarch64-linux-gnu-gcc" "-m64" "/tmp/rustc2FyDo9/symbols.o" "/tmp/cargo-install0DU7N5/release/build/proc-macro2-ea3ca02e4c6f08fa/build_script_build-ea3ca02e4c6f08fa.build_script_build.44cb768119f79086-cgu.0.rcgu.o" "/tmp/cargo-install0DU7N5/release/build/proc-macro2-ea3ca02e4c6f08fa/build_script_build-ea3ca02e4c6f08fa.build_script_build.44cb768119f79086-cgu.1.rcgu.o" "/tmp/cargo-install0DU7N5/release/build/proc-macro2-ea3ca02e4c6f08fa/build_script_build-ea3ca02e4c6f08fa.cgpazxeud35mh7444r0yvt1ti.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/usr/local/rustup/toolchains/1.84.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-057643b1ee86c6e4.rlib" "/usr/local/rustup/toolchains/1.84.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic
#27 196.6     = note: aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
#27 196.6             
#27 196.6 
#27 196.6   error: could not compile `proc-macro2` (build script) due to 1 previous error
#27 196.6   error: failed to compile `starknet-sierra-compile v2.7.1`, intermediate artifacts can be found at `/tmp/cargo-install0DU7N5`.
#27 196.6   To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
#27 196.6   thread 'main' panicked at /usr/local/cargo/git/checkouts/sequencer-05f416886c73e535/82b1537/crates/starknet_sierra_compile/build.rs:99:9:
#27 196.6   Failed to install starknet-sierra-compile
#27 196.6   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#27 196.6 warning: build failed, waiting for other jobs to finish...
#27 ...

The build script that is failing: https://github.com/starkware-libs/sequencer/blob/b43ae7764ec4d3da46feb4be2e5e9e371620ef0e/crates/starknet_sierra_compile/build.rs

@kkovaacs kkovaacs merged commit 40af995 into main Jan 16, 2025
8 checks passed
@kkovaacs kkovaacs deleted the krisztian/disable-arm64-docker-builds-in-ci branch January 16, 2025 11:16
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