Closed dmitshur closed 10 years ago
I think my plan of action to help resolve this will be to use a channel for updates and make sure only one go get -u ... process takes place at a time, even if the user presses "Update" on multiple (or the same) Go packages at once. Otherwise, there may be race conditions.
The second error is actually reproducible, and the problem is upstream, with the code.google.com/p/rog-go
repo.
Namely, code.google.com/p/rog-go/cmd/hello/hello.go
imports code.google.com/p/rog-go/x11
, and there is no x11
folder in code.google.com/p/rog-go
at all.
So if you do a normal go get, you get the same error:
$ go get -d -u code.google.com/p/rog-go/...
package code.google.com/p/rog-go/canvas
imports code.google.com/p/freetype-go/freetype
imports code.google.com/p/freetype-go/freetype/raster
imports code.google.com/p/freetype-go/freetype/truetype
imports code.google.com/p/rog-go/values
imports code.google.com/p/x-go-binding/ui
imports code.google.com/p/rog-go/cmd/apipe
imports code.google.com/p/goplan9/plan9
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/client
imports code.google.com/p/rog-go/cmd/bounce
imports code.google.com/p/x-go-binding/ui/x11
imports code.google.com/p/rog-go/cmd/calc
imports code.google.com/p/rog-go/cmd/ec2
imports launchpad.net/goamz/aws
imports launchpad.net/goamz/ec2
imports code.google.com/p/rog-go/cmd/godeps
imports code.google.com/p/rog-go/cmd/hello
imports code.google.com/p/rog-go/x11
imports code.google.com/p/rog-go/x11
imports code.google.com/p/rog-go/x11: cannot find package "code.google.com/p/rog-go/x11" in any of:
/usr/local/go/src/pkg/code.google.com/p/rog-go/x11 (from $GOROOT)
/Users/Dmitri/Dropbox/Work/2013/GoLanding/src/code.google.com/p/rog-go/x11 (from $GOPATH)
/Users/Dmitri/Local/GoTrLand/src/code.google.com/p/rog-go/x11
/Users/Dmitri/Dropbox/Work/2013/GoLand/src/code.google.com/p/rog-go/x11
package code.google.com/p/rog-go/canvas
imports code.google.com/p/freetype-go/freetype
imports code.google.com/p/freetype-go/freetype/raster
imports code.google.com/p/freetype-go/freetype/truetype
imports code.google.com/p/rog-go/values
imports code.google.com/p/x-go-binding/ui
imports code.google.com/p/rog-go/cmd/apipe
imports code.google.com/p/goplan9/plan9
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/client
imports code.google.com/p/rog-go/cmd/bounce
imports code.google.com/p/x-go-binding/ui/x11
imports code.google.com/p/rog-go/cmd/calc
imports code.google.com/p/rog-go/cmd/ec2
imports launchpad.net/goamz/aws
imports launchpad.net/goamz/ec2
imports code.google.com/p/rog-go/cmd/godeps
imports code.google.com/p/rog-go/cmd/hello
imports code.google.com/p/rog-go/x11
imports exp/draw: unrecognized import path "exp/draw"
package code.google.com/p/rog-go/canvas
imports code.google.com/p/freetype-go/freetype
imports code.google.com/p/freetype-go/freetype/raster
imports code.google.com/p/freetype-go/freetype/truetype
imports code.google.com/p/rog-go/values
imports code.google.com/p/x-go-binding/ui
imports code.google.com/p/rog-go/cmd/apipe
imports code.google.com/p/goplan9/plan9
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/client
imports code.google.com/p/rog-go/cmd/bounce
imports code.google.com/p/x-go-binding/ui/x11
imports code.google.com/p/rog-go/cmd/calc
imports code.google.com/p/rog-go/cmd/ec2
imports launchpad.net/goamz/aws
imports launchpad.net/goamz/ec2
imports code.google.com/p/rog-go/cmd/godeps
imports code.google.com/p/rog-go/cmd/hello
imports code.google.com/p/rog-go/x11
imports code.google.com/p/rog-go/cmd/mandel
imports exp/draw/x11: unrecognized import path "exp/draw/x11"
package code.google.com/p/rog-go/canvas
imports code.google.com/p/freetype-go/freetype
imports code.google.com/p/freetype-go/freetype/raster
imports code.google.com/p/freetype-go/freetype/truetype
imports code.google.com/p/rog-go/values
imports code.google.com/p/x-go-binding/ui
imports code.google.com/p/rog-go/cmd/apipe
imports code.google.com/p/goplan9/plan9
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/client
imports code.google.com/p/rog-go/cmd/bounce
imports code.google.com/p/x-go-binding/ui/x11
imports code.google.com/p/rog-go/cmd/calc
imports code.google.com/p/rog-go/cmd/ec2
imports launchpad.net/goamz/aws
imports launchpad.net/goamz/ec2
imports code.google.com/p/rog-go/cmd/godeps
imports code.google.com/p/rog-go/cmd/hello
imports code.google.com/p/rog-go/x11
imports code.google.com/p/rog-go/cmd/mandel
imports code.google.com/p/rog-go/cmd/peter-rabbit
imports github.com/patrick-higgins/summstat
imports code.google.com/p/rog-go/cmd/pxargs
imports code.google.com/p/rog-go/cmd/rpcreader
imports code.google.com/p/rog-go/ncnet
imports netchan: unrecognized import path "netchan"
package code.google.com/p/rog-go/canvas
imports code.google.com/p/freetype-go/freetype
imports code.google.com/p/freetype-go/freetype/raster
imports code.google.com/p/freetype-go/freetype/truetype
imports code.google.com/p/rog-go/values
imports code.google.com/p/x-go-binding/ui
imports code.google.com/p/rog-go/cmd/apipe
imports code.google.com/p/goplan9/plan9
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/client
imports code.google.com/p/rog-go/cmd/bounce
imports code.google.com/p/x-go-binding/ui/x11
imports code.google.com/p/rog-go/cmd/calc
imports code.google.com/p/rog-go/cmd/ec2
imports launchpad.net/goamz/aws
imports launchpad.net/goamz/ec2
imports code.google.com/p/rog-go/cmd/godeps
imports code.google.com/p/rog-go/cmd/hello
imports code.google.com/p/rog-go/x11
imports code.google.com/p/rog-go/cmd/mandel
imports code.google.com/p/rog-go/cmd/peter-rabbit
imports github.com/patrick-higgins/summstat
imports code.google.com/p/rog-go/cmd/pxargs
imports code.google.com/p/rog-go/cmd/rpcreader
imports code.google.com/p/rog-go/ncnet
imports code.google.com/p/rog-go/ncrpc
imports code.google.com/p/rog-go/cmd/shape
imports code.google.com/p/rog-go/cmd/share
imports code.google.com/p/rog-go/cmd/share2
imports code.google.com/p/rog-go/cmd/showdeps
imports github.com/kisielk/gotool
imports code.google.com/p/rog-go/cmd/stackgraph
imports code.google.com/p/rog-go/cmd/timestamp
imports code.google.com/p/rog-go/cmd/trampoline
imports code.google.com/p/rog-go/fakenet
imports code.google.com/p/rog-go/loopback
imports code.google.com/p/rog-go/deepdiff
imports code.google.com/p/rog-go/exp/abc
imports container/vector: unrecognized import path "container/vector"
package code.google.com/p/rog-go/canvas
imports code.google.com/p/freetype-go/freetype
imports code.google.com/p/freetype-go/freetype/raster
imports code.google.com/p/freetype-go/freetype/truetype
imports code.google.com/p/rog-go/values
imports code.google.com/p/x-go-binding/ui
imports code.google.com/p/rog-go/cmd/apipe
imports code.google.com/p/goplan9/plan9
imports code.google.com/p/goplan9/plan9/acme
imports code.google.com/p/goplan9/plan9/client
imports code.google.com/p/rog-go/cmd/bounce
imports code.google.com/p/x-go-binding/ui/x11
imports code.google.com/p/rog-go/cmd/calc
imports code.google.com/p/rog-go/cmd/ec2
imports launchpad.net/goamz/aws
imports launchpad.net/goamz/ec2
imports code.google.com/p/rog-go/cmd/godeps
imports code.google.com/p/rog-go/cmd/hello
imports code.google.com/p/rog-go/x11
imports code.google.com/p/rog-go/cmd/mandel
imports code.google.com/p/rog-go/cmd/peter-rabbit
imports github.com/patrick-higgins/summstat
imports code.google.com/p/rog-go/cmd/pxargs
imports code.google.com/p/rog-go/cmd/rpcreader
imports code.google.com/p/rog-go/ncnet
imports code.google.com/p/rog-go/ncrpc
imports code.google.com/p/rog-go/cmd/shape
imports code.google.com/p/rog-go/cmd/share
imports code.google.com/p/rog-go/cmd/share2
imports code.google.com/p/rog-go/cmd/showdeps
imports github.com/kisielk/gotool
imports code.google.com/p/rog-go/cmd/stackgraph
imports code.google.com/p/rog-go/cmd/timestamp
imports code.google.com/p/rog-go/cmd/trampoline
imports code.google.com/p/rog-go/fakenet
imports code.google.com/p/rog-go/loopback
imports code.google.com/p/rog-go/deepdiff
imports code.google.com/p/rog-go/exp/abc
imports code.google.com/p/rog-go/exp/abc/audio
imports code.google.com/p/rog-go/exp/abc/basic
imports code.google.com/p/rog-go/exp/breader
imports code.google.com/p/rog-go/exp/callback
imports code.google.com/p/rog-go/exp/cmd/errfix
imports code.google.com/p/rog-go/exp/cmd/godef
imports code.google.com/p/rog-go/exp/go/ast
imports code.google.com/p/rog-go/exp/go/scanner
imports code.google.com/p/rog-go/exp/go/token
imports code.google.com/p/rog-go/exp/go/parser
imports code.google.com/p/rog-go/exp/go/printer
imports code.google.com/p/rog-go/exp/go/types
imports code.google.com/p/rog-go/exp/cmd/gosym
imports code.google.com/p/rog-go/exp/go/sym
imports code.google.com/p/rog-go/exp/cmd/gosym/testfiles/src/test
imports other: unrecognized import path "other"
That said, I should present errors when doing go get -u
in a better way...
The first error, translated into a string, was:
The second error is slightly different, despite being related to the same package,
Followed by,