Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Mixed-case repo-names fails on Windows 10 #1915

Closed
bep opened this issue Jun 29, 2018 · 6 comments
Closed

Mixed-case repo-names fails on Windows 10 #1915

bep opened this issue Jun 29, 2018 · 6 comments

Comments

@bep
Copy link

bep commented Jun 29, 2018

Detailed system info below. Win 10 is a virtual VM, but recently updated. @spf13 should probably just rename his cleverly named log repo, but I assume others also will have this problem.

To reproduce:

go get -u -d https://github.com/gohugoio/hugo
cd => hugo
dep ensure

System info etc:

$ dep ensure
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export github.com/spf13/jwalterweatherman: cannot stat c:\dev\go\pkg\dep\sources\https---github.com-spf13-jwalterweatherman\.git\index: CreateFile c:\dev\go\pkg\dep\sources\https---github.com-spf13-jwalterweatherman\.git\index: Systemet finner ikke angitt fil.

$ dep version
dep:
 version     : devel
 build date  :
 git hash    :
 go version  : go1.10.1
 go compiler : gc
 platform    : windows/amd64
 features    : ImportDuringSolve=false

$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\bjorn\AppData\Local\go-build
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\dev\go
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\bjorn\AppData\Local\Temp\go-build538923414=/tmp/go-build -gno-record-gcc-switches

$ go version
go version go1.10.1 windows/amd64

@sdboyer
Copy link
Member

sdboyer commented Jul 20, 2018

Huh. That's surprising. So there's a c:\dev\go\pkg\dep\sources\https---github.com-spf13-jWalterWeatherman, but dep is trying to use the all lower case variant?

@bep
Copy link
Author

bep commented Jul 20, 2018

but dep is trying to use the all lower case variant?

I don't know the internals of Dep, so that would be a wild guess.

@sdboyer
Copy link
Member

sdboyer commented Jul 20, 2018

sorry, the question is really about the first part - the state of your disk. yes, im the one who's supposed to be familiar with dep behavior in this conversation 😉

@bep
Copy link
Author

bep commented Jul 20, 2018

sorry, the question is really about the first part - the state of your disk. yes,

That state is long lost. I open my Windows VM once every 6 months or so to test some file path issue in my own Go programs. I have had this issue before, but then I just brushed it away and compiled the binary on my MacOS ... And I know that jWalterWeatherman is one of those rare and mixed-case modules.

@sdboyer
Copy link
Member

sdboyer commented Jul 20, 2018

gotcha, thanks. I know we have at least some tests for case variance, but it may only be on gh username, not repo name. I'll give it a look.

@mvdan
Copy link
Member

mvdan commented Sep 4, 2020

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!

@mvdan mvdan closed this as completed Sep 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants