Open zpodlovics opened 6 years ago
It seems that changing the executable flag on this binary:
chmod +x $HOME/.nuget/packages/fsharp.compiler.tools/10.0.2/buildCrossTargeting/../tools/fsc.exe
And registering the CLR exe binfmt to mono:
echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register
Will help a bit to continue but later it deliver the following errors:
/usr/share/dotnet/sdk/2.1.401/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/tmp/websharper/tests/Web/Web.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error MSB3883: Unexpected exception: [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : System.ComponentModel.Win32Exception (13): Permission denied [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at Interop.Sys.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setUser, UInt32 userId, UInt32 groupId, Int32& lpChildPid, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean shouldThrow) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at System.Diagnostics.Process.Start() [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error MSB3883: Unexpected exception: [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : System.ComponentModel.Win32Exception (13): Permission denied [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at Interop.Sys.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setUser, UInt32 userId, UInt32 groupId, Int32& lpChildPid, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean shouldThrow) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at System.Diagnostics.Process.Start() [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
$HOME/.nuget/packages/microsoft.net.compilers/2.8.2/tools/Microsoft.CSharp.Core.targets(52,5): error : at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/tmp/websharper/tests/WebSharper.CSharp.Sitelets.Tests/WebSharper.CSharp.Sitelets.Tests.csproj]
12 Warning(s)
15 Error(s)
Time Elapsed 00:02:50.98
Running build failed.
Error:
System.Exception: Build failed on "build" "WebSharper.sln" --configuration Debug
at Microsoft.FSharp.Core.PrintfModule+PrintFormatToStringThenFail@1645[TResult].Invoke (System.String message) [0x00000] in <5b5a6cc1904cf4daa7450383c16c5a5b>:0
at Fake.DotNetCli.Build (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] setBuildParams) [0x0020b] in <5b5f575eccf1c534a74503835e575f5b>:0
at FSI_0005.Build+buildSln@32-1.Invoke (FSI_0005.WebSharper.Fake+BuildMode mode) [0x00012] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at FSI_0005.WebSharper.Fake.build@318 (FSI_0005.WebSharper.Fake+BuildMode mode, FSI_0005.WebSharper.Fake+BuildAction action) [0x000ae] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at FSI_0005.WebSharper.Fake+build@318-1.Invoke (FSI_0005.WebSharper.Fake+BuildMode mode, FSI_0005.WebSharper.Fake+BuildAction action) [0x00000] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] action, System.Collections.Generic.IEnumerable`1[T] source) [0x0002c] in <5b5a6cc1904cf4daa7450383c16c5a5b>:0
at FSI_0005.WebSharper.Fake+MakeTargets@334-15.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00005] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00049] in <5b5f575eccf1c534a74503835e575f5b>:0
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target Duration
------ --------
WS-Restore 00:00:13.7515768
WS-GenAssemblyInfo 00:00:00.1095753
Prepare 00:00:00.2371450
WS-BuildDebug Failure
Total: 00:04:38.7108464
---------------------------------------------------------------------
Status: Failure
---------------------------------------------------------------------
---------------------------------------------------------------------
1) System.Exception: Build failed on "build" "WebSharper.sln" --configuration Debug
at Microsoft.FSharp.Core.PrintfModule+PrintFormatToStringThenFail@1645[TResult].Invoke (System.String message) [0x00000] in <5b5a6cc1904cf4daa7450383c16c5a5b>:0
at Fake.DotNetCli.Build (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] setBuildParams) [0x0020b] in <5b5f575eccf1c534a74503835e575f5b>:0
at FSI_0005.Build+buildSln@32-1.Invoke (FSI_0005.WebSharper.Fake+BuildMode mode) [0x00012] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at FSI_0005.WebSharper.Fake.build@318 (FSI_0005.WebSharper.Fake+BuildMode mode, FSI_0005.WebSharper.Fake+BuildAction action) [0x000ae] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at FSI_0005.WebSharper.Fake+build@318-1.Invoke (FSI_0005.WebSharper.Fake+BuildMode mode, FSI_0005.WebSharper.Fake+BuildAction action) [0x00000] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] action, System.Collections.Generic.IEnumerable`1[T] source) [0x0002c] in <5b5a6cc1904cf4daa7450383c16c5a5b>:0
at FSI_0005.WebSharper.Fake+MakeTargets@334-15.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00005] in <5211c8024ce74d42a5acb0be9624e7cf>:0
at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00049] in <5b5f575eccf1c534a74503835e575f5b>:0
---------------------------------------------------------------------
Environment:
Ubuntu 16.04 x86_64