constabulary / gb

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

reference to undefined identifier ‘build.ImportComment’ #647

Closed marbetschar closed 8 years ago

marbetschar commented 8 years ago
go get -u github.com/constabulary/gb/...
# github.com/constabulary/gb/internal/vendor
go/src/github.com/constabulary/gb/internal/vendor/depset.go:92:46: error: reference to undefined identifier ‘build.ImportComment’
  p.Package, err = build.ImportDir(dir, build.ImportComment)

Running on Ubuntu 14.04, go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64

marbetschar commented 8 years ago

Ok; my fault. Updated go using this: https://github.com/golang/go/wiki/Ubuntu Everything started working.