Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case sensitive path issue on Linux #816

Closed
obadz opened this issue May 6, 2015 · 9 comments
Closed

Case sensitive path issue on Linux #816

obadz opened this issue May 6, 2015 · 9 comments

Comments

@obadz
Copy link

obadz commented May 6, 2015

Doing a paket update:

[..]
FsUnit 1.3.0.1 unzipped to /tmp/mono-nix/monodevelop-5.9/packages/FsUnit
FSharp.Compiler.Service 0.0.85 unzipped to /tmp/mono-nix/monodevelop-5.9/packages/FSharp.Compiler.Service
Paket failed with:
Directory '/tmp/mono-nix/monodevelop-5.9/packages/FSUnit' not found.

(Note the lower case s in the first print and the capital S in the second)

Renaming the directory works around the issue.

@forki
Copy link
Member

forki commented May 6, 2015

do you have a minimal paket.dependencies file which reproduces this on "paket update"?

@obadz
Copy link
Author

obadz commented May 6, 2015

I think this is it:

source https://nuget.org/api/v2

nuget FSharp.Compiler.Service 0.0.85 framework: >= net45
nuget FSUnit 1.3.0.1 framework: >= net40
nuget NUnit.Runners 2.6.3 framework: >= net40

forki added a commit that referenced this issue May 7, 2015
forki added a commit that referenced this issue May 7, 2015
@forki
Copy link
Member

forki commented May 7, 2015

Mhm I tried to reproduce via #818 - no luck

@obadz
Copy link
Author

obadz commented May 22, 2015

Similar issue when simply running paket install on Paket itself:

$ tar zvxf paket-1.5.0.tar.gz
$ cd Paket-1.5.0
$ paket install
Paket version 1.4.3.0
Resolving packages:
 - Newtonsoft.Json 6.0.8
 - FAKE 3.33.0
 - FSharp.Core 3.1.2.1
 - FSharp.Formatting 2.9.6
 - NUnit 2.6.4
 - NUnit.Runners 2.6.4
 - Microsoft.Net.Http 2.2.29
 - ILRepack 1.26.0
 - FSharpVSPowerTools.Core 1.8.0
 - Microsoft.Bcl 1.1.10
 - Microsoft.Bcl.Build 1.0.21
 - FsCheck 1.0.4
 - FsCheck.Nunit 1.0.4
 - Octokit 0.12.0
 - UnionArgParser 0.8.7
 - FSharp.Compiler.Service 0.0.89
Locked version resolutions written to [..]/Paket-1.5.0/paket.lock
Downloading fsprojects/Chessie:3017092260b4a59a3b4b25bf8fca6be6eb7487eb src/Chessie/ErrorHandling.fs to [..]/Paket-1.5.0/paket-files/fsprojects/Chessie/src/Chessie/ErrorHandling.fs
Downloading fsharp/FAKE:891840ae812cd0b6bec90e143c653b1c0cc95789 src/app/FakeLib/Globbing/Globbing.fs to [..]/Paket-1.5.0/paket-files/fsharp/FAKE/src/app/FakeLib/Globbing/Globbing.fs
UnionArgParser 0.8.7 unzipped to [..]/Paket-1.5.0/packages/UnionArgParser
Downloading fsharp/FAKE:891840ae812cd0b6bec90e143c653b1c0cc95789 modules/Octokit/Octokit.fsx to [..]/Paket-1.5.0/paket-files/fsharp/FAKE/modules/Octokit/Octokit.fsx
Downloading forki/FsUnit:81d27fd09575a32c4ed52eadb2eeac5f365b8348 FsUnit.fs to [..]/Paket-1.5.0/paket-files/forki/FsUnit/FsUnit.fs
FsCheck 1.0.4 unzipped to [..]/Paket-1.5.0/packages/FsCheck
Octokit 0.12.0 unzipped to [..]/Paket-1.5.0/packages/Octokit
FsCheck.Nunit 1.0.4 unzipped to [..]/Paket-1.5.0/packages/FsCheck.Nunit
NUnit.Runners 2.6.4 unzipped to [..]/Paket-1.5.0/packages/NUnit.Runners
NUnit 2.6.4 unzipped to [..]/Paket-1.5.0/packages/NUnit
Newtonsoft.Json 6.0.8 unzipped to [..]/Paket-1.5.0/packages/Newtonsoft.Json
Microsoft.Net.Http 2.2.29 unzipped to [..]/Paket-1.5.0/packages/Microsoft.Net.Http
Microsoft.Bcl.Build 1.0.21 unzipped to [..]/Paket-1.5.0/packages/Microsoft.Bcl.Build
Microsoft.Bcl 1.1.10 unzipped to [..]/Paket-1.5.0/packages/Microsoft.Bcl
ILRepack 1.26.0 unzipped to [..]/Paket-1.5.0/packages/ILRepack
FSharpVSPowerTools.Core 1.8.0 unzipped to [..]/Paket-1.5.0/packages/FSharpVSPowerTools.Core
FSharp.Formatting 2.9.6 unzipped to [..]/Paket-1.5.0/packages/FSharp.Formatting
FSharp.Core 3.1.2.1 unzipped to [..]/Paket-1.5.0/packages/FSharp.Core
FAKE 3.33.0 unzipped to [..]/Paket-1.5.0/packages/FAKE
FSharp.Compiler.Service 0.0.89 unzipped to [..]/Paket-1.5.0/packages/FSharp.Compiler.Service
Paket failed with:
    Directory '[..]/Paket-1.5.0/packages/FsCheck.NUnit' not found.

Stack trace:

Paket failed with:
    Directory '[..]/Paket-1.5.0/packages/FsCheck.NUnit' not found.
StackTrace:
    at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 
  at System.IO.DirectoryInfo.GetDirectories (System.String searchPattern) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetDirectories (string)
  at Paket.InstallProcess+findPackagesWithContent@23.Invoke (System.IO.DirectoryInfo packageDir) [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.IEnumerator+choose@154[System.IO.DirectoryInfo,System.IO.DirectoryInfo].System-Collections-IEnumerator-MoveNext () [0x00000] in <filename unknown>:0 
  at Microsoft.FSharp.Collections.SeqModule.ToList[DirectoryInfo] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at Paket.InstallProcess.findPackagesWithContent (System.String root, Microsoft.FSharp.Collections.FSharpMap`2 usedPackages) [0x00000] in <filename unknown>:0 
  at Paket.InstallProcess.InstallIntoProjects (Microsoft.FSharp.Collections.FSharpList`1 sources, Boolean force, Boolean hard, Boolean withBindingRedirects, Paket.LockFile lockFile, IEnumerable`1 projects) [0x00000] in <filename unknown>:0 
  at Paket.UpdateProcess.SmartInstall (System.String dependenciesFileName, Microsoft.FSharp.Core.FSharpOption`1 exclude, Boolean force, Boolean hard, Boolean withBindingRedirects) [0x00000] in <filename unknown>:0 
  at <StartupCode$Paket-Core>.$PublicAPI+Install@134.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0 
  at Paket.Utils.RunInLockedAccessMode[Unit] (System.String rootFolder, Microsoft.FSharp.Core.FSharpFunc`2 action) [0x00000] in <filename unknown>:0 

@obadz
Copy link
Author

obadz commented May 22, 2015

In fact the paket.lock file has FsCheck.Nunit while the paket.dependencies file has FsCheck.NUnit

@forki
Copy link
Member

forki commented May 23, 2015

could please try latest version. there is a chance that I fixed this together with somthing else

@obadz
Copy link
Author

obadz commented May 23, 2015

Same thing on 1.5.3, thx.

@forki
Copy link
Member

forki commented May 27, 2015

sorry for playing ping-pong here, but I can't reproduce. I think I found an issue with might lead to this behaviour. Could you please retry and tell me if it is fixed (or if you get a new error).

@obadz
Copy link
Author

obadz commented May 28, 2015

That did it. Thanks for fixing.

@forki forki closed this as completed May 28, 2015
@forki forki added the bug label May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants