fsprojects / IfSharp

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

Master fails to build on Ubuntu 16.04 #119

Closed crwilcox closed 7 years ago

crwilcox commented 7 years ago

We install F# from apt on Ubuntu 16.04.

We have seen on the recent bits the following error. I think this may be related to the recent change in dependencies https://github.com/fsprojects/IfSharp/commit/96d1116380c120dc1aedfcda3338f3874bfd67e7

This is the output from build.sh

41 - root - INFO - >> Cloning into 'IfSharp'...
41 - root - INFO - >> Already on 'master'
41 - root - INFO - >> Your branch is up-to-date with 'origin/master'.
41 - root - INFO - >> Checking Paket version (downloading latest stable)...
41 - root - INFO - >> Version 3.31.2 not found in cache.
41 - root - INFO - >> Starting download from https://github.com/fsprojects/Paket/releases/download/3.31.2/paket.exe
41 - root - INFO - >> Done.
41 - root - INFO - >> Paket version 3.31.2
41 - root - INFO - >> Downloading FSharp.Formatting 2.14.4 (Docs)
41 - root - INFO - >> Downloading FSharpVSPowerTools.Core 2.3 (Docs)
41 - root - INFO - >> Downloading FSharp.Compiler.Service 2.0.0.6 (Docs)
41 - root - INFO - >> Something went wrong while downloading FSharpVSPowerTools.Core 2.3
41 - root - INFO - >> Message: Error during extraction of /home/nbcommon/IfSharp/packages/docs/FSharpVSPowerTools.Core/FSharpVSPowerTools.Core.2.3.0.nupkg.
41 - root - INFO - >> Message: Could not load file or assembly 'System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
41 - root - INFO - >> ==> Trying again
41 - root - INFO - >> Downloading FSharpVSPowerTools.Core 2.3 (Docs)
41 - root - INFO - >> Something went wrong while downloading FSharp.Formatting 2.14.4
41 - root - INFO - >> Message: Error during extraction of /home/nbcommon/IfSharp/packages/docs/FSharp.Formatting/FSharp.Formatting.2.14.4.nupkg.
41 - root - INFO - >> Message: Could not load file or assembly 'System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
41 - root - INFO - >> ==> Trying again
41 - root - INFO - >> Downloading FSharp.Formatting 2.14.4 (Docs)
41 - root - INFO - >> Something went wrong while downloading FSharpVSPowerTools.Core 2.3
41 - root - INFO - >> Message: Error during extraction of /home/nbcommon/IfSharp/packages/docs/FSharpVSPowerTools.Core/FSharpVSPowerTools.Core.2.3.0.nupkg.
41 - root - INFO - >> Message: Could not load file or assembly 'System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
41 - root - INFO - >> ==> Last trial
41 - root - INFO - >> Downloading FSharpVSPowerTools.Core 2.3 (Docs)
41 - root - INFO - >> Something went wrong while downloading FSharp.Formatting 2.14.4
41 - root - INFO - >> Message: Error during extraction of /home/nbcommon/IfSharp/packages/docs/FSharp.Formatting/FSharp.Formatting.2.14.4.nupkg.
41 - root - INFO - >> Message: Could not load file or assembly 'System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
41 - root - INFO - >> ==> Last trial
41 - root - INFO - >> Downloading FSharp.Formatting 2.14.4 (Docs)
41 - root - INFO - >> Paket failed with:
41 - root - INFO - >> Error during extraction of /home/nbcommon/IfSharp/packages/docs/FSharpVSPowerTools.Core/FSharpVSPowerTools.Core.2.3.0.nupkg.
41 - root - INFO - >> Message: Could not load file or assembly 'System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
41 - root - INFO - >> In rare cases a firewall might have blocked the download. Please look into the file and see if it contains text with further information.
cgravill commented 7 years ago

That's a curious issue, it seems to be building OK on the TravisCI build: https://travis-ci.org/fsprojects/IfSharp

I searched for the error and found: http://stackoverflow.com/a/19750787/35544

Based on that I've removed some leftover NuGet Package Restore configuration. We use Paket throughout now. Try that and see if it helps.

crwilcox commented 7 years ago

@cgravill It seems we have a more nebulous problem on our end where apt can't seem to use the xamarin source with https.

34 - root - INFO - >> E: The method driver /usr/lib/apt/methods/https could not be found.
34 - root - INFO - >> E: Failed to fetch https://download.mono-project.com/repo/debian/dists/wheezy/snapshots/4.4/InRelease
34 - root - INFO - >> E: Some index files failed to download. They have been ignored, or old ones used instead.

That is the source of our problem. Changing the deb to use http instead of https will resolve it. I am going to continue investigating that issue, but it doesn't seem to be an issue with ifsharp but instead mono installation using https.

cgravill commented 7 years ago

Thanks for letting me know, good luck!

It prompted some tidy up so it had a good side-effect.