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

rust-1.72.1 Unable to compile #123956

Closed
androiddisk opened this issue Apr 15, 2024 · 2 comments
Closed

rust-1.72.1 Unable to compile #123956

androiddisk opened this issue Apr 15, 2024 · 2 comments
Labels
C-discussion Category: Discussion or questions that doesn't represent real issues. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@androiddisk
Copy link

python3 x.py build

Submodule path 'library/backtrace': checked out 'e1c49fbd6124a1b626cdf19871aff68c362bdf07'
Updating submodule library/stdarch
fatal: ref HEAD is not a symbolic ref
Submodule 'library/stdarch' (https://github.com/rust-lang/stdarch.git) registered for path 'library/stdarch'
Cloning into '/root/kooapk/rust/rust-1.72.1/library/stdarch'...
remote: Enumerating objects: 333, done.
remote: Counting objects: 100% (333/333), done.
remote: Compressing objects: 100% (274/274), done.
remote: Total 333 (delta 57), reused 169 (delta 27), pack-reused 0
Receiving objects: 100% (333/333), 1.40 MiB | 1.89 MiB/s, done.
Resolving deltas: 100% (57/57), done.
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Enumerating objects: 399, done.
remote: Counting objects: 100% (399/399), done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 213 (delta 151), reused 52 (delta 17), pack-reused 0
Receiving objects: 100% (213/213), 315.82 KiB | 2.59 MiB/s, done.
Resolving deltas: 100% (151/151), completed with 138 local objects.
From https://github.com/rust-lang/stdarch
 * branch            d77878b7299dd7e286799a6e8447048b65d2a861 -> FETCH_HEAD
Submodule path 'library/stdarch': checked out 'd77878b7299dd7e286799a6e8447048b65d2a861'
downloading https://ci-artifacts.rust-lang.org/rustc-builds/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/rust-dev-1.72.1-x86_64-unknown-linux-gnu.tar.xz
curl: (22) The requested URL returned error: 404

error: failed to download llvm from ci

    help: old builds get deleted after a certain time
    help: if trying to compile an old commit of rustc, disable `download-ci-llvm` in config.toml:

    [llvm]
    download-ci-llvm = false

Build completed unsuccessfully in 0:00:55
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 15, 2024
@bjorn3
Copy link
Member

bjorn3 commented Apr 15, 2024

See the error message:

help: old builds get deleted after a certain time
help: if trying to compile an old commit of rustc, disable `download-ci-llvm` in config.toml:

[llvm]
download-ci-llvm = false

@androiddisk
Copy link
Author

Thank you very much. I'll give it a try

@jieyouxu jieyouxu added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-discussion Category: Discussion or questions that doesn't represent real issues. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-discussion Category: Discussion or questions that doesn't represent real issues. 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

4 participants