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: package cmd/internal/rsc.io/x86/x86asm: ... is not using a known version control system #12532
Comments
That error messages comes entirely from the local directories on your system. The go command looks in the directory and tries to determine the version control system. In your case it is failing. Can you list all the files under D:\Go\src\cmd\internal\rsc.io\arm\armasm , including any that start with "."? (I don't know how to do that on Windows.) By the way, the x86asm package has moved to golang.org/x/arch, and the armasm package will follow. |
You can use "dir D:\Go\src\cmd\internal\rsc.io\arm\armasm" command. For example:
Alex |
Sorry for late to reply. Note: The path in the error message in my ubuntu is slightly difference: and go is a symbol link to go1.5 |
Your original report says that "go get" was reporting an error. You shouldn't be using "go get" on your main Go sources. You should only be using it on your GOPATH sources. Have you set GOPATH to the same value as |
|
Reproduced with tip.
$ GOPATH= go get -u all
package cmd/vendor/golang.org/x/arch/arm/armasm: directory
".../go/src/cmd/vendor/golang.org/x/arch/arm/armasm" is not using a known
version control system
package cmd/vendor/golang.org/x/arch/x86/x86asm: directory
".../go/src/cmd/vendor/golang.org/x/arch/x86/x86asm" is not using a known
version control system
|
@ianlancetaylor:
ls -l ~/share | grep go
lrwxrwxrwx 1 qcg qcg 5 6月 20 17:49 go -> go1.5
drwxrwxr-x 12 qcg qcg 4096 6月 20 17:48 go1.4
drwxrwxr-x 11 qcg qcg 4096 11月 16 13:26 go1.5 |
It's fixed now. |
$ go get -u all
package cmd/internal/rsc.io/arm/armasm: directory "D:\Go\src\cmd\internal\rsc.io\arm\armasm" is not using a known version control system
package cmd/internal/rsc.io/x86/x86asm: directory "D:\Go\src\cmd\internal\rsc.io\x86\x86asm" is not using a known version control system
This message appears everytime i upgrade packages in $GOPATH on all my windows/linux PCs for some months. I do not know what it mean and how to avoid it.
The text was updated successfully, but these errors were encountered: