constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 150 forks source link

Go get fails #689

Closed barthr closed 7 years ago

barthr commented 7 years ago
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/Bart/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.7.4_2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.7.4_2/libexec/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_v/djwxpt3s5ss8dtz2939y09540000gn/T/go-build888858511=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

Running the go get command on the repo fails in this error:

 ~  go get github.com/constabulary/gb/...

# github.com/constabulary/gb
go/src/github.com/constabulary/gb/resolver.go:86: undefined: "github.com/pkg/errors".WithStack
go/src/github.com/constabulary/gb/resolver.go:90: undefined: "github.com/pkg/errors".WithStack
go/src/github.com/constabulary/gb/resolver.go:94: undefined: "github.com/pkg/errors".WithStack
davecheney commented 7 years ago

You probably have an old version of the error package. Use

go get -u github.com/constabulary/gb/. http://github.com/constabulary/gb/ ..

On Sat, Feb 4, 2017 at 9:26 PM, Bart notifications@github.com wrote:

GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/Bart/go" GORACE="" GOROOT="/usr/local/Cellar/go/1.7.4_2/libexec" GOTOOLDIR="/usr/local/Cellar/go/1.7.4_2/libexec/pkg/tool/darwin_amd64" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_v/djwxpt3s5ss8dtz2939y09540000gn/T/go-build888858511=/tmp/go-build -gno-record-gcc-switches -fno-common" CXX="clang++" CGO_ENABLED="1"

Running the go get command on the repo fails in this error:

~  go get github.com/constabulary/gb/...

github.com/constabulary/gb

go/src/github.com/constabulary/gb/resolver.go:86 http://github.com/constabulary/gbgo/src/github.com/constabulary/gb/resolver.go:86: undefined: "github.com/pkg/errors".WithStack go/src/github.com/constabulary/gb/resolver.go:90: undefined: "github.com/pkg/errors".WithStack go/src/github.com/constabulary/gb/resolver.go:94: undefined: "github.com/pkg/errors".WithStack

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/689, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcAyrJOSxpQtuORzLF2aXSU21NkfIyks5rZFJhgaJpZM4L3HAO .

barthr commented 7 years ago

Ahh didn't think of that. using the -u flag fixed it! thanks