Skip to content

Instantly share code, notes, and snippets.

@wunki
Created February 17, 2016 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wunki/887f705316fd2dff351a to your computer and use it in GitHub Desktop.
Save wunki/887f705316fd2dff351a to your computer and use it in GitHub Desktop.
Cannot build Omnisharp
~/.e/omnisharp-roslyn (master✓) ./build.sh
dnvm is already installed in /Users/wunki/.dnx/dnvm, trying to update
=> Source string already in /Users/wunki/.bash_profile
Type 'source /Users/wunki/.dnx/dnvm/dnvm.sh' to start using dnvm
Downloading dnvm.sh from https://raw.githubusercontent.com/aspnet/Home/dev/dnvm.sh
######################################################################## 100.0%
Default unstable feed (https://www.myget.org/F/aspnetvnext/api/v2) is being overridden by the value of the DNX_UNSTABLE_FEED variable (https://www.myget.org/F/aspnetcidev/api/v2).
dnx-mono.1.0.0-rc2-16444 already installed in /Users/wunki/.dnx
Adding /Users/wunki/.dnx/runtimes/dnx-mono.1.0.0-rc2-16444/bin to process PATH
Default unstable feed (https://www.myget.org/F/aspnetvnext/api/v2) is being overridden by the value of the DNX_UNSTABLE_FEED variable (https://www.myget.org/F/aspnetcidev/api/v2).
dnx-coreclr-darwin-x64.1.0.0-rc2-16444 already installed in /Users/wunki/.dnx
Adding /Users/wunki/.dnx/runtimes/dnx-coreclr-darwin-x64.1.0.0-rc2-16444/bin to process PATH
Microsoft .NET Development Utility CoreClr-x64-1.0.0-rc2-16444
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Nuget/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Plugins/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Dnx/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Bootstrap/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.MSBuild/project.json
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Host/project.json
Unable to locate Dependency System.Dynamic.Runtime >= 4.0.11-rc2-23811
Unable to locate Dependency System.Collections.Immutable >= 1.2.0-rc2-23811
Unable to locate Dependency System.Reflection.Metadata >= 1.2.0-rc2-23811
Unable to locate Dependency System.Xml.XDocument >= 4.0.11-rc2-23811
Unable to locate Dependency System.IO.FileSystem.Watcher >= 4.0.0-rc2-23811
Unable to locate Dependency System.Threading.Thread >= 4.0.0-rc2-23811
Unable to locate Dependency System.ComponentModel.TypeConverter >= 4.0.1-rc2-23811
Unable to locate Dependency System.ComponentModel >= 4.0.1-rc2-23811
Unable to locate Dependency System.Linq.Expressions >= 4.0.11-rc2-23811
Unable to locate Dependency System.Net.WebSockets >= 4.0.0-rc2-23811
Unable to locate Dependency System.Security.Principal >= 4.0.1-rc2-23811
Unable to locate Dependency System.Security.Cryptography.X509Certificates >= 4.0.0-rc2-23811
Unable to locate Dependency System.Security.Claims >= 4.0.1-rc2-23811
Unable to locate Dependency System.Diagnostics.StackTrace >= 4.0.1-rc2-23811
Unable to locate Dependency System.Globalization.Extensions >= 4.0.1-rc2-23811
Unable to locate Dependency System.Diagnostics.Contracts >= 4.0.1-rc2-23811
Unable to locate Dependency System.Diagnostics.TraceSource >= 4.0.0-rc2-23811
Unable to locate Dependency System.Numerics.Vectors >= 4.1.1-rc2-23811
Writing lock file /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp/project.lock.json
Restore complete, 16965ms elapsed
Restoring packages for /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp.Roslyn/project.json
----------
System.ArgumentException: More than one runtime.json file has declared imports for 'osx.10.11-x64'
Parameter name: runtimeName
at Microsoft.Dnx.Tooling.RestoreCommand.FindRuntimeDependencies(String runtimeName, List`1 runtimeFiles, Dictionary`2 effectiveRuntimeSpecs, HashSet`1 allRuntimeNames, Func`2 circularImport)
at Microsoft.Dnx.Tooling.RestoreCommand.FindRuntimeDependencies(String runtimeName, List`1 runtimeFiles, Dictionary`2 effectiveRuntimeSpecs, HashSet`1 allRuntimeNames)
at Microsoft.Dnx.Tooling.RestoreCommand.<RestoreForProject>d__69.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Dnx.Tooling.RestoreCommand.<>c__DisplayClass68_0.<<Execute>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.Dnx.Tooling.RestoreCommand.<>c__DisplayClass90_0`1.<<ForEachAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.Dnx.Tooling.RestoreCommand.<Execute>d__68.MoveNext()
----------
Restore failed
More than one runtime.json file has declared imports for 'osx.10.11-x64'
Parameter name: runtimeName
Errors in /Users/wunki/.etc/omnisharp-roslyn/src/OmniSharp/project.json
Unable to locate Dependency System.Dynamic.Runtime >= 4.0.11-rc2-23811
Unable to locate Dependency System.Collections.Immutable >= 1.2.0-rc2-23811
Unable to locate Dependency System.Reflection.Metadata >= 1.2.0-rc2-23811
Unable to locate Dependency System.Xml.XDocument >= 4.0.11-rc2-23811
Unable to locate Dependency System.IO.FileSystem.Watcher >= 4.0.0-rc2-23811
Unable to locate Dependency System.Threading.Thread >= 4.0.0-rc2-23811
Unable to locate Dependency System.ComponentModel.TypeConverter >= 4.0.1-rc2-23811
Unable to locate Dependency System.ComponentModel >= 4.0.1-rc2-23811
Unable to locate Dependency System.Linq.Expressions >= 4.0.11-rc2-23811
Unable to locate Dependency System.Net.WebSockets >= 4.0.0-rc2-23811
Unable to locate Dependency System.Security.Principal >= 4.0.1-rc2-23811
Unable to locate Dependency System.Security.Cryptography.X509Certificates >= 4.0.0-rc2-23811
Unable to locate Dependency System.Security.Claims >= 4.0.1-rc2-23811
Unable to locate Dependency System.Diagnostics.StackTrace >= 4.0.1-rc2-23811
Unable to locate Dependency System.Globalization.Extensions >= 4.0.1-rc2-23811
Unable to locate Dependency System.Diagnostics.Contracts >= 4.0.1-rc2-23811
Unable to locate Dependency System.Diagnostics.TraceSource >= 4.0.0-rc2-23811
Unable to locate Dependency System.Numerics.Vectors >= 4.1.1-rc2-23811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment