Skip to content

The source provided from the github repository for each release is not useable to build rust. #85024

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

Closed
liaiss opened this issue May 7, 2021 · 6 comments

Comments

@liaiss
Copy link

liaiss commented May 7, 2021

Hi,

It seems that the sources available in the release/tag part of the github repository, for example, https://github.com/rust-lang/rust/releases/tag/1.47.0

Failed to build (I'm using debian buster):

~/rust-1.52.0$ ./x.py build
error: failed to read `/home/parallels/rust-1.52.0/src/tools/rust-installer/Cargo.toml`

Caused by:
    No such file or directory (os error 2)
failed to run: /home/parallels/rust-1.52.0/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path    
/home/parallels/rust-1.52.0/src/bootstrap/Cargo.toml
Build completed unsuccessfully in 0:00:00

It seems the cause is that the submodules weren't updated.

@hellow554

This comment has been minimized.

@liaiss
Copy link
Author

liaiss commented May 7, 2021

@hellow554 Thanks for the answer and sorry for this duplicate one.

@liaiss liaiss closed this as completed May 7, 2021
@hellow554
Copy link
Contributor

... oh I'm so sorry!!! Please reopen the issue. My comment was not intended for this issue. Forget everything I said!

@liaiss
Copy link
Author

liaiss commented May 7, 2021

Ah! No worries. I will reopen it. Thanks

@liaiss liaiss reopened this May 7, 2021
@sfackler
Copy link
Member

sfackler commented May 7, 2021

Those files are automatically created by github - I don't think we have any control over how it treats submodules. You should use the source distributions we link here: https://forge.rust-lang.org/infra/other-installation-methods.html#source-code.

@Dylan-DPC
Copy link
Member

Closing this to clear up the issue tracker. If you or anyone reading this still needs help you can consult the forums, discords, etc for help. Thanks

@jyn514 jyn514 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2023
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

5 participants