fix build error by running go mod tidy #387

Manually merged
decentral1se merged 1 commits from p4u1/abra:fix-build into main 2023-11-27 09:56:41 +00:00
Member

When running make build I got the following error:

abra $ make build
/home/p4u1/go/pkg/mod/github.com/docker/docker-credential-helpers@v0.6.4/client/command.go:8:2: missing go.sum entry for module providing package golang.org/x/sys/execabs (imported by 
coopcloud.tech/abra/pkg/upstream/commandconn); to add:
        go get coopcloud.tech/abra/pkg/upstream/commandconn
/home/p4u1/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/terminal_check_unix.go:6:8: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/siru
psen/logrus); to add:
        go get github.com/sirupsen/logrus@v1.9.3
pkg/formatter/formatter.go:12:2: missing go.sum entry for module providing package github.com/schollz/progressbar/v3 (imported by coopcloud.tech/abra/pkg/config); to add:
        go get coopcloud.tech/abra/pkg/config
/home/p4u1/go/pkg/mod/github.com/cloudflare/circl@v1.3.3/math/fp25519/fp_amd64.go:7:2: missing go.sum entry for module providing package golang.org/x/sys/cpu (imported by github.com/cl
oudflare/circl/dh/x25519); to add:
        go get github.com/cloudflare/circl/dh/x25519@v1.3.3
pkg/web/client.go:6:2: missing go.sum entry for module providing package github.com/hashicorp/go-retryablehttp (imported by coopcloud.tech/abra/pkg/web); to add:
        go get coopcloud.tech/abra/pkg/web
make: *** [Makefile:26: build-abra] Error 1

I fixed this by running go mod tidy

When running `make build` I got the following error: ``` abra $ make build /home/p4u1/go/pkg/mod/github.com/docker/docker-credential-helpers@v0.6.4/client/command.go:8:2: missing go.sum entry for module providing package golang.org/x/sys/execabs (imported by coopcloud.tech/abra/pkg/upstream/commandconn); to add: go get coopcloud.tech/abra/pkg/upstream/commandconn /home/p4u1/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/terminal_check_unix.go:6:8: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/siru psen/logrus); to add: go get github.com/sirupsen/logrus@v1.9.3 pkg/formatter/formatter.go:12:2: missing go.sum entry for module providing package github.com/schollz/progressbar/v3 (imported by coopcloud.tech/abra/pkg/config); to add: go get coopcloud.tech/abra/pkg/config /home/p4u1/go/pkg/mod/github.com/cloudflare/circl@v1.3.3/math/fp25519/fp_amd64.go:7:2: missing go.sum entry for module providing package golang.org/x/sys/cpu (imported by github.com/cl oudflare/circl/dh/x25519); to add: go get github.com/cloudflare/circl/dh/x25519@v1.3.3 pkg/web/client.go:6:2: missing go.sum entry for module providing package github.com/hashicorp/go-retryablehttp (imported by coopcloud.tech/abra/pkg/web); to add: go get coopcloud.tech/abra/pkg/web make: *** [Makefile:26: build-abra] Error 1 ``` I fixed this by running `go mod tidy`
p4u1 added 1 commit 2023-11-10 10:22:56 +00:00
continuous-integration/drone/pr Build is failing Details
4bc2b71b23
fix build error by running go mod tidy
decentral1se manually merged commit 92b073d5b6 into main 2023-11-27 09:56:41 +00:00
Owner

Thanks!

Thanks!
Sign in to join this conversation.
No description provided.