Which version of the .NET Core SDK do you have? It needs to be >= 2.1.300

You can check with `dotnet --info`

Am 19.03.2019 um 02:02 schrieb Daniel Kuppitz:
> Hm, validate-distribution.sh fails on my system. It's in .NET though, so
> chances are high that I'm just missing some components.
>
> * checking source files ... OK
> * building project ... failed
>
>   Restore completed in 42.08 ms for
> /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj.
> Microsoft (R) Build Engine version 15.7.177.53362 for .NET Core
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>   Restore completed in 48.15 ms for
> /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj.
>   Restore completed in 48.16 ms for
> /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net.Template/Gremlin.Net.Template.csproj.
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning : The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw
> an exception.
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at LibGit2Sharp.Core.NativeMethods.git_buf_free(GitBuf buf)
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at LibGit2Sharp.Repository.Discover(String startingPath)
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at
> Microsoft.Build.Tasks.Git.GitOperations.LocateRepository(String directory)
> in /_/src/Microsoft.Build.Tasks.Git.Operations/GitOperations.cs:line 26
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at
> Microsoft.Build.Tasks.Git.RepositoryTasks.LocateRepository(LocateRepository
> task) in
> /_/src/Microsoft.Build.Tasks.Git.Operations/RepositoryTasks.cs:line 58
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.sourcelink.common/1.0.0-beta2-18618-05/build/Microsoft.SourceLink.Common.targets(53,5):
> warning : Source control information is not available - the generated
> source link is empty.
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
>   Gremlin.Net ->
> /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/bin/Release/netstandard2.0/Gremlin.Net.dll
>   Gremlin.Net.Template ->
> /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net.Template/bin/Release/netcoreapp2.0/Gremlin.Net.Template.dll
>
> Build succeeded.
>
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning : The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw
> an exception.
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at LibGit2Sharp.Core.NativeMethods.git_buf_free(GitBuf buf)
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at LibGit2Sharp.Repository.Discover(String startingPath)
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at
> Microsoft.Build.Tasks.Git.GitOperations.LocateRepository(String directory)
> in /_/src/Microsoft.Build.Tasks.Git.Operations/GitOperations.cs:line 26
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-18618-05/build/Microsoft.Build.Tasks.Git.targets(20,5):
> warning :    at
> Microsoft.Build.Tasks.Git.RepositoryTasks.LocateRepository(LocateRepository
> task) in
> /_/src/Microsoft.Build.Tasks.Git.Operations/RepositoryTasks.cs:line 58
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
> /home/daniel/.nuget/packages/microsoft.sourcelink.common/1.0.0-beta2-18618-05/build/Microsoft.SourceLink.Common.targets(53,5):
> warning : Source control information is not available - the generated
> source link is empty.
> [/tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/Gremlin.Net.csproj]
>     2 Warning(s)
>     0 Error(s)
>
> Time Elapsed 00:00:02.61
> System.IndexOutOfRangeException: Index was outside the bounds of the array.
>    at System.String.get_Chars(Int32 index)
>    at Microsoft.DotNet.Cli.CommandLine.StringExtensions.HasPrefix(String
> arg)
>    at Microsoft.DotNet.Cli.CommandLine.StringExtensions.<Lex>d__7.MoveNext()
>    at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1
> source, Int32& length)
>    at System.Collections.Generic.Queue`1..ctor(IEnumerable`1 collection)
>    at Microsoft.DotNet.Cli.CommandLine.Parser.Parse(IReadOnlyCollection`1
> rawArgs, Boolean isProgressive)
>    at Microsoft.DotNet.Cli.CommandLine.Parser.Parse(String[] args)
>    at Microsoft.DotNet.Cli.ParserExtensions.ParseFrom(Parser parser, String
> context, String[] args)
>    at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry
> telemetryClient)
>    at Microsoft.DotNet.Cli.Program.Main(String[] args)
> [ERROR] Failed to execute goal
> org.eobjects.build:dotnet-maven-plugin:0.23:pack (default-pack) on project
> gremlin-dotnet-source: Command (in
> /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net) [dotnet, pack,
> -o, /tmp/tpdv/tinkerpop-3.3.6/gremlin-dotnet/src/Gremlin.Net/bin, -c,
> Release, ] returned non-zero exit code: 1 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :gremlin-dotnet-source
>
>
> Has anybody else seen that?
>
> Cheers,
> Daniel
>
>
> On Mon, Mar 18, 2019 at 1:11 PM Stephen Mallette <[email protected]>
> wrote:
>
>> Hello,
>>
>> We are happy to announce that TinkerPop 3.3.6 is ready for release.
>>
>> The release artifacts can be found at this location:
>>         https://dist.apache.org/repos/dist/dev/tinkerpop/3.3.6/
>>
>> The source distribution is provided by:
>>         apache-tinkerpop-3.3.6-src.zip
>>
>> Two binary distributions are provided for user convenience:
>>         apache-tinkerpop-gremlin-console-3.3.6-bin.zip
>>         apache-tinkerpop-gremlin-server-3.3.6-bin.zip
>>
>> The GPG key used to sign the release artifacts is available at:
>>     https://dist.apache.org/repos/dist/dev/tinkerpop/KEYS
>>
>> The online docs can be found here:
>>         http://tinkerpop.apache.org/docs/3.3.6/ (user docs)
>>         http://tinkerpop.apache.org/docs/3.3.6/upgrade/ (upgrade docs)
>>         http://tinkerpop.apache.org/javadocs/3.3.6/core/ (core javadoc)
>>         http://tinkerpop.apache.org/javadocs/3.3.6/full/ (full javadoc)
>>         http://tinkerpop.apache.org/dotnetdocs/3.3.6/ (.NET API docs)
>>         http://tinkerpop.apache.org/jsdocs/3.3.6/ (Javascript API docs)
>>
>> The tag in Apache Git can be found here:
>>         https://github.com/apache/tinkerpop/tree/3.3.6
>>
>> The release notes are available here:
>>         https://github.com/apache/tinkerpop/blob/3.3.6/CHANGELOG.asciidoc
>>
>> The [VOTE] will be open for the next 72 hours --- closing Thursday, (March
>> 21, 2019) at 4pm EST.
>>
>> My vote is +1.
>>
>> Thank you very much,
>>
>> Stephen
>>

Reply via email to