moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
10.33k stars 540 forks source link

Can't compile go 1.5.x anymore after I terminate the installation #179

Open wmh opened 8 years ago

wmh commented 8 years ago

I have terminate the go1.5.x installation once cause I want to install another version at that time. But after I terminate the process once. I can't install any go1.5.x on this machine anymore even I remove gvm and reinstall gvm. This is the error message:

##### Building Go bootstrap tool.
cmd/dist

##### Building Go toolchain using /home/user/.gvm/gos/go1.4.3.
bootstrap/internal/obj
bootstrap/internal/obj/arm
bootstrap/internal/obj/arm64
bootstrap/internal/obj/ppc64
bootstrap/internal/obj/x86
bootstrap/asm/internal/arch
bootstrap/asm/internal/flags
bootstrap/asm/internal/lex
bootstrap/asm/internal/asm
bootstrap/asm
bootstrap/compile/internal/big
bootstrap/internal/gcprog
bootstrap/compile/internal/gc
go build bootstrap/compile/internal/gc: /home/user/.gvm/gos/go1.4.3/pkg/tool/linux_amd64/6g: signal: killed
bootstrap/link/internal/ld
bootstrap/link/internal/amd64
bootstrap/link/internal/arm
bootstrap/link/internal/arm64
bootstrap/link/internal/ppc64
bootstrap/link/internal/x86
bootstrap/link  
go tool dist: FAILED: /home/user/.gvm/gos/go1.4.3/bin/go install -v bootstrap/...: exit status 1
casimcdaniels commented 8 years ago

Same problem here, except it worked fine under my initial user. I made a new user and tried to install through gvm there, and got the error for go 1.5 and go 1.5.2

what worked for me:

gvm install go1.5.2 --binary gvm use go1.5.2