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: invalid vendoredImportPath error #14054
Comments
What is main.go? I think this is fixed, now that we stopped using vendor for std. |
Please try with tip. I'm pretty sure this is fixed now. |
The problem still exits in go1.6rc1 edit: The problem is only with |
You still didn't answer my original question, so I'm going to leave this closed. Please provide enough information for us to reproduce the problem. |
Sorry for that. It's the example from the mobile repo |
Where are you when you try to symlink? |
This is my setup: $GOPATH=/home/me/gopath I think it happens anywhere outside of gopath, but works with a symlink inside the gopath. |
I see. Maybe this should work. Go generally isn't too friendly towards symlinks. @rsc? |
Please try applying this diff to cmd/go and rebuild cmd/go:
If it fixes your problem (it seems to on my machine) I will work up a test case and try to get it into the final release. Thanks. |
@rsc Thanks, this patch fixed the problem |
Sorry, testing discovered a few problems with that patch. New approach at https://go-review.googlesource.com/19102. If you can try that, it'd be great, but I've verified that it fixes the mobile example above. |
@rsc works for me as well, thanks for the quick fix |
Go 1.6beta2
go run fails when the cwd is a symlink to a folder in $GOPATH
It works when I disable the vendor experiment
The text was updated successfully, but these errors were encountered: