As per #2602, I'm trying to update Homebrew's dotnet formula from version 5.0.207 to version 6.0.101. Since the build process has changed, I need to modify the Homebrew formula to reflect these changes. Right off the bat, it seems like this sudo statement makes installation with Homebrew impossible:
https://github.com/dotnet/installer/blob/ef49f6213a0256d5e8b10d9a573f8dd355bc8593/build.sh#L58
Now I see that this sudo statement is removed in dotnet/installer#12736, but there's no release yet that contain this commit. I've added a patch for f8e115fadf6e8b392fa007e78d9b77fc64590cdd to the dotnet formula, but would rather avoid it, especially if this fix is expected to be released soon. The next issue is that the Start Cloning Repo runtime step fails by asking for dev.azure.com credentials:
Initialized empty Git repository in /usr/local/Cellar/dotnet/6.0.101/libexec/src/src/runtime.3a25a7f1cc446b60678ed25c9d829420d6321eba/.git/
Username for 'https://dev.azure.com':
Password for 'https://dev.azure.com':
fatal: Authentication failed for 'https://dev.azure.com/dnceng/internal/_git/dotnet-runtime/'
/private/tmp/dotnet-20211221-59863-79tz4r/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets(163,5): error MSB3073: The command "git fetch --depth 1 origin 3a25a7f1cc446b60678ed25c9d829420d6321eba" exited with code 128. [/private/tmp/dotnet-20211221-59863-79tz4r/src/SourceBuild/tarball/BuildSourceBuildTarball.proj]
Build FAILED.
/private/tmp/dotnet-20211221-59863-79tz4r/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets(163,5): error MSB3073: The command "git fetch --depth 1 origin 3a25a7f1cc446b60678ed25c9d829420d6321eba" exited with code 128. [/private/tmp/dotnet-20211221-59863-79tz4r/src/SourceBuild/tarball/BuildSourceBuildTarball.proj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:04:26.93
Build failed with exit code 1. Check errors above.
Is the authentication problem I've stumbled into fixed in a revision I can patch as well, or is this news to you? Thoughts and guidance would be highly appreciated. 🙏🏼
As per #2602, I'm trying to update Homebrew's
dotnetformula from version5.0.207to version6.0.101. Since the build process has changed, I need to modify the Homebrew formula to reflect these changes. Right off the bat, it seems like thissudostatement makes installation with Homebrew impossible:https://github.com/dotnet/installer/blob/ef49f6213a0256d5e8b10d9a573f8dd355bc8593/build.sh#L58
Now I see that this
sudostatement is removed in dotnet/installer#12736, but there's no release yet that contain this commit. I've added a patch for f8e115fadf6e8b392fa007e78d9b77fc64590cdd to thedotnetformula, but would rather avoid it, especially if this fix is expected to be released soon. The next issue is that theStart Cloning Repo runtimestep fails by asking fordev.azure.comcredentials:Is the authentication problem I've stumbled into fixed in a revision I can patch as well, or is this news to you? Thoughts and guidance would be highly appreciated. 🙏🏼