-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Closed
Copy link
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.needs-triageIssues that need to be assigned.Issues that need to be assigned.
Description
Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
debian:bullseye-slim, NET 8.0
Description
The command 'make prepare' works ok. However, when commands make or make jenkins ALL_HOST_ABIS="$(uname)" ALL_AOT_ABIS="" are executed they display an error:
error MSB6006: "git" exited with code 128. [/xamarin/xamarin-android/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj]
Steps to Reproduce
- use fresh debian:bullseye-slim
- clone the xamarin-android repo ( last commit for now is 9d39576 )
- install all necessary dependencies mentioned in dependecies.md
make preparemakeormake jenkins ALL_HOST_ABIS="uname" ALL_AOT_ABIS=""
Did you find any workaround?
No.
make jenkins ALL_HOST_ABIS="`uname`" ALL_AOT_ABIS="" and other advices from
#2594 (comment)
#2594
didn't work too.
Relevant log output
`make`
or
`make jenkins ALL_HOST_ABIS="`uname`" ALL_AOT_ABIS=""`
shows an error:
"/xamarin/xamarin-android/Xamarin.Android.sln" (default target) (1:2) ->
"/xamarin/xamarin-android/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj" (default target) (22:9) ->
(GetXAVersionInfo target) ->
/xamarin/xamarin-android/build-tools/scripts/XAVersionInfo.targets(43,5): error MSB6006: "git" exited with code 128. [/xamarin/xamarin-android/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj]
"/xamarin/xamarin-android/Xamarin.Android.sln" (default target) (1:2) ->
"/xamarin/xamarin-android/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj" (default target) (22:9) ->
/xamarin/xamarin-android/build-tools/scripts/XAVersionInfo.targets(58,5): error MSB6006: "git" exited with code 128. [/xamarin/xamarin-android/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj]
"/xamarin/xamarin-android/Xamarin.Android.sln" (default target) (1:2) ->
"/xamarin/xamarin-android/external/Java.Interop/tools/java-source-utils/java-source-utils.csproj" (default target) (49:8) ->
(_CompileTestResources target) ->
/xamarin/xamarin-android/external/Java.Interop/tools/java-source-utils/java-source-utils.targets(51,5): error MSB3073: The command ""/root/android-toolchain/jdk-17/bin/javac" src/test/resources/com/microsoft/android/Outer.java" exited with code 1. [/xamarin/xamarin-android/external/Java.Interop/tools/java-source-utils/java-source-utils.csproj]Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.needs-triageIssues that need to be assigned.Issues that need to be assigned.