-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Installing 1.15.0 from source fails in bootstrap.py #39469
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
Comments
Strange, Gentoo doesn't have $USER or names it something else? |
This was originally intended to detect |
@durka I think it has it, but it's probably not available in the constrained environment set up by the package manager. |
Fix bootstrap.py issues with new rustbuild build system (fixes rust-lang#39469)
Fix bootstrap.py issues with new rustbuild build system (fixes rust-lang#39469)
Fix bootstrap.py issues with new rustbuild build system (fixes rust-lang#39469)
Would it make sense to uplift this to 1.16.0? If so, how do I go about nominating it? |
Uh oh!
There was an error while loading. Please reload this page.
While updating the Gentoo package for rust to 1.15.0, I get this error:
This appears to have been introduced as part of 0e272de, the commit that switched to rustbuild by default. I don't really get what the USER != SUDO_USER heuristic is intended to protect against, but it looks a bit fishy to me. For one thing, from this failure it would seem that it has not seen testing in very diverse environments, so using
.get('USER')
and.get('SUDO_USER')
would probably make a lot more sense here. Second, while the goal appears to be to setenable_vendored_sources
in some situations, this code is still executed whenenable_vendored_sources
is already set. Finally, there is a typo in the help text that is printed for this case ('intall').The text was updated successfully, but these errors were encountered: