fsprojects / IfSharp

F# for Jupyter Notebooks
Other
441 stars 71 forks source link

build.sh fails on linux (mono/xbuild) #66

Closed jonschoning closed 8 years ago

jonschoning commented 8 years ago
Building project with version: LocalBuild
Shortened DependencyGraph for Target All:
<== All
   <== RunTests
      <== Build
         <== AssemblyInfo
            <== RestorePackages
               <== Clean

The resulting target order is:
 - Clean
 - RestorePackages
 - AssemblyInfo
 - Build
 - RunTests
 - All
Starting Target: Clean 
Deleting contents of bin
Deleting contents of temp
Finished Target: Clean
Starting Target: RestorePackages (==> Clean)
mono  "/home/jon/fs/git/IfSharp/.nuget/NuGet.exe"  "install" "/home/jon/fs/git/IfSharp/.nuget/packages.config" "-OutputDirectory" "/home/jon/fs/git/IfSharp/packages"
mono  "/home/jon/fs/git/IfSharp/.nuget/NuGet.exe"  "install" "/home/jon/fs/git/IfSharp/docs/tools/packages.config" "-OutputDirectory" "/home/jon/fs/git/IfSharp/packages"
mono  "/home/jon/fs/git/IfSharp/.nuget/NuGet.exe"  "install" "/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/packages.config" "-OutputDirectory" "/home/jon/fs/git/IfSharp/packages"
mono  "/home/jon/fs/git/IfSharp/.nuget/NuGet.exe"  "install" "/home/jon/fs/git/IfSharp/src/IfSharpConsole/packages.config" "-OutputDirectory" "/home/jon/fs/git/IfSharp/packages"
mono  "/home/jon/fs/git/IfSharp/.nuget/NuGet.exe"  "install" "/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/packages.config" "-OutputDirectory" "/home/jon/fs/git/IfSharp/packages"
Finished Target: RestorePackages
Starting Target: AssemblyInfo (==> RestorePackages)
Created AssemblyInfo file "src/IfSharp.Kernel/AssemblyInfo.fs".
Finished Target: AssemblyInfo
Starting Target: Build (==> AssemblyInfo)
Building project: /home/jon/fs/git/IfSharp/IfSharp.sln
  xbuild  /home/jon/fs/git/IfSharp/IfSharp.sln /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"/home/jon/fs/git/IfSharp/packages/FAKE/tools/FakeLib.dll"
xbuild  /home/jon/fs/git/IfSharp/IfSharp.sln /t:Rebuild    /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogger+ErrorLogger,"/home/jon/fs/git/IfSharp/packages/FAKE/tools/FakeLib.dll"
XBuild Engine Version 12.0
Mono, Version 4.2.3.0
Copyright (C) 2005-2013 Various Mono authors

Build started 5/13/2016 1:56:36 PM.
__________________________________________________
Project "/home/jon/fs/git/IfSharp/IfSharp.sln" (Rebuild target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Release|x64".
    Target Rebuild:
        Project "/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/IfSharp.Kernel.fsproj" (Rebuild target(s)):
            Target CoreClean:
                Deleting file '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/obj/x64/Release/IfSharpResources.resources'
                Deleting file '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/obj/x64/Release/IfSharp.Kernel.dll'
                Deleting file '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/obj/x64/Release/IfSharp.Kernel.dll.mdb'
                Deleting file '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/obj/x64/Release/IfSharp.Kernel.fsproj.FilesWrittenAbsolute.txt'
            Target PrepareForBuild:
                Configuration: Release Platform: x64
            Target CopyFilesMarkedCopyLocal:
                Copying file from '/home/jon/fs/git/IfSharp/packages/FSharp.Charting.0.90.5/lib/net40/FSharp.Charting.dll' to '/home/jon/fs/git/IfSharp/bin/FSharp.Charting.dll'
                Copying file from '/home/jon/fs/git/IfSharp/packages/FSharp.Compiler.Service.0.0.81/lib/net45/FSharp.Compiler.Service.dll' to '/home/jon/fs/git/IfSharp/bin/FSharp.Compiler.Service.dll'
                Copying file from '/home/jon/fs/git/IfSharp/packages/NetMQ.3.3.0.11/lib/net40/NetMQ.dll' to '/home/jon/fs/git/IfSharp/bin/NetMQ.dll'
                Copying file from '/home/jon/fs/git/IfSharp/packages/Newtonsoft.Json.5.0.8/lib/net45/Newtonsoft.Json.dll' to '/home/jon/fs/git/IfSharp/bin/Newtonsoft.Json.dll'
                Copying file from '/home/jon/fs/git/IfSharp/lib/NuGet.dll' to '/home/jon/fs/git/IfSharp/bin/NuGet.dll'
                Copying file from '/usr/lib/mono/gac/FSharp.Core/4.3.1.0__b03f5f7f11d50a3a/FSharp.Core.dll' to '/home/jon/fs/git/IfSharp/bin/FSharp.Core.dll'
            Target GenerateResources:
                Tool /usr/lib/mono/4.5/resgen.exe execution started with arguments: /useSourcePath /compile "IfSharpResources.resx,obj/x64/Release/IfSharpResources.resources" 
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/fsc.exe execution started with arguments: -o:obj/x64/Release/IfSharp.Kernel.dll --debug:pdbonly --noframework --define:TRACE --doc:../../bin/IfSharp.Kernel.XML --optimize+ --platform:x64 --resource:obj/x64/Release/IfSharpResources.resources -r:../../packages/FSharp.Charting.0.90.5/lib/net40/FSharp.Charting.dll -r:../../packages/FSharp.Compiler.Service.0.0.81/lib/net45/FSharp.Compiler.Service.dll -r:/usr/lib/mono/4.5/mscorlib.dll -r:../../packages/NetMQ.3.3.0.11/lib/net40/NetMQ.dll -r:../../packages/Newtonsoft.Json.5.0.8/lib/net45/Newtonsoft.Json.dll -r:../../lib/NuGet.dll -r:/usr/lib/mono/4.5/System.dll -r:/usr/lib/mono/gac/FSharp.Core/4.3.1.0__b03f5f7f11d50a3a/FSharp.Core.dll -r:/usr/lib/mono/4.5/System.Configuration.dll -r:/usr/lib/mono/4.5/System.Drawing.dll -r:/usr/lib/mono/4.5/System.Numerics.dll -r:/usr/lib/mono/4.5/System.Web.dll -r:/usr/lib/mono/4.5/System.Windows.Forms.dll -r:/usr/lib/mono/4.5/System.Windows.Forms.DataVisualization.dll -r:/usr/lib/mono/4.5/System.Xml.Linq.dll -r:/usr/lib/mono/4.5/System.Core.dll --target:library --warn:3 --warnaserror:76 --fullpaths --flaterrors --highentropyva- Config.fs IfSharpResources.fs NuGetManager.fs FsCompiler.fs Util.fs MainTypes.fs ShellMessages.fs Evaluation.fs Printers.fs Kernel.fs App.fs Globals.fs 
                F# Compiler for F# 4.0 (Open Source Edition)
                Freely distributed under the Apache 2.0 Open Source License
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
                Copying file from '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/Include.fsx' to '/home/jon/fs/git/IfSharp/bin/Include.fsx'
            Target _CopyAppConfigFile:
                Copying file from '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/app.config' to '/home/jon/fs/git/IfSharp/bin/IfSharp.Kernel.dll.config'
            Target DeployOutputFiles:
                Copying file from '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/obj/x64/Release/IfSharp.Kernel.dll.mdb' to '/home/jon/fs/git/IfSharp/bin/IfSharp.Kernel.dll.mdb'
                Copying file from '/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/obj/x64/Release/IfSharp.Kernel.dll' to '/home/jon/fs/git/IfSharp/bin/IfSharp.Kernel.dll'
        Done building project "/home/jon/fs/git/IfSharp/src/IfSharp.Kernel/IfSharp.Kernel.fsproj".
        Project "/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/IfSharp.Kernel.Tests.fsproj" (Rebuild target(s)):
            Target CoreClean:
                Deleting file '/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/bin/Release/FSharp.Core.dll'
                Deleting file '/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/bin/Release/NetMQ.dll'
                Deleting file '/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/obj/x64/Release/IfSharp.Kernel.Tests.fsproj.FilesWrittenAbsolute.txt'
            Target PrepareForBuild:
                Configuration: Release Platform: x64
            Target CopyFilesMarkedCopyLocal:
                Copying file from '/usr/lib/mono/gac/FSharp.Core/4.3.1.0__b03f5f7f11d50a3a/FSharp.Core.dll' to '/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/bin/Release/FSharp.Core.dll'
                Copying file from '/home/jon/fs/git/IfSharp/packages/NetMQ.3.3.0.11/lib/net40/NetMQ.dll' to '/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/bin/Release/NetMQ.dll'
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/fsc.exe execution started with arguments: -o:obj/x64/Release/IfSharp.Kernel.Tests.dll --debug:pdbonly --noframework --define:TRACE --doc:bin/Release/IfSharp.Kernel.Tests.XML --optimize+ --platform:x64 -r:/usr/lib/mono/4.5/mscorlib.dll -r:/usr/lib/mono/gac/FSharp.Core/4.3.1.0__b03f5f7f11d50a3a/FSharp.Core.dll -r:../../packages/NetMQ.3.3.0.11/lib/net40/NetMQ.dll -r:/usr/lib/mono/4.5/System.dll -r:/usr/lib/mono/4.5/System.Numerics.dll -r:/usr/lib/mono/4.5/System.Core.dll --target:library --warn:3 --warnaserror:76 --fullpaths --flaterrors --highentropyva-  
                F# Compiler for F# 4.0 (Open Source Edition)
                Freely distributed under the Apache 2.0 Open Source License
FSC: error FS0207: No inputs specified
            Task "Fsc" execution -- FAILED
            Done building target "CoreCompile" in project "/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/IfSharp.Kernel.Tests.fsproj".-- FAILED
        Done building project "/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/IfSharp.Kernel.Tests.fsproj".-- FAILED
    Task "MSBuild" execution -- FAILED
    Done building target "Rebuild" in project "/home/jon/fs/git/IfSharp/IfSharp.sln".-- FAILED
Done building project "/home/jon/fs/git/IfSharp/IfSharp.sln".-- FAILED

Build FAILED.
Errors:

/home/jon/fs/git/IfSharp/IfSharp.sln (Rebuild) ->
(Rebuild target) ->
/home/jon/fs/git/IfSharp/tests/IfSharp.Kernel.Tests/IfSharp.Kernel.Tests.fsproj (Rebuild) ->
/usr/lib/mono/4.5/Microsoft.FSharp.Targets (CoreCompile target) ->

    FSC: error FS0207: No inputs specified

     0 Warning(s)
     1 Error(s)

Time Elapsed 00:00:06.9157690
Running build failed.
Error:
Building /home/jon/fs/git/IfSharp/IfSharp.sln failed with exitcode 1.

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target            Duration
------            --------
Clean             00:00:00.0039956
RestorePackages   00:00:01.5060224
AssemblyInfo      00:00:00.0072718
Total:            00:00:08.8480716
Status:           Failure
---------------------------------------------------------------------
  1) Building /home/jon/fs/git/IfSharp/IfSharp.sln failed with exitcode 1.
  2) FS0207: FSC(0,0): No inputs specified
---------------------------------------------------------------------
npmurphy commented 8 years ago

This is just the tests failing, the fix is in PR #67. You probably want to look at the jupyter branch for the latest stuff.

@cgravill I think it is time to make the jupyter branch master.