for instance when building the package golang-github-containerd-stargz-snapshotter we see:
src/github.com/containerd/containerd/cmd/ctr/commands/tasks/metrics.go:26:2: cannot find package "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats" in any of:
/usr/lib/go-1.19/src/github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats (from $GOPATH)
src/github.com/containerd/containerd/cmd/ctr/commands/tasks/metrics.go:27:2: cannot find package "github.com/containerd/cgroups/stats/v1" in any of:
/usr/lib/go-1.19/src/github.com/containerd/cgroups/stats/v1 (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/cgroups/stats/v1 (from $GOPATH)
src/github.com/containerd/containerd/cmd/ctr/commands/tasks/metrics.go:28:2: cannot find package "github.com/containerd/cgroups/v2/stats" in any of:
/usr/lib/go-1.19/src/github.com/containerd/cgroups/v2/stats (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/cgroups/v2/stats (from $GOPATH)
src/github.com/containerd/containerd/cio/io_unix.go:31:2: cannot find package "github.com/containerd/fifo" in any of:
/usr/lib/go-1.19/src/github.com/containerd/fifo (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/fifo (from $GOPATH)
src/github.com/containerd/containerd/namespaces/ttrpc.go:22:2: cannot find package "github.com/containerd/ttrpc" in any of:
/usr/lib/go-1.19/src/github.com/containerd/ttrpc (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/ttrpc (from $GOPATH)
src/github.com/containerd/containerd/api/services/events/v1/events.pb.go:9:2: cannot find package "github.com/containerd/typeurl" in any of:
/usr/lib/go-1.19/src/github.com/containerd/typeurl (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/typeurl (from $GOPATH)
src/github.com/containerd/containerd/events/exchange/exchange.go:32:2: cannot find package "github.com/docker/go-events" in any of:
/usr/lib/go-1.19/src/github.com/docker/go-events (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/docker/go-events (from $GOPATH)
src/github.com/containerd/containerd/api/services/introspection/v1/introspection.pb.go:10:2: cannot find package "github.com/gogo/googleapis/google/rpc" in any of:
/usr/lib/go-1.19/src/github.com/gogo/googleapis/google/rpc (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/gogo/googleapis/google/rpc (from $GOPATH)
src/github.com/containerd/containerd/api/services/containers/v1/containers.pb.go:9:2: cannot find package "github.com/gogo/protobuf/proto" in any of:
/usr/lib/go-1.19/src/github.com/gogo/protobuf/proto (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/gogo/protobuf/proto (from $GOPATH)
src/github.com/containerd/containerd/api/services/containers/v1/containers.pb.go:10:2: cannot find package "github.com/gogo/protobuf/sortkeys" in any of:
/usr/lib/go-1.19/src/github.com/gogo/protobuf/sortkeys (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/gogo/protobuf/sortkeys (from $GOPATH)
src/github.com/containerd/containerd/api/services/containers/v1/containers.pb.go:11:2: cannot find package "github.com/gogo/protobuf/types" in any of:
/usr/lib/go-1.19/src/github.com/gogo/protobuf/types (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/gogo/protobuf/types (from $GOPATH)
src/github.com/containerd/containerd/services/introspection/local.go:33:2: cannot find package "github.com/google/uuid" in any of:
/usr/lib/go-1.19/src/github.com/google/uuid (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/google/uuid (from $GOPATH)
src/github.com/containerd/containerd/remotes/docker/status.go:25:2: cannot find package "github.com/moby/locker" in any of:
/usr/lib/go-1.19/src/github.com/moby/locker (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/moby/locker (from $GOPATH)
src/github.com/containerd/containerd/oci/spec_opts.go:39:2: cannot find package "github.com/opencontainers/runc/libcontainer/user" in any of:
/usr/lib/go-1.19/src/github.com/opencontainers/runc/libcontainer/user (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/opencontainers/runc/libcontainer/user (from $GOPATH)
src/github.com/containerd/containerd/container.go:41:2: cannot find package "github.com/opencontainers/selinux/go-selinux/label" in any of:
/usr/lib/go-1.19/src/github.com/opencontainers/selinux/go-selinux/label (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/opencontainers/selinux/go-selinux/label (from $GOPATH)
src/github.com/containerd/containerd/client.go:67:2: cannot find package "google.golang.org/grpc/credentials/insecure" in any of:
/usr/lib/go-1.19/src/google.golang.org/grpc/credentials/insecure (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/google.golang.org/grpc/credentials/insecure (from $GOPATH)
src/github.com/containerd/containerd/runtime/opts/opts_linux.go:22:2: cannot find package "github.com/containerd/cgroups" in any of:
/usr/lib/go-1.19/src/github.com/containerd/cgroups (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/cgroups (from $GOPATH)
src/github.com/containerd/containerd/runtime/opts/opts_linux.go:23:2: cannot find package "github.com/containerd/cgroups/v2" in any of:
/usr/lib/go-1.19/src/github.com/containerd/cgroups/v2 (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/cgroups/v2 (from $GOPATH)
src/github.com/containerd/containerd/sys/reaper/reaper_unix.go:29:2: cannot find package "github.com/containerd/go-runc" in any of:
/usr/lib/go-1.19/src/github.com/containerd/go-runc (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containerd/go-runc (from $GOPATH)
src/github.com/containerd/containerd/pkg/netns/netns_linux.go:43:2: cannot find package "github.com/containernetworking/plugins/pkg/ns" in any of:
/usr/lib/go-1.19/src/github.com/containernetworking/plugins/pkg/ns (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/containernetworking/plugins/pkg/ns (from $GOPATH)
src/github.com/containerd/containerd/pkg/progress/humaans.go:23:2: cannot find package "github.com/docker/go-units" in any of:
/usr/lib/go-1.19/src/github.com/docker/go-units (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/docker/go-units (from $GOPATH)
src/github.com/containerd/containerd/pkg/runtimeoptions/v1/api.pb.go:8:2: cannot find package "github.com/gogo/protobuf/gogoproto" in any of:
/usr/lib/go-1.19/src/github.com/gogo/protobuf/gogoproto (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/gogo/protobuf/gogoproto (from $GOPATH)
src/github.com/containerd/stargz-snapshotter/fs/remote/resolver.go:49:2: cannot find package "github.com/hashicorp/go-retryablehttp" in any of:
/usr/lib/go-1.19/src/github.com/hashicorp/go-retryablehttp (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/github.com/hashicorp/go-retryablehttp (from $GOPATH)
src/github.com/containerd/containerd/metadata/boltutil/helpers.go:25:2: cannot find package "go.etcd.io/bbolt" in any of:
/usr/lib/go-1.19/src/go.etcd.io/bbolt (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/go.etcd.io/bbolt (from $GOPATH)
see https:/ /launchpadlibra rian.net/ 637564336/ buildlog_ ubuntu- lunar-amd64. golang- github- containerd- stargz- snapshotter_ 0.12.0- 1_BUILDING. txt.gz for the full buildlog