question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paket build fails on both OsX and Linux

See original GitHub issue

Trying to follow the installation instructions I got the same error both on OsX (El Capitain) and Linux (Mint 18.01/Ubuntu 16.04)

Running the build.sh it fails at the end of the process missing files and dependencies

Repro steps

  1. git clone <source repo>

  2. cd Paket

  3. ./build.sh

Expected behavior

The build to finish and have success

Actual behavior

Error.

Known workarounds

None.

Starting Target: Clean 
Creating /home/palutz/Project/fsharp/Paket/bin
Creating /home/palutz/Project/fsharp/Paket/temp
Finished Target: Clean
Starting Target: AssemblyInfo (==> Clean)
Created AssemblyInfo file "src/Paket/AssemblyInfo.fs".
Created AssemblyInfo file "src/Paket.Core/AssemblyInfo.fs".
Created AssemblyInfo file "src/Paket.PowerShell/AssemblyInfo.fs".
Created AssemblyInfo file "/home/palutz/Project/fsharp/Paket/src/Paket.Bootstrapper/Properties/AssemblyInfo.cs".
Finished Target: AssemblyInfo
Starting Target: InstallDotNetCore (==> AssemblyInfo)
Creating /home/palutz/Project/fsharp/Paket/dotnetcore
Installing 'https://dotnetcli.blob.core.windows.net/dotnet/Sdk/1.0.0-preview3-004056/dotnet-dev-win-x64.1.0.0-preview3-004056.zip' to '/home/palutz/Project/fsharp/Paket/dotnetcore/dotnet-dev-win-x64.1.0.0-preview3-004056.zip
Finished Target: InstallDotNetCore
Starting Target: DotnetRestore (==> InstallDotNetCore)
/home/palutz/Project/fsharp/Paket/dotnetcore/dotnet "restore" "/home/palutz/Project/fsharp/Paket/src/Paket.Core.preview3/Paket.Core.fsproj" 
Running build failed.
Error:
System.Exception: Start of process /home/palutz/Project/fsharp/Paket/dotnetcore/dotnet failed. ApplicationName='/home/palutz/Project/fsharp/Paket/dotnetcore/dotnet', CommandLine='"restore" "/home/palutz/Project/fsharp/Paket/src/Paket.Core.preview3/Paket.Core.fsproj" ', CurrentDirectory='/home/palutz/Project/fsharp/Paket', Native error= Cannot find the specified file
  at Fake.ProcessHelper+ExecProcessWithLambdas@91-16.Invoke (System.String message) [0x00001] in <582e02acccf1c534a7450383ac022e58>:0 
  at Microsoft.FSharp.Core.PrintfImpl+StringPrintfEnv`1[TResult].Finalize () [0x00012] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.PrintfImpl+Final2@235[TState,TResidue,TResult,A,B].Invoke (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] env, A a, B b) [0x0005a] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3266-1[T2,T3,TResult,T1].Invoke (T2 u, T3 v) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3253[T2,TResult,T1].Invoke (T2 u) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Fake.ProcessHelper+ExecProcessWithLambdas@91-18.Invoke (System.String arg20) [0x00001] in <582e02acccf1c534a7450383ac022e58>:0 
  at Microsoft.FSharp.Core.FSharpFunc`2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] func, T arg1, TResult arg2) [0x0001f] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Fake.ProcessHelper.ExecProcessWithLambdas (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] configProcessStartInfoF, System.TimeSpan timeOut, System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] errorF, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] messageF) [0x001c1] in <582e02acccf1c534a7450383ac022e58>:0 
  at Fake.DotNetCli.Restore (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] setRestoreParams) [0x000cc] in <582e02acccf1c534a7450383ac022e58>:0 
  at FSI_0005.Build+clo@188-18.Invoke (System.String proj) [0x0000a] in <91dc98798f114daa8acda2f9472d2511>:0 
  at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] action, System.Collections.Generic.IEnumerable`1[T] source) [0x0002d] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at FSI_0005.Build+clo@186-17.Invoke (Microsoft.FSharp.Core.Unit _arg5) [0x0000b] in <91dc98798f114daa8acda2f9472d2511>:0 
  at Fake.TargetHelper+targetFromTemplate@195[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <582e02acccf1c534a7450383ac022e58>:0 
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00040] in <582e02acccf1c534a7450383ac022e58>:0 

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target              Duration
------              --------
Clean               00:00:00.0015797
AssemblyInfo        00:00:00.0227374
InstallDotNetCore   00:01:46.1144117
Total:              00:01:46.1950691
Status:             Failure
---------------------------------------------------------------------
  1) System.Exception: Start of process /home/palutz/Project/fsharp/Paket/dotnetcore/dotnet failed. ApplicationName='/home/palutz/Project/fsharp/Paket/dotnetcore/dotnet', CommandLine='"restore" "/home/palutz/Project/fsharp/Paket/src/Paket.Core.preview3/Paket.Core.fsproj" ', CurrentDirectory='/home/palutz/Project/fsharp/Paket', Native error= Cannot find the specified file
  at Fake.ProcessHelper+ExecProcessWithLambdas@91-16.Invoke (System.String message) [0x00001] in <582e02acccf1c534a7450383ac022e58>:0 
  at Microsoft.FSharp.Core.PrintfImpl+StringPrintfEnv`1[TResult].Finalize () [0x00012] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.PrintfImpl+Final2@235[TState,TResidue,TResult,A,B].Invoke (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] env, A a, B b) [0x0005a] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3266-1[T2,T3,TResult,T1].Invoke (T2 u, T3 v) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3253[T2,TResult,T1].Invoke (T2 u) [0x00001] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Fake.ProcessHelper+ExecProcessWithLambdas@91-18.Invoke (System.String arg20) [0x00001] in <582e02acccf1c534a7450383ac022e58>:0 
  at Microsoft.FSharp.Core.FSharpFunc`2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] func, T arg1, TResult arg2) [0x0001f] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at Fake.ProcessHelper.ExecProcessWithLambdas (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] configProcessStartInfoF, System.TimeSpan timeOut, System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] errorF, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] messageF) [0x001c1] in <582e02acccf1c534a7450383ac022e58>:0 
  at Fake.DotNetCli.Restore (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] setRestoreParams) [0x000cc] in <582e02acccf1c534a7450383ac022e58>:0 
  at FSI_0005.Build+clo@188-18.Invoke (System.String proj) [0x0000a] in <91dc98798f114daa8acda2f9472d2511>:0 
  at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] action, System.Collections.Generic.IEnumerable`1[T] source) [0x0002d] in <5584aad2904cf4daa7450383d2aa8455>:0 
  at FSI_0005.Build+clo@186-17.Invoke (Microsoft.FSharp.Core.Unit _arg5) [0x0000b] in <91dc98798f114daa8acda2f9472d2511>:0 
  at Fake.TargetHelper+targetFromTemplate@195[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <582e02acccf1c534a7450383ac022e58>:0 
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00040] in <582e02acccf1c534a7450383ac022e58>:0 
---------------------------------------------------------------------



Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
hpcsccommented, Feb 27, 2017

Hi, any update on this issue? Still failing on MacOS with latest source code

0reactions
enricosadacommented, Jan 24, 2018

Closing.

Now paket should build in macosx/unix. both configuration are under travis ci (dotnet core and normal .net) with whole test suite.

Please open an new issue if doesnt work in your os/environment

Read more comments on GitHub >

github_iconTop Results From Across the Web

`dotnet restore` does not work on Linux when installed as ...
dotnet restore fails on Linux with the following message when paket is installed using dotnet tool install -g paket.
Read more >
Build error on Linux; same site builds fine on MacOS
I use both MacOS and Linux environments and my new Hugo site builds fine on my mac, but not on linux. On the...
Read more >
How to Fix "The package '%@' is missing or invalid ...
Did you just come across an error saying The package "%@" is missing or invalid while attempting to upgrade your Mac to macOS...
Read more >
release-notes
Paket now clones git dependencies as bare repositories and configures clones under paket-files differently. Because of these incompatible changes, it is ...
Read more >
Error in install.packages("devtools"): dependencies not ...
I'm trying to install the devtools package which results in a non-zero exit status error. Installiere Paket nach '/Users/jupyter-sbr/R/x86_64-pc ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found