Repository navigation
Closed
Labels
Description
Description
The branch, go, does not compile without running go mod tidy to fix dependencies.
Steps to reproduce
$ git clone https://github.com/google/gvisor
$ cd gvisor
$ git checkout go
$ go build ./...
go: gvisor.dev/gvisor/pkg/eventchannel/eventchannel_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
go: gvisor.dev/gvisor/pkg/metric/metric_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
go: gvisor.dev/gvisor/pkg/sentry/arch/registers_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
go: gvisor.dev/gvisor/pkg/sentry/kernel/memevent/memory_events_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
go: gvisor.dev/gvisor/pkg/sentry/kernel/uncaught_signal_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
go: gvisor.dev/gvisor/pkg/sentry/strace/strace_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
go: gvisor.dev/gvisor/pkg/sentry/unimpl/unimplemented_syscall_go_proto: package github.com/golang/protobuf/proto imported from implicitly required module; to add missing requirements, run:
go get github.com/golang/protobuf/[email protected]
Running go mod tidy fixes it.
Environment
Please include the following details of your environment:
runsc -versiondocker versionordocker info(if available)kubectl versionandkubectl get nodes(if using Kubernetes)uname -agit describe(if built from source)runscdebug logs (if available)gogo version go1.16.4 linux/amd64
Activity
uhthomas commentedon May 22, 2021
and for completeness, the diff is
Update dependencies so that the 'go' branch builds.
Update dependencies so that the 'go' branch builds.
Update dependencies so that the 'go' branch builds.