Skip to content

Regression of build infrastructure [src/bootstrap/bootstrap.py] #130231

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

Closed
arttet opened this issue Sep 11, 2024 · 2 comments
Closed

Regression of build infrastructure [src/bootstrap/bootstrap.py] #130231

arttet opened this issue Sep 11, 2024 · 2 comments
Labels
C-bug Category: This is a bug. O-macos Operating system: macOS regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@arttet
Copy link
Contributor

arttet commented Sep 11, 2024

Rust Targets

arm64e-apple-darwin

I didn't expect to see this happen:

error occurred: Unknown architecture for macOS target.

Traceback (most recent call last):
  File "/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/bootstrap/bootstrap.py", line 1230, in <module>
    main()
  File "/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/bootstrap/bootstrap.py", line 1215, in main
    bootstrap(args)
  File "/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/bootstrap/bootstrap.py", line 1191, in bootstrap
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
  File "/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/bootstrap/bootstrap.py", line 202, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /Users/runner/work/rust-compiler-builder/rust-compiler-
builder/rust/build/bootstrap/debug/bootstrap build --stage 2

How to reproduce

./configure \
		--enable-option-checking \
		--enable-verbose-tests \
		--codegen-backends=llvm \
		--enable-codegen-tests \
		--enable-dist-src \
		--tools=cargo,clippy,rustdoc,rustfmt,rust-analyzer,analysis,src \
		--target=arm64e-apple-darwin,aarch64-apple-darwin \
		--set llvm.download-ci-llvm=true \
		--set build.verbose=0 \
		--set rust.channel=dev \
		--set rust.description="" \
		--set rust.use-lld=true \
		--dist-compression-formats=xz \
		--prefix=install
@arttet arttet added C-bug Category: This is a bug. regression-untriaged Untriaged performance or correctness regression. labels Sep 11, 2024
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. and removed regression-untriaged Untriaged performance or correctness regression. labels Sep 11, 2024
@bjorn3 bjorn3 added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Sep 11, 2024
@arttet
Copy link
Contributor Author

arttet commented Sep 14, 2024

This issue is related to this

bors added a commit to rust-lang-ci/rust that referenced this issue Sep 18, 2024
Bump cc dependency

* The [issue](rust-lang#130231) was fixed in the [PR](rust-lang/cc-rs#1207)
* The build artifacts of arm64e-apple-darwin can be found [here](https://github.com/arttet/rust-compiler-builder/actions/runs/10902308425)
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 19, 2024
Bump cc dependency

* The [issue](rust-lang#130231) was fixed in the [PR](rust-lang/cc-rs#1207)
* The build artifacts of arm64e-apple-darwin can be found [here](https://github.com/arttet/rust-compiler-builder/actions/runs/10902308425)
@arttet
Copy link
Contributor Author

arttet commented Sep 19, 2024

Hey @onur-ozkan,

I can confirm that this issue was fixed. Thank you.

@arttet arttet closed this as completed Sep 19, 2024
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 21, 2024
@jieyouxu jieyouxu added the O-macos Operating system: macOS label Sep 25, 2024
@apiraino apiraino removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Oct 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug. O-macos Operating system: macOS regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

6 participants