-
Notifications
You must be signed in to change notification settings - Fork 18k
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
cmd/go: "The filename or extension is too long." on Windows #47235
Comments
@nochiel the original title had "[Possible regression]". Did you mean that it worked before for some earlier Go release, but not with Go 1.16.4? Thanks. |
As far as I am aware it has never worked. However #18468 was closed, apparently fixed. It's not entirely clear to me if the issues are related or if that fix was supposed to fix the issue. This was why I labelled it as a possible regression, in the event that it was indeed fixed. |
No, that's a issue of git itself. |
On Tue, 20 Jul 2021 at 06:46, Meng Zhuo ***@***.***> wrote:
No, that's a issue of git itself.
Windows user should set git by git config --system core.longpaths true
Ref:
https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows
Thank you for the tip. But did you actually test compiling go-libtor on
Windows with this setting? It still doesn't work on my machine.
… |
The indicated platform is
The reported command seems to report the relevant failure on
|
Change https://go.dev/cl/427015 mentions this issue: |
Related: #18468
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go get -u -v -x github.com/ipsn/go-libtor
What did you expect to see?
Successful compiliaton.
What did you see instead?
go get -u -v -x github.com/ipsn/go-libtor
OutputThe text was updated successfully, but these errors were encountered: