-
Notifications
You must be signed in to change notification settings - Fork 13k
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
DOS Line Endings in install.sh on some rust-std nightlies #62276
Comments
Thanks for reporting this! A tentative fix for this landed in #62279, hopefully tomorrow's nightlies will be fixed. |
Still happening on |
Oh, this is concerning, we'll need to look into it a bit more. Thanks for the update. @rustbot modify labels: regression-from-stable-to-beta -regression-from-stable-to-nightly |
May have been rust-installer actually .. Double checking. |
|
This is caused by the Azure migration, as it started happening right after we switched nightlies production to it. The initial hypothesis was that git's |
The source tarball is generated by all the dist builders and uploaded each time, so the last dist builder to finish will be the one producing the final tarball. I think we see the error there just because our slower builders are all Windows at the moment. |
Assigning myself to investigate in the next few days. |
…bini Ensure that checkout is with \n line endings During installation of mingw, at least, the git directories change, so we need to reset the core.autocrlf config to false. Once we finish checking out submodules, check that the line endings are \n and not \r\n. Artifacts were built via the last try on #62545; I've manually confirmed that `install.sh` appears to no longer have `\r\n` line endings. Fixes #62276.
The fix should've landed in today's nightly. Thanks everyone for reporting this! |
@pietroalbini Just a note, you might want to spin up a beta build as well. |
@EricRahm yes, beta is still not fixed. The fix was nominated for beta backport though, so once the team approves we will backport it to the beta branch. |
We backported the change! |
Since the change from travis to azure pipelines some of the rust-std archives have DOS line endings in their
install.sh
script, which results in errors like the following when trying to execute:Running
dos2unix install.sh
works around the issue for now.Not all archives have this issue. Specifically http://static.rust-lang.org/dist/rust-std-nightly-i686-pc-windows-gnu.tar.gz does. Possibly others as well, but our install process fails after the first error, so I am not sure.
See compiler-explorer/infra#230 and compiler-explorer/infra@4df231f
The text was updated successfully, but these errors were encountered: