root@ca28de31cb90:/home/liuxg/snappy/examples/go-webserver# snapcraft
Pulling webserver
env GOPATH=/home/liuxg/snappy/examples/go-webserver/parts/webserver/build go get -t -d github.com/liu-xiao-guo/golang-http
fatal error: rt_sigaction failure
runtime stack:
runtime.throw(0x51f25d)
/usr/lib/go/src/pkg/runtime/panic.c:520 +0x5c
runtime.setsig(0x40, 0x7d5ec, 0x523901)
/usr/lib/go/src/pkg/runtime/os_linux.c:309 +0xbc
runtime.initsig()
/usr/lib/go/src/pkg/runtime/signal_unix.c:39 +0x94
runtime.mstart()
/usr/lib/go/src/pkg/runtime/proc.c:621 +0x80
goroutine 16 [runnable]:
runtime.main()
/usr/lib/go/src/pkg/runtime/proc.c:207
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445
Failed doing pull for webserver: Command '['/bin/sh', '/tmp/tmpqfx5fwvd', 'env', 'GOPATH=/home/liuxg/snappy/examples/go-webserver/parts/webserver/build', 'go', 'get', '-t', '-d', 'github.com/liu-xiao-guo/golang-http']' returned non-zero exit status 2