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

cmd/go: Go get panic #14402

Closed
mengzhuo opened this issue Feb 19, 2016 · 2 comments
Closed

cmd/go: Go get panic #14402

mengzhuo opened this issue Feb 19, 2016 · 2 comments

Comments

@mengzhuo
Copy link
Contributor

version go version go1.6 linux/amd64
cmd go get github.com/go-ini/ini
os Linux 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Log
# runtime /home/meng/go/src/runtime/os2_linux_generic.go:12: _SS_DISABLE redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:8 /home/meng/go/src/runtime/os2_linux_generic.go:13: _NSIG redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:9 /home/meng/go/src/runtime/os2_linux_generic.go:14: _SI_USER redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:10 /home/meng/go/src/runtime/os2_linux_generic.go:15: _SIG_BLOCK redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:11 /home/meng/go/src/runtime/os2_linux_generic.go:16: _SIG_UNBLOCK redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:12 /home/meng/go/src/runtime/os2_linux_generic.go:17: _SIG_SETMASK redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:13 /home/meng/go/src/runtime/os2_linux_generic.go:18: _RLIMIT_AS redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:14 /home/meng/go/src/runtime/os2_linux_generic.go:24: sigset redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:20 /home/meng/go/src/runtime/os2_linux_generic.go:26: rlimit redeclared in this block previous declaration at /home/meng/go/src/runtime/os2_linux.go:22 /home/meng/go/src/runtime/panic1.go:11: paniclk redeclared in this block previous declaration at /home/meng/go/src/runtime/panic.go:535 /home/meng/go/src/runtime/panic1.go:11: too many errors

@mengzhuo mengzhuo changed the title cmd/get Go get panic cmd/get: Go get panic Feb 19, 2016
@davecheney
Copy link
Contributor

This is usually caused by having a corrupt Go installation. You should remove any Go installation before installing another, don't simply unpack over the top of an existing one.

Also, please do not set GOROOT, this is the cause of this problem 99% of the time.

@mengzhuo
Copy link
Contributor Author

Sorry, It's our deploy script which tar xvzf go1.6 into ~/go which go1.5 already there
Close issue.

@mikioh mikioh changed the title cmd/get: Go get panic cmd/go: Go get panic Feb 19, 2016
@golang golang locked and limited conversation to collaborators Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants