-
Notifications
You must be signed in to change notification settings - Fork 564
Description
I can not build xamarin android sdk on my mac. Maybe someone has any clue whats going wrong... Thanks for any advice =)
First issue for 'make prepare'
"/Users/xtmq/xamarin-android/build-tools/ThirdPartyNotices/ThirdPartyNotices.csproj" (default target) (1) ->
"/Users/xtmq/xamarin-android/build-tools/xa-prep-tasks/xa-prep-tasks.csproj" (default target) (2:2) ->
(GetXAVersionInfo target) ->
/Users/xtmq/xamarin-android/build-tools/scripts/XAVersionInfo.targets(53,5): error MSB6006: "git" exited with code 128. [/Users/xtmq/xamarin-android/build-tools/xa-prep-tasks/xa-prep-tasks.csproj]
"/Users/xtmq/xamarin-android/build-tools/ThirdPartyNotices/ThirdPartyNotices.csproj" (default target) (1) ->
"/Users/xtmq/xamarin-android/build-tools/xa-prep-tasks/xa-prep-tasks.csproj" (default target) (2:2) ->
/Users/xtmq/xamarin-android/build-tools/scripts/XAVersionInfo.targets(61,5): error MSB4044: The "GitCommitsInRange" task was not given a value for the required parameter "StartCommit". [/Users/xtmq/xamarin-android/build-tools/xa-prep-tasks/xa-prep-tasks.csproj]
This happens because command git blame "/Users/xtmq/xamarin-android/Configuration.props" does not work, it tells «/Users/xtmq/xamarin-android/Configuration.props» is outside repository.
Everything works if I paths msbuild targets to pass relative (to repository root) path, in this case just git blame "Configuration.props".
Second issue for 'make jenkins'
"/Users/xtmq/xamarin-android/Xamarin.Android.sln" (default target) (1) ->
"/Users/xtmq/xamarin-android/build-tools/android-toolchain/android-toolchain.csproj" (default target) (2) ->
(_CreateMxeToolchains target) ->
clang : error : linker command failed with exit code 1 (use -v to see invocation) [/Users/xtmq/xamarin-android/build-tools/android-toolchain/android-toolchain.csproj]
/Users/xtmq/xamarin-android/build-tools/android-toolchain/android-toolchain.targets(115,5): error MSB3073: The command "make -j8 provision-mxe DISABLE_IOS=1 MXE_SRC="/Users/xtmq/xamarin-android/build-tools/android-toolchain//../../external/mxe" MXE_PREFIX_DIR="/Users/xtmq/android-toolchain"" exited with code 2. [/Users/xtmq/xamarin-android/build-tools/android-toolchain/android-toolchain.csproj]
Make output: make: *** No rule to make target provision-mxe'.`
Version Information
Visual Studio Community 2017 for Mac
Version 7.7.2 (build 21)
Installation UUID: b216fd0f-8565-4976-93dc-e21853486a27
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)
NuGet
Version: 4.8.0.5385
.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Version: 2.1.2
SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks
SDK Version: 2.1.302
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Sdks
Apple Developer Tools
Xcode 10.1 (14460.46)
Build 10B61
Xamarin.Mac
Version: 5.2.1.12 (Visual Studio Community)
Hash: 65ec520f
Branch:
Build date: 2018-12-05 12:06:09-0500
Xamarin.iOS
Version: 12.2.1.12 (Visual Studio Community)
Hash: 65ec520f
Branch: d15-9
Build date: 2018-12-05 12:06:09-0500
Xamarin.Android
Version: 9.1.4.2 (Visual Studio Community)
Android SDK: Not found
Android Device Manager
Version: 7.7.1.0
Hash: 06ceaea1
Operating System
Mac OS X 10.14.2
Darwin 18.2.0 Darwin Kernel Version 18.2.0
Mon Nov 12 20:24:46 PST 2018
root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
Mono JIT compiler version 5.18.0.225 (2018-08/bac9fc1f889 Fri Dec 21 11:33:29 EST 2018)
Git version 2.20.1