-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Successful build keeps trying to update from remote repo #3235
Comments
Thanks for the report! Do you have any |
No path overrides are in effect. Sorry, should have included versions! Running:
|
Intersting! Could you also gist the build of |
Here's the full trace: https://gist.github.com/gavinb/0c9874b66cae5779424a228b6c9b4dac |
Ah so before I dig in too much this may actually be #3220 |
I just tried building cargo from your alexcrichton/bad branch which includes the patch for #3220. It didn't seem to make a difference. I've saved the trace into another gist: https://gist.github.com/gavinb/8afca1d2335f3c1939cb23c475fe5429 I noticed the following around the place where it says it's updating:
Let me know if there's anything else I can try. |
Hm ok so the problem seems to be related to this line in the "openssl-sys:0.7.17" = { git = "https://github.com/sfackler/rust-openssl" } If that's removed then the spurious update doesn't happen. Definitely not related to #3220, still investigating. |
Ok, found the problem! -- #3248 |
Verified your |
The intention was to do this, and it mistakenly didn't happen! Closes rust-lang#3235
Default urls in [replace] to crates.io The intention was to do this, and it mistakenly didn't happen! Closes #3235
Working with
rust-rosetta
, rev3b5fd74d
.I performed the following steps:
This all completes successfully. At this stage, I have all the dependencies required, and have successfully built all the crates and targets.
However each time I run
cargo build
, it keeps updating theopen-ssl
repo:What this means is that it is not possible to work offline, as the build tries to update the repo, failing with the following:
I would expect to be able to work offline once you have successfully completed a build.
This is not the only situation where I have discovered that working offline with cargo can be problematic, but it is an easily described and reproducible example.
The text was updated successfully, but these errors were encountered: