-
Notifications
You must be signed in to change notification settings - Fork 528
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
Earlier version can not build #9048
Comments
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue DetailsDescriptionI want to compile/build an earlier version (such as 9.1.7.0) steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md, but when compiling, I found that the mono associated with the earlier version can no longer be downloaded. The download link (https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/ bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip) is no longer accessible, how to deal with this exception? Thanks build config versions:
|
Author: | llzz19851985 |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
Tagging subscribers to this area: @directhex Issue DetailsDescriptionI want to compile/build an earlier version (such as 9.1.7.0) steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md, but when compiling, I found that the mono associated with the earlier version can no longer be downloaded. The download link (https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/ bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip) is no longer accessible, how to deal with this exception? Thanks build config versions:
|
Author: | llzz19851985 |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
@jonathanpeppers can you transfer this to dotnet/android ? Or answer it here and close? |
@grendello @dellis1972 do you have a suggestion? Maybe there is a final/newer mono archive URL that is available somewhere? |
@jonathanpeppers looks like those files are gone :( https://discord.com/channels/732297728826277939/732297837953679412/1253759917878149140 |
Oh, if it's our xamarin-android bundle, then it should just be able to build them fresh? |
Fixes: #9253 Fixes: #9048 Multiple reports that `make prepare` now errors out: % make prepare … =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Downloading Mono archive =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Checking if all runtime files are present • some files are missing, download and extraction required Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Mono archive not present =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing Mono runtimes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. ---> System.NotImplementedException: Unable to build mono runtimes from sources. at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34 at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42 at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37 --- End of inner exception stack trace --- at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48 at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845 at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174 This happens because the URL <https://xamjenkinsartifact.azureedge.net/mono-sdks> no longer exists (for various sundry internal reasons), and was replaced by <https://download.mono-project.com/mono-sdks>. Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL. Additionally, the new URL only contains *release* artifacts. Update `Configurables.Defaults.MonoSdksConfiguration` to always be `release` so that the appropriate archive and extracted directories are used.
Fixes: #9253 Fixes: #9048 Multiple reports that `make prepare` now errors out: % make prepare … =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Downloading Mono archive =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Checking if all runtime files are present • some files are missing, download and extraction required Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Mono archive not present =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing Mono runtimes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. ---> System.NotImplementedException: Unable to build mono runtimes from sources. at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34 at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42 at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37 --- End of inner exception stack trace --- at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48 at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845 at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174 This happens because the URL <https://xamjenkinsartifact.azureedge.net> no longer exists (for various sundry internal reasons), and was replaced by <https://download.mono-project.com>. Update `$(MonoDarwinPackageUrl)` to use the new URL. Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL. Additionally, the new URL only contains *release* artifacts. Update `Configurables.Defaults.MonoSdksConfiguration` to always be `release` so that the appropriate archive and extracted directories are used.
Fixes: #9253 Fixes: #9048 Multiple reports that `make prepare` now errors out: % make prepare … =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Downloading Mono archive =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Checking if all runtime files are present • some files are missing, download and extraction required Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Mono archive not present =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing Mono runtimes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. ---> System.NotImplementedException: Unable to build mono runtimes from sources. at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34 at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42 at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37 --- End of inner exception stack trace --- at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48 at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845 at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174 This happens because the URL <https://xamjenkinsartifact.azureedge.net> no longer exists (for various sundry internal reasons), and was replaced by <https://download.mono-project.com>. Update `$(MonoDarwinPackageUrl)` to use the new URL. Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL. Additionally, the new URL only contains *release* artifacts. Update `Configurables.Defaults.MonoSdksConfiguration` to always be `release` so that the appropriate archive and extracted directories are used.
Fixes: #9048 Fixes: #9253 Multiple reports that `make prepare` now errors out: % make prepare … =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Downloading Mono archive =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Checking if all runtime files are present • some files are missing, download and extraction required Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Downloading Mono archive from https://xamjenkinsartifact.azureedge.net/mono-sdks/android-debug-Darwin-d9a6e8710b37cd7f16cf52eff4f772556e57cc41.7z Failed to obtain Mono archive size. HTTP status code: BadRequest (400). Mono runtimes will be rebuilt Mono archive not present =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing Mono runtimes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. System.InvalidOperationException: Step Xamarin.Android.Prepare.Step_InstallMonoRuntimes failed: Unable to build mono runtimes from sources. ---> System.NotImplementedException: Unable to build mono runtimes from sources. at Xamarin.Android.Prepare.Step_InstallMonoRuntimes.Execute(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Steps/Step_InstallMonoRuntimes.cs:line 34 at Xamarin.Android.Prepare.Step.Run(Context context) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Step.cs:line 42 at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 37 --- End of inner exception stack trace --- at Xamarin.Android.Prepare.Scenario.Run(Context context, Log log) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Scenario.cs:line 48 at Xamarin.Android.Prepare.Context.Execute() in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Application/Context.cs:line 845 at Xamarin.Android.Prepare.App.Run(String[] args) in /Users/wangyk/Projects/Practice/xamarin-android/build-tools/xaprepare/xaprepare/Main.cs:line 174 This happens because the URL <https://xamjenkinsartifact.azureedge.net> no longer exists (for various sundry internal reasons), and was replaced by <https://download.mono-project.com>. Update `$(MonoDarwinPackageUrl)` to use the new URL. Update `Configurables.Urls.MonoArchive_BaseUri` to use the new URL. Additionally, the new URL only contains *release* artifacts. Update `Configurables.Defaults.MonoSdksConfiguration` to always be `release` so that the appropriate archive and extracted directories are used. Finally, fix some HTTP redirect tests. GitHub redirects xamarin/xamarin-android to dotnet/android, causing e.g. `AndroidHandlerTestBase.Redirect_Without_Protocol_Works()` to fail. Update the expected URLs so they pass as expected. Note: other unit tests fail. As Xamarin.Android is no longer supported, I don't care. At least it builds!
Fixed in #9255. Please use the d17-5 branch to get this fix. |
Description
I want to compile/build an earlier version (such as 9.1.7.0) steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md, but when compiling, I found that the mono associated with the earlier version can no longer be downloaded. The download link (https://xamjenkinsartifact.azureedge.net/mono-jenkins/xamarin-android/ bin/Debug/bundle-v21-h449618fe-Debug-Darwin-libzip=b95cf3f,llvm=bdb3a11,mono=62031dc.zip) is no longer accessible, how to deal with this exception? Thanks
Reproduction Steps
steps by https://github.com/xamarin/xamarin-android/blob/xamarin-android-9.1.7.0/Documentation/building/windows-instructions.md
Expected behavior
can build successful
Actual behavior
can not build
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: