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

runc build fails in Ubuntu 14.04 (go version xgcc (Ubuntu 4.9.1-0ubuntu1) 4.9.1 linux/amd64) #17

Closed
ajayaa opened this issue Jun 23, 2015 · 2 comments

Comments

@ajayaa
Copy link

ajayaa commented Jun 23, 2015

make

go get github.com/tools/godep
unexpected fault address 0x2b2a00000011
fatal error: fault
[signal 0xb code=0x1 addr=0x2b2a00000011]

goroutine 5 [running]:

:0                                                                         

:0                                                                         

:0                                                                         

:0                                                                         

:0                                                                         

:0                                                                         

:0                                                                         

goroutine 1 [select]:
main.$nested27
/build/buildd/gccgo-go-1.2.1/src/cmd/go/http.go:57
main.httpsOrHTTP
/build/buildd/gccgo-go-1.2.1/src/cmd/go/http.go:65
main.repoRootForImportDynamic
/build/buildd/gccgo-go-1.2.1/src/cmd/go/vcs.go:468
main.repoRootForImportPath
/build/buildd/gccgo-go-1.2.1/src/cmd/go/vcs.go:362
main.downloadPackage
/build/buildd/gccgo-go-1.2.1/src/cmd/go/get.go:269
main.download
/build/buildd/gccgo-go-1.2.1/src/cmd/go/get.go:166
main.download
/build/buildd/gccgo-go-1.2.1/src/cmd/go/get.go:232
main.runGet
/build/buildd/gccgo-go-1.2.1/src/cmd/go/get.go:72
main.main
/build/buildd/gccgo-go-1.2.1/src/cmd/go/main.go:161

goroutine 3 [syscall]:
goroutine in C code; stack unavailable
make: *** [all] Error 2

@carmark
Copy link
Contributor

carmark commented Jun 24, 2015

It looks like you need to update your go from 1.2 to latest version.

@maxkueng
Copy link

Seems like the Makefile has some issues.I've also had problems on Arch Linux and also inside a golang:latest Docker container. It just failed. Then I saw this in another issue and it works for me.

GOPATH=$PWD PATH=$PWD/bin:$PATH  make
#wait for it to fail, fixup dependencies
mkdir -p src/github.com/opencontainers/runc/
ln -sf $PWD/libcontainer src/github.com/opencontainers/runc/
GOPATH=$PWD PATH=$PWD/bin:$PATH  make
#works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants